Installation
Using helm
Download the helm chart:
wget https://github.com/Excelero/nvmesh-csi-driver/releases/download/v1.1.7/helm-chart.nvmesh-csi-driver-1.1.7.tgz
Install and set the nvmesh-management server and protocol:
kubectl create namespace nvmesh-csi
helm install nvmesh-csi-driver --namespace nvmesh-csi-driver ./helm-chart.nvmesh-csi-driver-1.1.7.tgz --set config.servers=<your.mgmt.server>:4000 --set config.protocol=https
Using kubectl (without helm)
kubectl create namespace nvmesh-csi
kubectl apply -f https://raw.githubusercontent.com/Excelero/nvmesh-csi-driver/v1.1.7/deploy/kubernetes/deployment.yaml
Configuration
- If you are using the Kubernetes Dashboard, make sure the selected namespace is `nvmesh-csi` in the side menu.
Edit Management Server Address
Using the Kubernetes dashboard, go to Config Maps
> nvmesh-config
.
OR from the terminal run: kubectl edit configmap -n nvmesh-csi nvmesh-csi-config
.
Edit management.servers
to your MANAGEMENT_SERVERS
configuration: management.servers: server-1.domain.com
.
For multiple management servers: management.servers: server-1.domain.com,server-2.domain.com,server-2.domain.com
.
If you deployed NVMesh Management in a Container using Excelero/nvmesh-mgmt-docker, then use:
management.servers: "nvmesh-management-svc.nvmesh.svc.cluster.local:4000"
management.protocol: "http"
Edit Management Server Username and Password
Using the Kubernetes dashboard, go to Secrets
> nvmesh-credentials
.
OR from the terminal run: kubectl edit secret -n nvmesh-csi nvmesh-credentials
.
Edit username
and password
to your management server credentials configuration.
p(banner tip). Secrets in Kubernetes must be in base64 format
For example, use:
echo -n 'admin@excelero.com' | base64
and
echo -n 'admin' | base64
to get the username and password in base64.
For more info visit: Kubernetes Docs – Convert your secret data to a base-64 representation.
Post your comment on this topic.