Set resource limit for both elasticsearch and kibana containers based on data collected by #10335

This commit is contained in:
Dawn Chen 2015-07-01 15:08:35 -07:00
parent ce520dd6e8
commit 6b61918b67
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,9 @@ spec:
containers:
- image: gcr.io/google_containers/elasticsearch:1.4
name: elasticsearch-logging
resources:
limits:
cpu: 100m
ports:
- containerPort: 9200
name: es-port

View File

@ -22,6 +22,9 @@ spec:
containers:
- name: kibana-logging
image: gcr.io/google_containers/kibana:1.3
resources:
limits:
cpu: 100m
env:
- name: "ELASTICSEARCH_URL"
value: "http://elasticsearch-logging:9200"