Skip to content

Commit

Permalink
Set resource limit for both elasticsearch and kibana containers based…
Browse files Browse the repository at this point in the history
… on data collected by #10335
  • Loading branch information
dchen1107 committed Jul 1, 2015
1 parent ce520dd commit 6b61918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/addons/fluentd-elasticsearch/es-controller.yaml
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions cluster/addons/fluentd-elasticsearch/kibana-controller.yaml
Expand Up @@ -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"
Expand Down

0 comments on commit 6b61918

Please sign in to comment.