commit
aa40b84d03
|
@ -1,5 +1,11 @@
|
||||||
---
|
---
|
||||||
title: "配置 Pods 和容器"
|
title: "配置 Pods 和容器"
|
||||||
weight: 20
|
weight: 30
|
||||||
description: 对 Pod 和容器执行常见的配置任务。
|
description: 对 Pod 和容器执行常见的配置任务。
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
title: "Configure Pods and Containers"
|
||||||
|
description: Perform common configuration tasks for Pods and containers.
|
||||||
|
weight: 30
|
||||||
|
-->
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
title: 将 Pod 分配给节点
|
title: 将 Pod 分配给节点
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 120
|
weight: 150
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
title: Assign Pods to Nodes
|
title: Assign Pods to Nodes
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 120
|
weight: 150
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
@ -41,7 +41,7 @@ Kubernetes cluster.
|
||||||
-->
|
-->
|
||||||
输出类似如下:
|
输出类似如下:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
NAME STATUS ROLES AGE VERSION LABELS
|
NAME STATUS ROLES AGE VERSION LABELS
|
||||||
worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0
|
worker0 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker0
|
||||||
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
|
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
|
||||||
|
@ -76,7 +76,7 @@ Kubernetes cluster.
|
||||||
-->
|
-->
|
||||||
输出类似如下:
|
输出类似如下:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
NAME STATUS ROLES AGE VERSION LABELS
|
NAME STATUS ROLES AGE VERSION LABELS
|
||||||
worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0
|
worker0 Ready <none> 1d v1.13.0 ...,disktype=ssd,kubernetes.io/hostname=worker0
|
||||||
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
|
worker1 Ready <none> 1d v1.13.0 ...,kubernetes.io/hostname=worker1
|
||||||
|
@ -126,7 +126,7 @@ a `disktype=ssd` label.
|
||||||
-->
|
-->
|
||||||
输出类似如下:
|
输出类似如下:
|
||||||
|
|
||||||
```
|
```shell
|
||||||
NAME READY STATUS RESTARTS AGE IP NODE
|
NAME READY STATUS RESTARTS AGE IP NODE
|
||||||
nginx 1/1 Running 0 13s 10.200.0.4 worker0
|
nginx 1/1 Running 0 13s 10.200.0.4 worker0
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
title: 为 Windows 的 Pod 和容器配置 RunAsUserName
|
title: 为 Windows 的 Pod 和容器配置 RunAsUserName
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
title: Configure RunAsUserName for Windows pods and containers
|
title: Configure RunAsUserName for Windows pods and containers
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 20
|
weight: 40
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: 在 Pod 中的容器之间共享进程命名空间
|
title: 在 Pod 中的容器之间共享进程命名空间
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 160
|
weight: 200
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
@ -11,7 +11,7 @@ reviewers:
|
||||||
- yujuhong
|
- yujuhong
|
||||||
- dchen1107
|
- dchen1107
|
||||||
content_type: task
|
content_type: task
|
||||||
weight: 160
|
weight: 200
|
||||||
---
|
---
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue