Skip to content

Commit 4a6026d

Browse files
committed
[hotfix][docs] Add FlinkStateSnapshot to upgrade docs
1 parent d72e3ce commit 4a6026d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/content/docs/operations/upgrade.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
5555
This step must be completed manually and is not part of the helm installation logic.
5656

5757
```sh
5858
kubectl replace -f helm/flink-kubernetes-operator/crds/flinkdeployments.flink.apache.org-v1.yml
5959
kubectl 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 >}}
6364
Please 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

0 commit comments

Comments
 (0)