Skip to content

Commit 67abb1b

Browse files
committed
add info about old support for generators
1 parent 560c500 commit 67abb1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/reference/kubectl/conventions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ For `kubectl run` to satisfy infrastructure as code:
3232

3333
You can use the `--dry-run` flag to preview the object that would be sent to your cluster, without really submitting it.
3434

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+
3539
#### Generators
3640
You can generate the following resources with a kubectl command, `kubectl create --dry-run -o yaml`:
3741
```

0 commit comments

Comments
 (0)