Created
November 8, 2018 12:29
-
-
Save ams0/255cbb7e3eaf6e9129bd54b5ed8f532c 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
wget -qO- https://github.com/heketi/heketi/releases/download/v8.0.0/heketi-client-v8.0.0.linux.amd64.tar.gz| tar xvz ; chmod +x heketi-client/bin/heketi-cli ; sudo mv heketi-client/bin/heketi-cli /usr/local/bin | |
export HEKETI_CLI_SERVER="http://`oc get route -n glusterfs -o=jsonpath="{.items[*].status.ingress[*].host}"`" | |
export HEKETI_CLI_KEY=`oc get secret -n glusterfs heketi-storage-admin-secret -o template --template={{.data.key}}|base64 -d` | |
export HEKETI_CLI_USER=admin | |
heketi-cli cluster info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment