You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node(s) CPU architecture, OS, and Version:
ubuntu
AMD
Cluster Configuration:
-1 node server
Steps to validate the fix
Install rke2 with a custom data-dir
Run kill all
Validate that image was removed from custom dir
Reproduction Issue:
v1.30.2+rke2r1
$ k get nodes
NAME STATUS ROLES AGE VERSION
ip-172-31-19-115 Ready control-plane,etcd,master 76s v1.30.2+rke2r1
~$ sudo RKE2_DATA_DIR=/var/fran/rke2 rke2-killall.sh
$ ls /var/fran/rke2/agent/
client-ca.crt client-kube-proxy.key client-kubelet.key client-rke2-controller.key etc kubelet.kubeconfig logs rke2controller.kubeconfig serving-kubelet.crt
client-kube-proxy.crt client-kubelet.crt client-rke2-controller.crt containerd images kubeproxy.kubeconfig pod-manifests server-ca.crt serving-kubelet.key
$ ls /var/fran/rke2/agent/pod-manifests/
cloud-controller-manager.yaml etcd.yaml kube-apiserver.yaml kube-controller-manager.yaml kube-proxy.yaml kube-scheduler.yaml
Validation Results:
~$ k get nodes
NAME STATUS ROLES AGE VERSION
ip- Ready control-plane,etcd,master 57s v1.30.3+rke2r1
~$ sudo RKE2_DATA_DIR=/var/fran/rke2 rke2-killall.sh
~$ ls /var/fran/rke2/agent/pod-manifests/
# empty
Backport fix for Add
data-dir
to uninstall and killall scriptsrke2-killall.sh
script does not work for user defineddata-dir
#6292The text was updated successfully, but these errors were encountered: