Skip to content

Commit

Permalink
Match deployment resources to recommendation
Browse files Browse the repository at this point in the history
Adjust the deployment to match the recommended resources (kubernetes#196). The baseline resources are set to the basic recommendation for a 100 node cluster.

Pod nanny does not support "the baseline includes the first 100 nodes", so instead set the threshold until it needs to adjust wide. This over-estimates resource needs for intermediate cluster sizes, but I'd rather be on the safe side.
  • Loading branch information
Matthias Rampke committed Aug 23, 2017
1 parent 032dc10 commit 2c44332
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kubernetes/kube-state-metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ spec:
timeoutSeconds: 5
resources:
requests:
memory: 30Mi
memory: 200Mi
cpu: 100m
limits:
memory: 50Mi
memory: 200Mi
cpu: 200m
- name: addon-resizer
image: gcr.io/google_containers/addon-resizer:1.0
Expand All @@ -53,7 +53,7 @@ spec:
- --container=kube-state-metrics
- --cpu=100m
- --extra-cpu=1m
- --memory=30Mi
- --memory=200Mi
- --extra-memory=2Mi
- --threshold=5
- --deployment=kube-state-metrics
- --threshold=100
- --deployment=kube-state-metrics

0 comments on commit 2c44332

Please sign in to comment.