mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Add readiness probe to Elasticsearch and Kibana logging pods
This commit is contained in:
@@ -22,6 +22,13 @@ spec:
|
||||
containers:
|
||||
- image: gcr.io/google_containers/elasticsearch:1.4
|
||||
name: elasticsearch-logging
|
||||
livenessProbe:
|
||||
name: es-liveness
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9200
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 5
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
name: es-port
|
||||
|
@@ -22,6 +22,13 @@ spec:
|
||||
containers:
|
||||
- name: kibana-logging
|
||||
image: gcr.io/google_containers/kibana:1.3
|
||||
livenessProbe:
|
||||
name: kibana-liveness
|
||||
httpGet:
|
||||
path: /
|
||||
port: 5601
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 5
|
||||
env:
|
||||
- name: "ELASTICSEARCH_URL"
|
||||
value: "http://elasticsearch-logging:9200"
|
||||
|
Reference in New Issue
Block a user