File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
docs/content/docs/operations Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,18 @@ backwards-compatible with the previous minor version of the operator.
5151
5252### 2. Upgrading the CRD
5353
54- The first step of the upgrade process is upgrading the CRDs for ` FlinkDeployment ` and ` FlinkSessionJob ` resources.
54+ The first step of the upgrade process is upgrading the CRDs for ` FlinkDeployment ` , ` FlinkSessionJob ` and ` FlinkStateSnapshot ` resources.
5555This step must be completed manually and is not part of the helm installation logic.
5656
5757``` sh
5858kubectl replace -f helm/flink-kubernetes-operator/crds/flinkdeployments.flink.apache.org-v1.yml
5959kubectl replace -f helm/flink-kubernetes-operator/crds/flinksessionjobs.flink.apache.org-v1.yml
60+ kubectl replace -f helm/flink-kubernetes-operator/crds/flinkstatesnapshots.flink.apache.org-v1.yml
6061```
6162
6263{{< hint danger >}}
6364Please note that we are using the ` replace ` command here which ensures that running deployments are unaffected.
65+ If the CRD does not exist yet, you will get an error and you should try ` kubectl apply ` instead.
6466{{< /hint >}}
6567
6668### 3. Upgrading the Helm deployment
You can’t perform that action at this time.
0 commit comments