Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ kubectl exec -it $(kubectl get pods --selector app=csi-hostpathplugin \
-o jsonpath='{.items[*].metadata.name}') -c hostpath /bin/sh
/ # find /tmp -name my-test
/tmp/057485ab-c714-11e8-bb16-000c2967769a/my-test
/ # exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.