Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Nodes after Upgrade v1.27.3+k0s to v1.27.4+k0s #516

Open
Johnathanr2233 opened this issue Jul 29, 2023 · 2 comments
Open

Duplicate Nodes after Upgrade v1.27.3+k0s to v1.27.4+k0s #516

Johnathanr2233 opened this issue Jul 29, 2023 · 2 comments

Comments

@Johnathanr2233
Copy link

Johnathanr2233 commented Jul 29, 2023

After upgrade there appears to be something similar to a duplicate instance of k8 running.
Simple command to view the nodes, shows the output below, followed by a refresh a few second later.
Upgrade was done by running the k0sctl apply --config k0sctl.yaml
kubectl get deployment -o wide - shows the deployments ready, and then a refresh of command shows 0/1 ready

The deployment is not changing state their seems to be a duplicate deployment runnning.

All servers are baremetal running UBUNTU

$ kubectl get node  -o wide
NAME            STATUS     ROLES    AGE   VERSION       INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
snow-node-200   Ready      <none>   16d   v1.27.4+k0s   192.168.10.200   <none>        Ubuntu 22.04.2 LTS   5.15.0-78-generic   containerd://1.7.2
snow-node-201   NotReady   <none>   16d   v1.27.4+k0s   192.168.10.201   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.7.2

$ kubectl get node  -o wide
NAME            STATUS                        ROLES    AGE   VERSION       INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
snow-node-200   NotReady,SchedulingDisabled   <none>   21h   v1.27.4+k0s   192.168.10.200   <none>        Ubuntu 22.04.2 LTS   5.15.0-78-generic   containerd://1.7.2


$ kubectl get node  -o wide
NAME            STATUS     ROLES    AGE   VERSION       INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
snow-node-200   Ready      <none>   16d   v1.27.4+k0s   192.168.10.200   <none>        Ubuntu 22.04.2 LTS   5.15.0-78-generic   containerd://1.7.2
snow-node-201   NotReady   <none>   16d   v1.27.4+k0s   192.168.10.201   <none>        Ubuntu 22.04.2 LTS   5.15.0-76-generic   containerd://1.7.2
@kke
Copy link
Contributor

kke commented Jul 31, 2023

Can you give the k0sctl.yaml?

@jnummelin
Copy link
Member

jnummelin commented Jul 31, 2023

duplicate deployment runnning

you mean like two separate API servers/clusters running?

Do you have a loadbalancer in front of the cluster?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants