@@ -37,23 +37,22 @@ All `kubectl run` generators are deprecated. See the Kubernetes v1.17 documentat
37
37
38
38
#### Generators
39
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 pod disruption budget 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 service account with the specified name.
56
- ```
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.
57
56
58
57
### ` kubectl apply `
59
58
0 commit comments