Hi team, i was trying to upgrade from Flink K8s Op...
# troubleshooting
s
Hi team, i was trying to upgrade from Flink K8s Operator version 1.1.0 to 1.3.1 . I followed the Operator Upgrade doc . But I’m seeing the following error while upgrading the Helm chart -
Copy code
Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: ServiceAccount "flink" in namespace "flink-operator" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "<http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>": must be set to "Helm"; annotation validation error: missing key "<http://meta.helm.sh/release-name|meta.helm.sh/release-name>": must be set to "flink-operator"; annotation validation error: missing key "<http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>": must be set to "flink-operator"
Can you guys help check this ? or is this happening because the Operator Helm chart is not backward compatible ?
g
You can uninstall the old operator and reinstall it again with the new helm chart
running jobs will keep running, and the new operator will pick up the work
s
ok thanks !