From bb196921c90762354c5bd7d6fe1c137820af7197 Mon Sep 17 00:00:00 2001 From: Sunsu Date: Sun, 25 Aug 2024 07:41:46 +0530 Subject: [PATCH] Updated Document about Worker node labeling for CSI --- container-storage-interface.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/container-storage-interface.md b/container-storage-interface.md index b3a76ba5d2..52a2b3e44d 100644 --- a/container-storage-interface.md +++ b/container-storage-interface.md @@ -8,6 +8,17 @@ storage volumes][1] to Kubernetes Pods via the [CSI][2] plugin interface. We publish two binaries oci-csi-controller-driver which runs on the master nodes, and oci-csi-node-controller which runs on each of the worker nodes. +### Preparing Your Cluster +For CSI to indentify the cluster worker nodes add below two labels to each of the worker nodes in your cluster + +`failure-domain.beta.kubernetes.io/zone=`(Please change the Availability domain as per your setup but follow the pattern eg `AP-MUMBAI-1-AD-1`) +`oci.oraclecloud.com/compartment-id= ` +you can run the command as: + +```bash +kubectl label nodes failure-domain.beta.kubernetes.io/zone= +``` + ### Submit configuration as a Kubernetes secret Create a config.yaml file with contents similar to the following. This file will contain authentication