Edit CSI Driver Config Map
To edit the config map use the command:
kubectl edit configmap -n nvmesh-csi nvmesh-csi-config
field name | type | description |
---|---|---|
management.servers |
string | set to your MANAGEMENT_SERVERS configuration: server-1.domain.com:4000 or s-1.domain.com:4000,s-2.domain.com:4000 |
management.protocol |
"http" or "https" |
The protocol used by the management server |
attachIOEnabledTimeout |
quoted int e.g "30" |
The timeout in seconds for an attach to finish |
usePreempt |
"true" or "false" |
if "true" the driver will always use the preempt flag for attach |
detachTimeout |
quoted int e.g "90" |
The timeout in seconds for a detach to finish |
forceDetach |
"true" or "false" |
if "true" the driver will always use the force flag for detach |
logLevel |
string | The log level of the CSI Driver. options: "DEBUG" , "INFO" , "WARNING" , "ERROR" |
sdkLogLevel |
string | The log level of the NVMesh SDK. options: "DEBUG" , "INFO" , "WARNING" , "ERROR" |
kubeClientLogLevel |
string | The log level of the k8s client. options: "DEBUG" , "INFO" , "WARNING" , "ERROR" |
printStackTraces |
"true" or "false" |
if "true" will print stack traces on errors |
csiConfigMapName |
string | The name of this configmap |
topology |
string | The topology configuration. see more details in Multiple NVMesh Clusters |
topologyConfigMapName |
string | The name of the topology configmap see more details in Multiple NVMesh Clusters |
Edit Management Server Username and Password
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.