This commit is contained in:
parent
d5e57c2fac
commit
53b703819c
1 changed files with 3 additions and 0 deletions
|
|
@ -3,3 +3,6 @@
|
|||
# ansible-role-k8s-storage
|
||||
|
||||
Deploy storage class to kubernetes cluster
|
||||
|
||||
|
||||
for KUBENODE in node1 node2 node3; do kubectl --context my_context label node ${KUBENODE} node.longhorn.io/create-default-disk=config; kubectl --context my_context annotate node ${KUBENODE} node.longhorn.io/default-disks-config='[{"path":"/var/lib/longhorn","allowScheduling":true}]'; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue