Skip to content

Instantly share code, notes, and snippets.

@pupapaik
Created February 10, 2019 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pupapaik/01162202d9cffd97586ad25baf5f9dd7 to your computer and use it in GitHub Desktop.
Save pupapaik/01162202d9cffd97586ad25baf5f9dd7 to your computer and use it in GitHub Desktop.
root@aks-agentpool-20273348-0:~# export HEKETI_CLI_SERVER=http://10.0.1.69:8080
root@aks-agentpool-20273348-0:~# heketi-cli volume create --size=10 --persistent-volume --persistent-volume-endpoint=heketi-storage-endpoints | kubectl create -f -
persistentvolume/glusterfs-efb3b155 created
root@aks-agentpool-20273348-0:~# kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
glusterfs-efb3b155 10Gi RWX Retain Available 19s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment