Changing APIServer endpoint #1945
jaskeerat789
started this conversation in
General
Replies: 3 comments
-
@jaskeerat789 unfortunately changing apiEndpoint is not supported |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there a workaround that may or may not involve kubeone? Also what is recommended in such scenarios? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Me and my team managed to achieve this with a simple ansible playbook. I think this can be made part of kubeone. I am listing all the steps we do in order to achieve this. On master node
On worker nodes
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have a k8s cluster bootstrapped with kubeone. I used a loadbalancer for the control plane node and passed the endpoint of this LB to the kubeone config (the endpoint is replaced with a random url below)
Now i decide to shift my lb to a new sub-domain and re run the
kubeone apply
command with updatedapiEndpoint
But the kubeone still tries to access the older endpoint and fails
Beta Was this translation helpful? Give feedback.
All reactions