Created
June 29, 2020 08:47
-
-
Save velotiotech/2f9cbfaad0c9ebd5b01523e7825c65cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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