Skip to content

Commit 105610d

Browse files
committed
1 parent 14b5ac9 commit 105610d

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,6 @@ For `kubectl run` to satisfy infrastructure as code:
3131

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

34-
{{< note >}}
35-
All `kubectl run` generators are deprecated. See the Kubernetes v1.17 documentation for a [list](https://v1-17.docs.kubernetes.io/docs/reference/kubectl/conventions/#generators) of generators and how they were used.
36-
{{< /note >}}
37-
38-
#### Generators
39-
You can generate the following resources with a kubectl command, `kubectl create --dry-run=client -o yaml`:
40-
41-
* `clusterrole`: Create a ClusterRole.
42-
* `clusterrolebinding`: Create a ClusterRoleBinding for a particular ClusterRole.
43-
* `configmap`: Create a ConfigMap from a local file, directory or literal value.
44-
* `cronjob`: Create a CronJob with the specified name.
45-
* `deployment`: Create a Deployment with the specified name.
46-
* `job`: Create a Job with the specified name.
47-
* `namespace`: Create a Namespace with the specified name.
48-
* `poddisruptionbudget`: Create a PodDisruptionBudget with the specified name.
49-
* `priorityclass`: Create a PriorityClass with the specified name.
50-
* `quota`: Create a Quota with the specified name.
51-
* `role`: Create a Role with single rule.
52-
* `rolebinding`: Create a RoleBinding for a particular Role or ClusterRole.
53-
* `secret`: Create a Secret using specified subcommand.
54-
* `service`: Create a Service using specified subcommand.
55-
* `serviceaccount`: Create a ServiceAccount with the specified name.
56-
5734
### `kubectl apply`
5835

5936
* You can use `kubectl apply` to create or update resources. For more information about using kubectl apply to update resources, see [Kubectl Book](https://kubectl.docs.kubernetes.io).

0 commit comments

Comments
 (0)