Kubernetes: switching to namespaces instead of using prefixes
The goal is to use namespaces to separate all the dev deployments from each other. Right now there is a single nomad
namespace and all the pods/services are using a prefix to avoid any conflict.
Benefits:
- slightly more reasonable testing environment
- different deployments cannot affect each other
- simplified pod/service names
- possibility to use the same release name
- in the case of a single namespace the explosion of the Pod Information to Containers Through Environment Variables could be dangerous
Disadvantage:
- the explosion of namespaces (cleanup is slightly more tricky...)
Known issues:
-
Error: secret “nomad-keycloak-password” not found
: Right now the secret has been defined manually for a specific namespace