Skip to content

Instantly share code, notes, and snippets.

@noushi noushi/heketi-cli.sh
Last active Dec 9, 2018

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.