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

[Release-1.25] - Etcd restore does not work as expected while extra-args is passed to controller-manager and kube-scheduler #4933

Closed
galal-hussein opened this issue Oct 19, 2023 · 1 comment
Assignees

Comments

@galal-hussein
Copy link
Contributor

Backport fix for Etcd restore does not work as expected while extra-args is passed to controller-manager and kube-scheduler

@ShylajaDevadiga
Copy link
Contributor

Validated on rke2 version v1.25.15-rc4+rke2r1 following the docs for backup-restore and using the config from the issue https://docs.rke2.io/backup_restore

Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:
Ubuntu 22.04

Cluster Config:
3 server nodes

Initial setup Nodes are are Ready state

$ kubectl get nodes 
NAME               STATUS   ROLES                       AGE     VERSION
ip-172-31-13-115   Ready    control-plane,etcd,master   5m38s   v1.25.15+rke2r1
ip-172-31-14-81    Ready    control-plane,etcd,master   2m16s   v1.25.15+rke2r1
ip-172-31-7-176    Ready    control-plane,etcd,master   2m7s    v1.25.15+rke2r1

Nodes are in NotReady after restoring on first nodes

$ kubectl get nodes
NAME               STATUS     ROLES                       AGE     VERSION
ip-172-31-13-115   Ready      control-plane,etcd,master   11m     v1.25.15+rke2r1
ip-172-31-14-81    NotReady   control-plane,etcd,master   7m49s   v1.25.15+rke2r1
ip-172-31-7-176    NotReady   control-plane,etcd,master   7m40s   v1.25.15+rke2r1

Nodes joined the cluster successfully within 2-3 min

$ kubectl get nodes
NAME               STATUS   ROLES                       AGE     VERSION
ip-172-31-13-115   Ready    control-plane,etcd,master   12m     v1.25.15+rke2r1
ip-172-31-14-81    Ready    control-plane,etcd,master   9m22s   v1.25.15+rke2r1
ip-172-31-7-176    Ready    control-plane,etcd,master   9m13s   v1.25.15+rke2r1

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

2 participants