You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/reference/kubectl/conventions.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,10 @@ For `kubectl run` to satisfy infrastructure as code:
32
32
33
33
You can use the `--dry-run` flag to preview the object that would be sent to your cluster, without really submitting it.
34
34
35
+
{{< note >}}
36
+
Generators other than `pod` in `kubectl run` were deprecated until [kubernetes v1.17](https://v1-17.docs.kubernetes.io/docs/reference/kubectl/conventions/). Now there are not supported.
37
+
{{< /note >}}
38
+
35
39
#### Generators
36
40
You can generate the following resources with a kubectl command, `kubectl create --dry-run -o yaml`:
0 commit comments