Skip to content

Instantly share code, notes, and snippets.

@pupapaik
Created September 3, 2020 10:55
Show Gist options
  • Save pupapaik/1cdc55b5306713cd2a8ca7928c6490bc to your computer and use it in GitHub Desktop.
Save pupapaik/1cdc55b5306713cd2a8ca7928c6490bc to your computer and use it in GitHub Desktop.
cat <<EOF | kubectl create -f -
apiVersion: openebs.io/v1alpha1
kind: MayastorPool
metadata:
name: pool-on-node-1
namespace: mayastor
spec:
disks:
- /dev/sdc
node: aks-agentpool-13651304-1
EOF
kubectl -n mayastor get MayastorPool
NAME NODE STATE AGE
pool-on-node-0 aks-agentpool-13651304-0 online 40h
pool-on-node-1 aks-agentpool-13651304-1 online 46h
pool-on-node-2 aks-agentpool-13651304-2 online 46h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment