Kubernetes namespace support
Related tasks
Context
Kubernetes simulation resources are currently being launched in the default namespace. This was previously fine because every environment had its own Kubernetes cluster. We now have multiple Cloudsim environments running in a single cluster, and we are using namespaces to partition resources between environments.
Change
A new environment variable SIMSVC_KUBERNETES_NAMESPACE
has been added to define the Kubernetes resource namespace.
All Kubernetes resources (nodes, pods, services, ingress) are now being created in the target namespace.
Other information
- Gitlab
SIMSVC_KUBERNETES_NAMESPACE
environment variables have been added for all environments. - Clusters have some resources running in the
default
namespace because of the previous Cloudsim setup. These resources will have to be moved into their respective namespace.
Additional documentation
Edited by Alejo Carballude