Deploy storages class in kubernetes cluster
| bin | ||
| defaults | ||
| files | ||
| meta | ||
| tasks | ||
| templates | ||
| vars | ||
| .drone.status | ||
| .drone.yml | ||
| README.md | ||
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