NSX Container Plugin Operator is responsible for managing the life cycle of NCP.

Upgrade of NCP is done by updating the NCP Operator and NCP image. Before performing the upgrade, check the release notes for product compatibility.

Conditions préalables

Download the latest nsx-container zip file (nsx-container-x.x.x.y.zip) from https://downloads.vmware.com.

The following tar files are needed for the upgrade:
  • nsx-container-x.x.x.y/Kubernetes/nsx-container-plugin-operator-x.x.x.y.tar
  • nsx-container-x.x.x.y/Kubernetes/nsx-ncp-ubi-x.x.x.y.tar

The two images must be uploaded to your container registry.

Procédure

  1. Edit operator.yaml.
    Modify the nsx-ncp-container image:
    containers:
      - name: nsx-ncp-operator
        image: <URL to the NCP operator in your container registry>
    Modify the NCP_IMAGE URL:
      - name: nsx-ncp-operator
        image: <URL to the NCP operator in your container registry>
  2. Update configmap.yaml with any new required fields for this release. The information about any new required attributes is available in the release notes.
  3. Apply role.yaml with the following command.
    oc apply -f role.yaml -n nsx-system-operator
  4. Apply operator.yaml (and confimap.yaml if changed) in the nsx-system-operator namespace with the following command.
    oc apply -f operator.yaml -n nsx-system-operator

    There is no need to edit the running config.