Skip to content

Commit

Permalink
Increase default resource request/limit for API server
Browse files Browse the repository at this point in the history
* Increase memory limit and request. While memory usage was not higher
  during testing, increasing this can lead to better performance on a
  busy cluster, because caching
* Allow CPU to spike for lower latency
* Remove pull policy. This lead to some issues when using tag
  latest
  • Loading branch information
glrf committed Feb 4, 2022
1 parent 60643fa commit ede4865
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ spec:
containers:
- name: apiserver
image: ghcr.io/appuio/control-api:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9443
args:
Expand All @@ -34,10 +33,10 @@ spec:
resources:
requests:
cpu: 100m
memory: 20Mi
memory: 100Mi
limits:
cpu: 100m
memory: 30Mi
cpu: 300m
memory: 200Mi
volumes:
- name: apiserver-certs
emptyDir: {}

0 comments on commit ede4865

Please sign in to comment.