Skip to content

Commit 2d50199

Browse files
[FLINK-38047] Switch kubectl create with kubectl apply
1 parent 51bb70b commit 2d50199

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/content.zh/docs/try-flink-kubernetes-operator/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ We also recommend [k9s](https://k9scli.io/) as GUI for kubernetes, but it is opt
6868

6969
Install the certificate manager on your Kubernetes cluster to enable adding the webhook component (only needed once per Kubernetes cluster):
7070
```bash
71-
kubectl create -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
71+
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
7272
```
7373

7474
{{< hint info >}}

docs/content/docs/operations/helm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ __Notice__: The pod resources should be set as your workload in different enviro
139139

140140
In order to use the webhooks in the operator, you must install the cert-manager on the Kubernetes cluster:
141141
```
142-
kubectl create -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
142+
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
143143
```
144144

145145
The webhooks can be disabled during helm install by passing the `--set webhook.create=false` parameter or editing the `values.yaml` directly.

docs/content/docs/try-flink-kubernetes-operator/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ We also recommend [k9s](https://k9scli.io/) as GUI for kubernetes, but it is opt
6868

6969
Install the certificate manager on your Kubernetes cluster to enable adding the webhook component (only needed once per Kubernetes cluster):
7070
```bash
71-
kubectl create -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
71+
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
7272
```
7373

7474
{{< hint info >}}

0 commit comments

Comments
 (0)