Home > Back-end >  Kubernetes CustomResourceDefinition upgrade failed - "flinkdeployments.flink.apache.org"
Kubernetes CustomResourceDefinition upgrade failed - "flinkdeployments.flink.apache.org"

Time:06-12

I am trying to do an upgrade to a CRD in Kubernetes for Apache Flink.

Below are the Events in the HelmRelease. I am trying to upgrade the flink-operator from v0.1.0 to v1.0.0. I am also using FluxCD which has been configured to create and/or replace CRDs. Flux is attempting to do this correctly but the Kubernetes API seems to be rejecting the new CRD from the flink operator if I am understanding this correctly.

enter image description here

Any further guidance would be appreciated. Thank you

CodePudding user response:

You are correct, unfortunately we simply do not support this graceful upgrade path between 0.1.0 and 1.0.0.

The process is documented here: https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/operations/upgrade/#upgrading-from-v1alpha1---v1beta1

We explicitly marked the 0.1.0 version beta, sorry for any inconvenience that this causes. We aim to support the upgrade path you are suggesting going forward, and happy to hear your feedback.

  • Related