feature:shaping容器设置9007为livenessProbe和startupProbe端口

This commit is contained in:
fumingwei
2023-04-03 19:32:07 +08:00
parent 5a14554277
commit 47a047f488

View File

@@ -229,6 +229,7 @@ spec:
ports:
- containerPort: 8551
- containerPort: 8552
- containerPort: 9007
env:
- name: SERVICENAME
value: shaping-announce-port-{{ .Release.Name }}
@@ -246,12 +247,12 @@ spec:
fieldPath: status.hostIP
livenessProbe:
tcpSocket:
port: 8551
port: 9007
failureThreshold: 1
timeoutSeconds: 10
startupProbe:
tcpSocket:
port: 8551
port: 9007
failureThreshold: 30
periodSeconds: 10
securityContext: