fix: add health probes for gateway and nacos
This commit is contained in:
parent
60b036fc40
commit
1ed2e73dbf
@ -91,6 +91,27 @@ spec:
|
||||
ports:
|
||||
- containerPort: 9999
|
||||
protocol: TCP
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/liveness
|
||||
port: 9999
|
||||
failureThreshold: 60
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: 9999
|
||||
failureThreshold: 2
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/liveness
|
||||
port: 9999
|
||||
failureThreshold: 3
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
|
||||
@ -75,6 +75,27 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8848
|
||||
protocol: TCP
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /nacos/v1/console/health/readiness
|
||||
port: 8848
|
||||
failureThreshold: 60
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /nacos/v1/console/health/readiness
|
||||
port: 8848
|
||||
failureThreshold: 2
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 3
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /nacos/v1/console/health/liveness
|
||||
port: 8848
|
||||
failureThreshold: 3
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
resources:
|
||||
limits:
|
||||
memory: 4Gi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user