错别字修正
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user