Installation
To deploy the driver in Kuberentes simply run the following command from a node with kubectl in your cluster
kubectl apply -f https://raw.githubusercontent.com/Excelero/nvmesh-csi-driver/master/deploy/kubernetes/deployment.yaml
Configuration
- If you are using Kubernetes Dashboard make sure the selected namespace is `nvmesh-csi` in the side menu
1. 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
If you deployed NVMesh Management in a Container using Excelero/nvmesh-mgmt-docker use:
management.servers: "nvmesh-management-svc.nvmesh.svc.cluster.local:4000"
management.protocol: "http"
2. 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.
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.