ansible-role-k8s-storage/README.md
Adrien Reslinger 1a4944c994
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update code
2022-08-25 19:24:57 +02:00

619 B

Build Status

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

For some idea, you can open this page