GitHub

File tree

  • content/zh-cn/docs/reference/kubectl/generated/kubectl_create

Original file line numberDiff line numberDiff line change

@@ -2,13 +2,17 @@

22

title: kubectl create

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

基于文件或标准输入创建一个资源

57

no_list: true

68

---

79

<!--

810

title: kubectl create

911

content_type: tool-reference

1012

weight: 30

1113

auto_generated: true

14+

description: >-

15+

Create a resource from a file or from stdin

1216

no_list: true

1317

-->

1418

@@ -339,9 +343,9 @@ UID to impersonate for the operation.

339343

<tr>

340344

<td></td><td style="line-height: 130%; word-wrap: break-word;">

341345

<p>

342-

<!--

346+

<!--

343347

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

344-

-->

348+

-->

345349

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

346350

</p>

347351

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create clusterrole

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

创建一个集群角色

57

---

68

<!--

79

title: kubectl create clusterrole

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a cluster role

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -329,9 +333,9 @@ UID to impersonate for the operation.

329333

<tr>

330334

<td></td><td style="line-height: 130%; word-wrap: break-word;">

331335

<p>

332-

<!--

336+

<!--

333337

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

334-

-->

338+

-->

335339

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

336340

</p>

337341

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create clusterrolebinding

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

为特定的集群角色创建一个集群角色绑定

57

---

68

<!--

79

title: kubectl create clusterrolebinding

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a cluster role binding for a particular cluster role

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -280,9 +284,9 @@ UID to impersonate for the operation.

280284

<tr>

281285

<td></td><td style="line-height: 130%; word-wrap: break-word;">

282286

<p>

283-

<!--

287+

<!--

284288

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

285-

-->

289+

-->

286290

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

287291

</p>

288292

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create configmap

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

基于本地文件、目录或文字值创建 ConfigMap

57

---

68

<!--

79

title: kubectl create configmap

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a config map from a local file, directory or literal value

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -320,9 +324,9 @@ UID to impersonate for the operation.

320324

<tr>

321325

<td></td><td style="line-height: 130%; word-wrap: break-word;">

322326

<p>

323-

<!--

327+

<!--

324328

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

325-

-->

329+

-->

326330

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

327331

</p>

328332

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create cronjob

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

创建指定名称的 CronJob

57

---

68

<!--

79

title: kubectl create cronjob

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a cron job with the specified name

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -19,7 +23,7 @@ Create a cron job with the specified name.

1923

kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags]

2024

```

2125

-->

22-

创建具有指定名称的 CronJob。

26+

创建指定名称的 CronJob。

2327
2428

```shell

2529

kubectl create cronjob NAME --image=image --schedule='0/5 * * * ?' -- [COMMAND] [args...] [flags]

@@ -277,9 +281,9 @@ UID to impersonate for the operation.

277281

<tr>

278282

<td></td><td style="line-height: 130%; word-wrap: break-word;">

279283

<p>

280-

<!--

284+

<!--

281285

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

282-

-->

286+

-->

283287

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

284288

</p>

285289

</td>

Original file line numberDiff line numberDiff line change

@@ -301,9 +301,9 @@ UID to impersonate for the operation.

301301

<tr>

302302

<td></td><td style="line-height: 130%; word-wrap: break-word;">

303303

<p>

304-

<!--

304+

<!--

305305

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

306-

-->

306+

-->

307307

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

308308

</p>

309309

</td>

Original file line numberDiff line numberDiff line change

@@ -365,9 +365,9 @@ UID to impersonate for the operation.

365365

<tr>

366366

<td></td><td style="line-height: 130%; word-wrap: break-word;">

367367

<p>

368-

<!--

368+

<!--

369369

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

370-

-->

370+

-->

371371

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

372372

</p>

373373

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create job

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

创建指定名称的 Job

57

---

68

<!--

79

title: kubectl create job

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a job with the specified name

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -266,9 +270,9 @@ UID to impersonate for the operation.

266270

<tr>

267271

<td></td><td style="line-height: 130%; word-wrap: break-word;">

268272

<p>

269-

<!--

273+

<!--

270274

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

271-

-->

275+

-->

272276

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

273277

</p>

274278

</td>

Original file line numberDiff line numberDiff line change

@@ -255,9 +255,9 @@ UID to impersonate for the operation.

255255

<td></td>

256256

<td style="line-height: 130%; word-wrap: break-word;">

257257

<p>

258-

<!--

258+

<!--

259259

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

260-

-->

260+

-->

261261

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

262262

</p>

263263

</td>

Original file line numberDiff line numberDiff line change

@@ -2,12 +2,16 @@

22

title: kubectl create poddisruptionbudget

33

content_type: tool-reference

44

weight: 30

5+

description: >-

6+

创建指定名称的 Pod 干扰预算

57

---

68

<!--

79

title: kubectl create poddisruptionbudget

810

content_type: tool-reference

911

weight: 30

1012

auto_generated: true

13+

description: >-

14+

Create a pod disruption budget with the specified name

1115

-->

1216
1317

## {{% heading "synopsis" %}}

@@ -281,9 +285,9 @@ UID to impersonate for the operation.

281285

<tr>

282286

<td></td><td style="line-height: 130%; word-wrap: break-word;">

283287

<p>

284-

<!--

288+

<!--

285289

User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.

286-

-->

290+

-->

287291

用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。

288292

</p>

289293

</td>

Read the original on github.com ↗