From e4da038f7f9639ba876315a8f0719c8a69504532 Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Fri, 15 Nov 2019 21:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E5=88=AB=E5=AD=97=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- learning/k8s-intermediate/workload/wl-deployment/create.md | 2 +- learning/k8s-intermediate/workload/wl-replicaset/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/learning/k8s-intermediate/workload/wl-deployment/create.md b/learning/k8s-intermediate/workload/wl-deployment/create.md index a910f97..c29080d 100644 --- a/learning/k8s-intermediate/workload/wl-deployment/create.md +++ b/learning/k8s-intermediate/workload/wl-deployment/create.md @@ -128,7 +128,7 @@ spec: ::: -pod-template-hash 标签时 Deployment 创建 ReplicaSet 时添加到 ReplicaSet 上的,ReplicaSet 进而将此标签添加到 Pod 上。这个标签用于区分 Deployment 中哪个 ReplicaSet 创建了哪些 Pod。该标签的值是 `.spec.template` 的 hash 值。 +pod-template-hash 标签是 Deployment 创建 ReplicaSet 时添加到 ReplicaSet 上的,ReplicaSet 进而将此标签添加到 Pod 上。这个标签用于区分 Deployment 中哪个 ReplicaSet 创建了哪些 Pod。该标签的值是 `.spec.template` 的 hash 值。 diff --git a/learning/k8s-intermediate/workload/wl-replicaset/index.md b/learning/k8s-intermediate/workload/wl-replicaset/index.md index e5bab99..308277d 100644 --- a/learning/k8s-intermediate/workload/wl-replicaset/index.md +++ b/learning/k8s-intermediate/workload/wl-replicaset/index.md @@ -144,7 +144,7 @@ metadata: 这些 Pod 没有对应的控制器(或者任何其他对象)作为其 ownerReference,且他们都匹配了 ReplicaSet `frontend` 中的选择器(selector),此时他们将立刻被 ReplicaSet `frontend` 接管。 -假设您先创建你了上面例子中的 ReplicaSet(其 `replicas` 为 3),此时再执行命令,以创建上面YAML文件中的两个 Pod: +假设您先创建了上面例子中的 ReplicaSet(其 `replicas` 为 3),此时再执行命令,以创建上面YAML文件中的两个 Pod: ```sh kubectl apply -f https://kuboard.cn/statics/learning/replicaset/pod-rs.yaml ```