Skip to content

fix namespaces and add Multi-OpenStack feature

Luca Czesla requested to merge fix/namespaces into devel

The Namespacing of operators is fixed. Operators now only operate on deployments, that are running in the same namespace as they do.

Additionally a development feature is added to run multiple operators in parallel in different namespaces to support multiple OpenStack cluster in k8s-cluster.

A env-variable (YAOOK_OP_MULTIPLE_NAMESPACES) is added for an opt-in. If enabled compute and gateway nodes need an additional label: namespace.yaook.cloud=<SECOND-NAMESPACE> (<SECOND_NAMESPACE> is the namespace of the second OpenStack cluster).

Those nodes will not be touched by operators that are not running in that namespace.

Edited by Tobias Fischer

Merge request reports