Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Created January 16, 2026 16:17
Show Gist options
  • Select an option

  • Save ebuildy/e13a8296fd9e2da7a116720f70456830 to your computer and use it in GitHub Desktop.

Select an option

Save ebuildy/e13a8296fd9e2da7a116720f70456830 to your computer and use it in GitHub Desktop.
Remove a pod, the hard way
kubectl exec -it -n kube-system etcd-master-1 -- etcdctl \
--endpoints=https://127.0.0.1:2379 \
--cacert=/var/lib/rancher/rke2/server/tls/etcd/server-ca.crt \
--cert=/var/lib/rancher/rke2/server/tls/etcd/server-client.crt \
--key=/var/lib/rancher/rke2/server/tls/etcd/server-client.key \
del /registry/pods/envoy-gateway-system/envoy-gateway-system-envoy-gateway-helm-certgen-z48j8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment