Skip to content
Discussion options

You must be logged in to vote

Tried deleting the secret from etcd as well - no dice

rm -f /var/lib/rancher/k3s/server/tls/dynamic-cert.json

ETCDCTL_ENDPOINTS='https://127.0.0.1:2379' ETCDCTL_CACERT='/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt' ETCDCTL_CERT='/var/lib/rancher/k3s/server/tls/etcd/server-client.crt' ETCDCTL_KEY='/var/lib/rancher/k3s/server/tls/etcd/server-client.key' ETCDCTL_API=3 etcdctl  del -- "/registry/secrets/kube-system/k3s-serving"

systemctl restart k3s

I do have S3 etcd backups I could attempt to recreate the cluster and restore the snapshot, but I didn't have any luck last time attempted.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@cheddarwhizzy
Comment options

@cheddarwhizzy
Comment options

Answer selected by cheddarwhizzy
@cheddarwhizzy
Comment options

@brandond
Comment options

brandond May 4, 2023
Collaborator

Comment options

You must be logged in to vote
2 replies
@brandond
Comment options

@Chewie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants