[zh-cn] resync pods/YAMLs

This commit is contained in:
Michael
2022-06-26 10:19:23 +08:00
parent 4135f1ec3e
commit 3c42f643d4
5 changed files with 12 additions and 12 deletions
@@ -6,14 +6,14 @@ spec:
containers:
- name: nginx
image: nginx
# defines the health checking
# 定义健康检查
livenessProbe:
# an http probe
# 一个 http 探针
httpGet:
path: /_status/healthz
port: 80
# length of time to wait for a pod to initialize
# after pod startup, before applying health checking
# Pod 启动之后,实施健康检查之前,
# 等待 Pod 初始化的时间长度
initialDelaySeconds: 30
timeoutSeconds: 1
ports:
@@ -6,13 +6,13 @@ spec:
containers:
- name: redis
image: redis
# defines the health checking
# 定义健康检查
livenessProbe:
# a TCP socket probe
# 一个 TCP 套接字探针
tcpSocket:
port: 6379
# length of time to wait for a pod to initialize
# after pod startup, before applying health checking
# Pod 启动之后,实施健康检查之前,
# 等待 Pod 初始化的时间长度
initialDelaySeconds: 30
timeoutSeconds: 1
ports: