@@ -85,42 +85,42 @@ See the Kubernetes v1.17 documentation for a [list](https://v1-17.docs.kubernete
85
85
#### 生成器
86
86
<!--
87
87
You can generate the following resources with a kubectl command, `kubectl create --dry-run=client -o yaml`:
88
- ```
89
- clusterrole Create a ClusterRole.
90
- clusterrolebinding Create a ClusterRoleBinding for a particular ClusterRole.
91
- configmap Create a configmap from a local file, directory or literal value.
92
- cronjob Create a cronjob with the specified name.
93
- deployment Create a deployment with the specified name.
94
- job Create a job with the specified name.
95
- namespace Create a namespace with the specified name.
96
- poddisruptionbudget Create a pod disruption budget with the specified name.
97
- priorityclass Create a priorityclass with the specified name.
98
- quota Create a quota with the specified name.
99
- role Create a role with single rule.
100
- rolebinding Create a RoleBinding for a particular Role or ClusterRole.
101
- secret Create a secret using specified subcommand.
102
- service Create a service using specified subcommand.
103
- serviceaccount Create a service account with the specified name.
104
- ```
88
+
89
+ * ` clusterrole`: Create a ClusterRole.
90
+ * ` clusterrolebinding`: Create a ClusterRoleBinding for a particular ClusterRole.
91
+ * ` configmap`: Create a ConfigMap from a local file, directory or literal value.
92
+ * ` cronjob`: Create a CronJob with the specified name.
93
+ * ` deployment`: Create a Deployment with the specified name.
94
+ * ` job`: Create a Job with the specified name.
95
+ * ` namespace`: Create a Namespace with the specified name.
96
+ * ` poddisruptionbudget`: Create a PodDisruptionBudget with the specified name.
97
+ * ` priorityclass`: Create a PriorityClass with the specified name.
98
+ * ` quota`: Create a Quota with the specified name.
99
+ * ` role`: Create a Role with single rule.
100
+ * ` rolebinding`: Create a RoleBinding for a particular Role or ClusterRole.
101
+ * ` secret`: Create a Secret using specified subcommand.
102
+ * ` service`: Create a Service using specified subcommand.
103
+ * ` serviceaccount`: Create a ServiceAccount with the specified name.
104
+
105
105
-->
106
106
你可以使用 kubectl 命令生成以下资源, ` kubectl create --dry-run=client -o yaml ` :
107
- ```
108
- clusterrole 创建 ClusterRole。
109
- clusterrolebinding 为特定的 ClusterRole 创建 ClusterRoleBinding。
110
- configmap 使用本地文件、目录或文本值创建 Configmap。
111
- cronjob 使用指定的名称创建 Cronjob。
112
- deployment 使用指定的名称创建 Deployment。
113
- job 使用指定的名称创建 Job。
114
- namespace 使用指定的名称创建名称空间。
115
- poddisruptionbudget 使用指定名称创建 Pod 干扰预算。
116
- priorityclass 使用指定的名称创建 Priorityclass。
117
- quota 使用指定的名称创建配额。
118
- role 使用单一规则创建角色。
119
- rolebinding 为特定角色或 ClusterRole 创建 RoleBinding。
120
- secret 使用指定的子命令创建 Secret。
121
- service 使用指定的子命令创建服务。
122
- serviceaccount 使用指定的名称创建服务帐户。
123
- ```
107
+
108
+ * ` clusterrole ` : 创建 ClusterRole。
109
+ * ` clusterrolebinding ` : 为特定的 ClusterRole 创建 ClusterRoleBinding。
110
+ * ` configmap ` : 使用本地文件、目录或文本值创建 Configmap。
111
+ * ` cronjob ` : 使用指定的名称创建 Cronjob。
112
+ * ` deployment ` : 使用指定的名称创建 Deployment。
113
+ * ` job ` : 使用指定的名称创建 Job。
114
+ * ` namespace ` : 使用指定的名称创建名称空间。
115
+ * ` poddisruptionbudget ` : 使用指定名称创建 Pod 干扰预算。
116
+ * ` priorityclass ` : 使用指定的名称创建 Priorityclass。
117
+ * ` quota ` : 使用指定的名称创建配额。
118
+ * ` role ` : 使用单一规则创建角色。
119
+ * ` rolebinding ` : 为特定角色或 ClusterRole 创建 RoleBinding。
120
+ * ` secret ` : 使用指定的子命令创建 Secret。
121
+ * ` service ` : 使用指定的子命令创建服务。
122
+ * ` serviceaccount ` : 使用指定的名称创建服务帐户。
123
+
124
124
125
125
### ` kubectl apply `
126
126
0 commit comments