Skip to content

Commit 0fbeaff

Browse files
authored
Merge pull request #54 from simplyblock-io/k8s-update
Added node labeling to Kubernetes deployments
2 parents e45d0ab + 1282385 commit 0fbeaff

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

snippets/kubernetes-install-storage-node-helm.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,26 @@ ad35b7bb-7703-4d38-884f-d8e56ffdafc6 # <- Pool Id
5252

5353
The last item necessary before deploying simplyblock is the control plane address. This is any of the API addresses of a
5454
management node. Meaning, if the primary management node has the IP of `192.168.10.1`, the control plane address is
55-
`http://192.168.0.1`. It is, however, recommended to front all management nodes, with a load balancing proxy, such as
55+
`http://192.168.0.1`. It is, however, recommended to front all management nodes with a load balancing proxy, such as
5656
HAproxy. In the latter case, the load balancer URL would be the address of the control plane.
5757

5858
Anyhow, deploying simplyblock using the provided helm chart comes down to providing the four necessary
5959
values, adding the helm chart repository, and installing the driver. In addition to the storage nodes, this will also
6060
install the Simplyblock CSI driver for seamless integration with the Kubernetes CSI persistent storage subsystem.
6161

62-
```bash
62+
To enable Kubernetes to decide where to install storage nodes, the helm chart uses a Kubernetes node label. This can be
63+
used to mark only specific nodes to act as storage nodes, or to use all nodes for the hyper-converged or hybrid setup.
64+
65+
```bash title="Label the Kubernetes Worker Node"
66+
kubectl label nodes <NODE_NAME> type=simplyblock-storage-plane
67+
```
68+
69+
!!! warning
70+
The label must be applied to all nodes meant to operate as part of the storage plane.
71+
72+
After labeling the nodes, the helm chart can be deployed.
73+
74+
```bash title="Install the helm chart"
6375
CLUSTER_UUID="<UUID>"
6476
CLUSTER_SECRET="<SECRET>"
6577
CNTR_ADDR="<CONTROL-PLANE-ADDR>"

0 commit comments

Comments
 (0)