Skip to content

Instantly share code, notes, and snippets.

@Oats87
Created August 27, 2021 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Oats87/353b27d5a9d9230906d93bc9129be81e to your computer and use it in GitHub Desktop.
Save Oats87/353b27d5a9d9230906d93bc9129be81e to your computer and use it in GitHub Desktop.
crictl -r /var/run/k3s/containerd/containerd.sock exec -it $(crictl -r /var/run/k3s/containerd/containerd.sock ps | grep etcd | awk '{print $1}') /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment