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_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

YAOOK_OP_RUNNER_COUNT

all

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

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