forklift-controller

module
v0.0.0-...-e73b65a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: Apache-2.0

README

CI Code Coverage

forklift-controller

Konveyor Forklift controller.


Logging

Logging can be configured using environment variables:

  • LOG_DEVELOPMENT: Development mode with human readable logs and (default) verbosity=4.
  • LOG_LEVEL: Set the verbosity.

Verbosity:

  • Info(0) used for Info logging.
    • Reconcile begin,end,error.
    • Condition added,update,deleted.
    • Plan postponed.
    • Migration (k8s) resources created,deleted.
    • Migration started,stopped,run (with phase),canceled,succeeded,failed.
    • Snapshot created,updated,deleted,changed.
    • Inventory watch ensured.
    • Policy agent disabled.
  • Info(1) used for Info+ logging.
    • Connection testing.
    • Plan postpone detials.
    • Pending migration details.
    • Migration (k8s) resources found,updated.
    • Scheduler details.
  • Info(2) used for Info++ logging.
    • Full conditions list.
    • Migrating VM status (full definition).
    • Provider inventory data reconciler started,stopped.
  • Info(3) used for Info+++ logging.
    • Inventory watch: resources changed;queued reconcile events.
    • Data reconciler: models created,updated,deleted.
    • VM validation succeeded.
  • Info(4) used for Debug logging.
    • Policy agent HTTP request.

Profiler

The profiler can be enabled using the following environment variables:

  • PROFILE_KIND: Kind of profile (memory|cpu|mutex).
  • PROFILE_PATH: Profiler output directory.
  • PROFILE_DURATION: The duration (minutes) the profiler will collect data. (0=indefinately)

Directories

Path Synopsis
cmd
pkg
apis
Package apis contains Kubernetes API groups.
Package apis contains Kubernetes API groups.
apis/forklift
Package migration contains migration API versions
Package migration contains migration API versions
apis/forklift/v1beta1
Package v1alpha1 contains API Schema definitions for the migration v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/konveyor/forklift-controller/pkg/apis +k8s:defaulter-gen=TypeMeta +groupName=forklift.konveyor.io
Package v1alpha1 contains API Schema definitions for the migration v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/konveyor/forklift-controller/pkg/apis +k8s:defaulter-gen=TypeMeta +groupName=forklift.konveyor.io
controller/migration
The Migration CR represents an execution of the Plan.
The Migration CR represents an execution of the Plan.
controller/plan
The Plan CR represents a planned migration of VMs.
The Plan CR represents a planned migration of VMs.
controller/provider/container/ovirt
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:
controller/provider/container/vsphere
The approach for providing VM policy-based integration has the following design constraints:
The approach for providing VM policy-based integration has the following design constraints:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL