[zh-cn] resync pods/YAMLs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user