Incompatibility between region name and kubernetes namespace rules
Bug #1842991 reported by
Tim McNamara
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Nam Nguyen |
Bug Description
The bootstrap process into a k8s cloud fails when that k8s cloud has been defined with a region name that includes capital letters. Kubernetes attempts to create a namespace that includes those capitals (via the controller name?) and then aborts with an error relating to DNS.
See original thread https:/
Changed in juju: | |
assignee: | nobody → Nam Nguyen (nammn) |
Changed in juju: | |
status: | Confirmed → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The default controller name is composed from <cloud>-<region>, if not specified.
For VM clouds it's just a label so it doesn't matter.
For k8s clouds, a namespace is created from the controller name to contain the controller artefacts. So the name matters.
A workaround is to explicitly name the controller when bootstrapping.