Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.14 KB

File metadata and controls

32 lines (20 loc) · 1.14 KB

Label Nodes For Storage Classes

Each node serving persistent storage should have akash.network/storageclasses label set.

NOTE - currently the Helm Charts for persistent storage support only a single storageclass per cluster. All nodes in the cluster should be marked as beta2 - as an example - and cannot have a mix of beta2 and beta3 nodes.

  • Ensure that this command is issued - one at a time - for all nodes serving persistent storage
  • Replace the storageclasses value with the proper storage class and as clarified in the example command

List Kubernetes Node Names

  • Use this command to capture the node names for the subsequent step
kubectl get nodes

Apply Node Labels

NOTE - ensure ALL nodes in the Kubernetes cluster receive this label

kubectl label node <node-name> akash.network/storageclasses=<beta1|beta2|beta3> --overwrite

Example Label Command

  • In our example with a single node serving persistent storage with the storage class of beta2, the following label syntax would be applied.

    kubectl label node node2 akash.network/storageclasses=beta2 --overwrite