Upgrading Antrea from 1.13 to 1.15 or Openshift Antrea 1.8 to 1.9 has a different image path that needs to be followed and adjusted. This will help guide you through those changes to successfully upgrade your cluster.
Antrea 1.13
Openshift Antrea 1.8
oc apply -f role.yaml
.oc -n antrea-operator edit deploy antrea-operator
. Make sure that the antrea-operator pod is running.Example of old antrea-operator pod terminating and the new one running.
Next you will upgrade Antrea
oc apply -f operator.antrea.vmware.com_antreainstalls_crd.yaml
OUTPUT:customresourcedefinition.apiextensions.k8s.io/antreainstalls.operator.antrea.vmware.com configured
Once the yaml has been edited, you may start the upgrade.
oc apply -f operator.antrea.vmware.com_v1_antreainstall_cr.yaml
OUTPUT:
antreainstall.operator.antrea.vmware.com/antrea-install configured
Apply Changes and Check the status.
Make sure that antrea-controller and antrea-agent are running.
Check the version with the following commands.
oc get aai -o wide
NAME HEALTHY LAST HEARTBEAT VERSION NODE NUM PODS SUBNETS
openshift-antrea-lan-7rnt2-master-0 True 20s v1.15.0-1e409a5 openshift-antrea-lan-7rnt2-master-0 29 ["10.0.0.0/24"]
openshift-antrea-lan-7rnt2-master-1 True 19s v1.15.0-1e409a5 openshift-antrea-lan-7rnt2-master-1 46 ["10.0.1.0/24"]
openshift-antrea-lan-7rnt2-worker-0-snxz8 True 19s v1.15.0-1e409a5 openshift-antrea-lan-7rnt2-worker-0-snxz8 13 ["10.0.2.0/24"]
openshift-antrea-lan-7rnt2-worker-0-swzps True 19s v1.15.0-1e409a5 openshift-antrea-lan-7rnt2-worker-0-swzps 13 ["10.0.3.0/24"]
oc get aci -o wide
NAME HEALTHY LAST HEARTBEAT VERSION CONNECTED AGENTS NODE NUM NETWORK POLICIES
antrea-controller True 27s v1.15.0-1e409a5 4 openshift-antrea-lan-7rnt2-worker-0-snxz8