错别字修正

This commit is contained in:
huanqing.shao
2019-11-15 21:54:43 +08:00
parent 18cac98b5f
commit e4da038f7f
2 changed files with 2 additions and 2 deletions

View File

@ -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 值。
</b-tab>

View File

@ -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
```