Comment 3 for bug 2042393

Revision history for this message
Yoshi Kadokawa (yoshikadokawa) wrote (last edit ):

I believe it worked with the relations that we used to have before

- ['kubernetes-control-plane:loadbalancer-external', 'kubeapi-load-balancer:lb-consumers']
- ['kubernetes-control-plane:loadbalancer-internal', 'kubeapi-load-balancer:lb-consumers']

According to https://github.com/charmed-kubernetes/bundle, I believe 1.21 is the last bundle that used the previous relations.

https://github.com/charmed-kubernetes/bundle/blob/main/releases/1.21/bundle.yaml

So basically, replacing the above 2 relations to the following 3 relations will allow to deploy kubeapi-load-balancer kubernetes-control-plane on the same host.

- ['kubeapi-load-balancer:apiserver', 'kubernetes-control-plane:kube-api-endpoint']
- ['kubeapi-load-balancer:loadbalancer', 'kubernetes-control-plane:loadbalancer']
- ['kubeapi-load-balancer:website', 'kubernetes-worker:kube-api-endpoint']

But I believe the `kube-api-endpoint` relations is kind of deprecated and as far as I see from the ops branch in kuberenetes-control-plane, this relation is been removed.