Upgrading Network Enablers
When upgrading Topology Operator-based installations, if upgrading from certain 528x releases, an extra step may be required to upgrade Network Enablers successfully.
During upgrade from version 5281 and 5282 releases, you might receive the following error:
Error: UPGRADE FAILED: cannot patch "network-enabler-matrixx-0" with kind StatefulSet: StatefulSet.apps "network-enabler-matrixx-0" is invalid: spec:
Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy',
'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden && cannot patch "network-enabler-matrixx-1" with kind StatefulSet:
StatefulSet.apps "network-enabler-matrixx-1" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals',
'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
To work around these issues, before running the helm upgrade
command, delete the StatefulSet for each Network Enabler with the following command:
kubectl delete sts network-enabler-release_name-i
For example:
kubectl delete sts network-enabler-matrixx-0
kubectl delete sts network-enabler-matrixx-1