[zh] resync deployment yamls

This commit is contained in:
Michael
2022-06-25 18:01:28 +08:00
parent ed23f394e2
commit 097197c1a3
4 changed files with 4 additions and 4 deletions
@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: nginx
replicas: 4 # Update the replicas from 2 to 4
replicas: 4 # 将副本数从 2 更新为 4
template:
metadata:
labels:
@@ -14,6 +14,6 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.16.1 # Update the version of nginx from 1.14.2 to 1.16.1
image: nginx:1.16.1 # nginx 版本从 1.14.2 更新为 1.16.1
ports:
- containerPort: 80
@@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
replicas: 2 # 告知 Deployment 运行 2 个与该模板匹配的 Pod
template:
metadata:
labels:
@@ -13,6 +13,6 @@ spec:
spec:
containers:
- name: nginx
image: nginx:1.16.1 # update the image
image: nginx:1.16.1 # 更新该镜像
ports:
- containerPort: 80