Last active
December 9, 2018 12:03
-
-
Save noushi/198c5fe9c7b1ac20ba09dadb33ffb1ed to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
# https://bit.ly/2L80Ojm | |
POD=$( oc get pod -n glusterfs | grep heketi | cut -f1 -d' ' ) | |
eval $(oc rsh $POD set | grep -i heketi ) | |
oc rsh $POD heketi-cli --server $SERVER --user admin --secret $HEKETI_ADMIN_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment