Changing the Default Port of the livenessprobe Container

Symptom

The livenessprobe container of the huawei-csi-controller component keeps restarting.

Root Cause Analysis

The default port (9808) of the livenessprobe container of huawei-csi-controller conflicts with the existing vSphere CSI port of Tanzu.

Solution or Workaround

Change the default port of the livenessprobe container to an idle port.

  1. Go to the helm/esdk directory and run the vi values.yaml command to open the configuration file.

    vi values.yaml
    
  2. Change the default value 9808 of controller.livenessProbePort to an idle port, for example, 9809.

    controller:
      livenessProbePort: 9809
    
  3. Update Huawei CSI using Helm. For details, see Upgrading Huawei CSI.