Before installing the vSphere Container Storage Plug-in in your generic Kubernetes environment, make sure that you taint the control plane node with the node-role.kubernetes.io/control-plane=:NoSchedule parameter.

Procedure

  1. To taint the control plane node, run the following command:
    kubectl taint nodes <k8s-primary-name> node-role.kubernetes.io/control-plane=:NoSchedule
  2. Verify that you have tainted the control plane node.
    $ kubectl describe nodes | egrep "Taints:|Name:"
    Name:               <k8s-primary-name>
    Taints:             node-role.kubernetes.io/control-plane:NoSchedule
    Name:               <k8s-worker1-name>
    Taints:             <none>
    Name:               <k8s-worker2-name>
    Taints:             <none>
    Name:               <k8s-worker3-name>
    Taints:             <none>
    Name:               <k8s-worker4-name>
    Taints:             <none>