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

The Path to a Docker config file containg the credentials for an authenticated Docker registry. Used when automatically updating (or during development)

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