mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
es add readiness and liveness health check
use transport as health check port
This commit is contained in:
parent
2fbe432d23
commit
325848509a
@ -86,6 +86,16 @@ spec:
|
||||
- containerPort: 9300
|
||||
name: transport
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: transport
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: transport
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
volumeMounts:
|
||||
- name: elasticsearch-logging
|
||||
mountPath: /data
|
||||
|
Loading…
Reference in New Issue
Block a user