Skip to content

Instantly share code, notes, and snippets.

@dcasati
Created January 17, 2021 18:20
Show Gist options
  • Save dcasati/106269802688f4ac76f0326e27222adf to your computer and use it in GitHub Desktop.
Save dcasati/106269802688f4ac76f0326e27222adf to your computer and use it in GitHub Desktop.
executing cilium on a remote pod
# add this to your bashrc
cilium()(kubectl exec -it $(kubectl get pod -l k8s-app=cilium| head -n 2|tail -n 1 | awk '{print $1}') -- cilium $@)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment