Operator

The Yaook Operators are the core part of Yaook and manage all Resources inside Kubernetes

Environment Variables

The Operators can be configured by multiple environment variables:

Environment Variable Name

Operator

Description

YAOOK_OP_NAMESPACE

all

The Kubernetes Namespace the Operator watches for custom resources

YAOOK_OP_VERBOSITY

all

The Log-Level of the Operator. Can be set to 0 (ERROR), 1 (WARNING), 2 (INFO), 3 (DEBUG)

YAOOK_OP_DOCKER_CONFIG

all

(optional) The Path to a Docker config file containg the credentials for an authenticated Docker registry. Only required when automatically updating (or during development) and using some registry besides the official Gitlab.

YAOOK_OP_DOCKER_REGISTRY_BASE_PATH

all

Allows overriding the base image path for the Yaook images. If not set registry.gitlab.com/yaook/images is used as default value.

YAOOK_OP_DOCKER_REGISTRY_OVERRIDE

all

Allows overriding the host names of container image registries there the container images are pulled from. Must be set to a valid yaml dictionary. The key must be the registry to be overwritten. The special key DEFAULT_REGISTRY overrides the default registry which matches all image paths which are not prefixed with a certain registry. The value must be the new registry host name. For example to replace the registry for all images pulled from the default registry, e.g. the Bitnami images, and images from registry.gitlab.com YAOOK_OP_DOCKER_REGISTRY_OVERRIDE must be set to: {‘DEFAULT_REGISTRY’ : ‘my-registry.domain.tld’, ‘registry.gitlab.com’ : ‘my-registry.domain.tld’} Note that if used in conjunction with YAOOK_OP_VERSIONS_OVERRIDE the registry name is overwritten first. Can cause problems if used together with YAOOK_OP_DOCKER_REGISTRY_BASE_PATH if the Yaook image registry has been overwritten.

YAOOK_OP_CLUSTER_DOMAIN

all

The cluster domain of the Kubernetes cluster the Operator is connecting to. If the Operator is running inside the cluster this is automatically discovered and does not need to be set.

YAOOK_OP_VERSIONS_USE_ALPHA

all

If True allow the Operator to use Docker images that are flagged as alpha

YAOOK_OP_VERSIONS_USE_ROLLING

all

If True allow the Operator to use Docker images that are flagged as rolling

YAOOK_OP_VERSIONS_OVERRIDE

all

Allows overriding the url of a external dependency (e.g. a Docker image). Must be set to a valid yaml dictionary. The key must be the full original url as in pinned_version.yml while the value must be the full URL (including version) of the dependency to use. Note that if used in conjunction with YAOOK_OP_DOCKER_REGISTRY_OVERRIDE the registry name will be overwritten first so the key for the version overwrite must match the new registry name to apply.

YAOOK_OP_RUNNER_COUNT

all

The amount of task queue runners that reconcile the different custom resources (default: 3)

YAOOK_OP_TRACING_ENABLED

all

Enables the support for sending traces to jaeger via opentelemetry.

YAOOK_OP_JEAGER_HOSTNAME

all

Defines the Hostname of the Jaeger Endpoint, defaults to localhost.

YAOOK_OP_JEAGER_PORT

all

Defines the Port of the Jaeger Endpoint, defaults to 6831.

YAOOK_KEYSTONE_OP_AUTH_URL

keystone

The URL the Keystone Operator should use to connect to Keystone

YAOOK_KEYSTONE_OP_INTERFACE

keystone

The OpenStack interface the Keystone Operator should use to connect to Keystone

YAOOK_NEUTRON_DHCP_AGENT_OP_INTERFACE

neutron_dhcp

The OpenStack interface the neutron_dhcp Operator should use to connect to Keystone

YAOOK_NEUTRON_DHCP_AGENT_OP_JOB_IMAGE

neutron_dhcp

A reference to the Docker image that should be used to evacuate dhcp agents

YAOOK_NEUTRON_L2_AGENT_OP_INTERFACE

neutron_l2

The OpenStack interface the neutron_l2 Operator should use to connect to Keystone

YAOOK_NEUTRON_L3_AGENT_OP_INTERFACE

neutron_l3

The OpenStack interface the neutron_l3 Operator should use to connect to Keystone

YAOOK_NEUTRON_L3_AGENT_OP_JOB_IMAGE

neutron_l3

A reference to the Docker image that should be used to evacuate l3 agents

YAOOK_NEUTRON_BGP_DRAGENT_OP_INTERFACE

neutron_bgp

The OpenStack interface the neutron_bgp Operator should use to connect to Keystone

YAOOK_NEUTRON_BGP_DRAGENT_OP_JOB_IMAGE

neutron_bgp

A reference to the Docker image that should be used to evacuate bgp agents

YAOOK_NOVA_COMPUTE_OP_INTERFACE

nova_compute

The OpenStack interface the nova_compute Operator should use to connect to Keystone

YAOOK_NOVA_COMPUTE_OP_JOB_IMAGE

nova_compute

A reference to the Docker image that should be used to evacuate compute nodes

YAOOK_INFRA_OP_AMQP_INTER_NODE_TLS_VERIFICATION

infra

Allows for disabling RabbitMQ inter node TLS verification, set to True by default