Skip to content

Commit

Permalink
Merge pull request #23685 from cjcullen/automated-cherry-pick-of-#236…
Browse files Browse the repository at this point in the history
…46-upstream-release-1.2

Automated cherry pick of #23646
  • Loading branch information
bgrant0607 committed Mar 31, 2016
2 parents 38b11ba + 77bcd14 commit 12d7dec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cluster/gce/trusty/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ script
sed -i -e "s/{{pillar\['kube_docker_registry'\]}}/${kube_docker_registry}/g" ${tmp_file}
sed -i -e "s/{{pillar\['kube-proxy_docker_tag'\]}}/${kube_proxy_docker_tag}/g" ${tmp_file}
sed -i -e "s/{{test_args}}/${test_args}/g" ${tmp_file}
sed -i -e "s/{{ cpurequest }}/200m/g" ${tmp_file}
sed -i -e "s/{{ cpurequest }}/20m/g" ${tmp_file}
sed -i -e "s/{{log_level}}/${log_level}/g" ${tmp_file}
sed -i -e "s/{{api_servers_with_port}}/${api_servers}/g" ${tmp_file}

Expand Down
4 changes: 3 additions & 1 deletion cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ spec:
limits:
memory: 200Mi
requests:
cpu: 100m
# Any change here should be accompanied by a proportional change in CPU
# requests of other per-node add-ons (e.g. kube-proxy).
cpu: 80m
memory: 200Mi
env:
- name: FLUENTD_ARGS
Expand Down
7 changes: 6 additions & 1 deletion cluster/saltbase/salt/kube-proxy/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
- makedirs: true
- dir_mode: 755
- context:
cpurequest: '200m'
# 20m might cause kube-proxy CPU starvation on full nodes, resulting in
# delayed service updates. But, giving it more would be a breaking change
# to the overhead requirements for existing clusters.
# Any change here should be accompanied by a proportional change in CPU
# requests of other per-node add-ons (e.g. fluentd).
cpurequest: '20m'
- require:
- service: docker
- service: kubelet
Expand Down

0 comments on commit 12d7dec

Please sign in to comment.