kubernetes master cannot cluster with itself across CMR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
New
|
Undecided
|
Unassigned |
Bug Description
juju 2.9.18
k8s 1.22
openstack ussuri
ubuntu focal
In the event of attempting to stretch the kubernetes control plane across multiple openstack regions, kubernetes master cannot relate to itself neither via the coordinator nor kube-masters endpoints.
Steps to recreate:
```
On RegionOne
$ juju add-model r1
### deploy k8s master and offer relevant endpoints for CMR
$ juju deploy cs:~containers/
$ juju offer kubernetes-
$ juju offer kubernetes-
$ juju add-model r2
### deploy k8s master and attempt to consume offers from r1
$ juju deploy cs:~containers/
### attempt k8s master offers
$ juju add-relation kubernetes-
ERROR no relations found
$ juju add-relation kubernetes-
ERROR no relations found
```
Easyrsa can be offered/consume just fine with the same scenario.
This inhibits the ability to span the control plane across openstack regions/cloud for maximum high-availability