To achieve a zero‑downtime VPC OVN upgrade, upgrade the services in this order: vpc-ovn-node ovn-controller, ovn-central, then vpc-ovn-controller.
Assuming the deployment of all the DPF VPC OVN components are done based on the following guide. VPC OVN Deployment
0. Required variables
Use $TAG as your desired version.
## The TAG is the desired version of the DPF VPC OVN components which will be upgraded.
export TAG=v26.4.0
1. Upgrade vpc-ovn-node service
Patch the DPUServiceTemplate of the vpc-ovn-node service with the upgraded chart version.
kubectl patch dpuservicetemplate vpc-ovn-node -n dpf-operator-system --type=json --patch="[{\"op\": \"replace\", \"path\": \"/spec/helmChart/source/version\", \"value\": \"$TAG\"}]"
Ensure the DPUDeployment is Ready.
kubectl wait --for=condition=ready --namespace dpf-operator-system dpudeployment vpc-ovn
2. Upgrade ovn-controller service
Patch the DPUServiceTemplate of the ovn-controller service with the upgraded chart version.
kubectl patch dpuservicetemplate ovn-controller -n dpf-operator-system --type=json --patch="[{\"op\": \"replace\", \"path\": \"/spec/helmChart/source/version\", \"value\": \"$TAG\"}]"
Ensure the DPUDeployment is Ready.
kubectl wait --for=condition=ready --namespace dpf-operator-system dpudeployment vpc-ovn
3. Upgrade ovn-central service
helm upgrade --install -n dpf-operator-system ovn-central ovn-vpc-repository/ovn-chart \
--version=$TAG --wait -f manifests/04.1-vpc-ovn-target-cluster/helm-values/ovn-central.yaml
4. Upgrade vpc-ovn-controller service
helm upgrade --install -n dpf-operator-system vpc-ovn-controller ovn-vpc-repository/dpf-vpc-ovn \
--version=$TAG --wait -f manifests/04.1-vpc-ovn-target-cluster/helm-values/vpc-ovn-controller.yaml
Last updated: