File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
content/en/docs/reference/kubectl Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,25 @@ For `kubectl run` to satisfy infrastructure as code:
33
33
* Switch to configuration files checked into source control for features that are needed, but not expressible via ` kubectl run ` flags.
34
34
35
35
#### Generators
36
+ You can generate the following resources with a kubectl command, ` kubectl create --dry-run -o yaml ` :
37
+ ```
38
+ clusterrole Create a ClusterRole.
39
+ clusterrolebinding Create a ClusterRoleBinding for a particular ClusterRole.
40
+ configmap Create a configmap from a local file, directory or literal value.
41
+ cronjob Create a cronjob with the specified name.
42
+ deployment Create a deployment with the specified name.
43
+ job Create a job with the specified name.
44
+ namespace Create a namespace with the specified name.
45
+ poddisruptionbudget Create a pod disruption budget with the specified name.
46
+ priorityclass Create a priorityclass with the specified name.
47
+ quota Create a quota with the specified name.
48
+ role Create a role with single rule.
49
+ rolebinding Create a RoleBinding for a particular Role or ClusterRole.
50
+ secret Create a secret using specified subcommand.
51
+ service Create a service using specified subcommand.
52
+ serviceaccount Create a service account with the specified name.
53
+ ```
54
+
36
55
37
56
You can create the following resources using ` kubectl run ` with the ` --generator ` flag:
38
57
You can’t perform that action at this time.
0 commit comments