Deploy storages class in kubernetes cluster
Find a file
2024-10-10 14:48:12 +02:00
bin Update code 2022-08-25 19:24:57 +02:00
defaults Update secrets-store-csi-driver to version 1.4.6 2024-10-10 14:48:12 +02:00
files Add prometheus rules for longhorn 2024-06-26 23:46:26 +02:00
meta Fix lint errors 2022-07-23 01:00:27 +02:00
tasks Add prometheus rules for longhorn 2024-06-26 23:46:26 +02:00
templates Update traefik object API 2024-09-24 00:14:20 +02:00
vars
.drone.status
.drone.yml
README.md Update code 2022-08-25 19:24:57 +02:00

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