Set resource limit for both elasticsearch and kibana containers based on data collected by #10335
This commit is contained in:
@@ -22,6 +22,9 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/elasticsearch:1.4
|
- image: gcr.io/google_containers/elasticsearch:1.4
|
||||||
name: elasticsearch-logging
|
name: elasticsearch-logging
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9200
|
- containerPort: 9200
|
||||||
name: es-port
|
name: es-port
|
||||||
|
@@ -22,6 +22,9 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: kibana-logging
|
- name: kibana-logging
|
||||||
image: gcr.io/google_containers/kibana:1.3
|
image: gcr.io/google_containers/kibana:1.3
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
env:
|
env:
|
||||||
- name: "ELASTICSEARCH_URL"
|
- name: "ELASTICSEARCH_URL"
|
||||||
value: "http://elasticsearch-logging:9200"
|
value: "http://elasticsearch-logging:9200"
|
||||||
|
Reference in New Issue
Block a user