mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +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
|
- containerPort: 9300
|
||||||
name: transport
|
name: transport
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: transport
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
timeoutSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: transport
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
timeoutSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: elasticsearch-logging
|
- name: elasticsearch-logging
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
Loading…
Reference in New Issue
Block a user