Skip to content

Commit

Permalink
fix(operator): adapt resource requests and limits (#835)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
  • Loading branch information
bacherfl committed Feb 14, 2023
1 parent d70753b commit 8249de6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions klt-cert-manager/config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 16Mi
requests:
cpu: 5m
memory: 64Mi
memory: 8Mi
livenessProbe:
tcpSocket:
port: 8443
Expand Down
8 changes: 4 additions & 4 deletions klt-cert-manager/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ spec:
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
limits:
cpu: 500m
memory: 128Mi
cpu: 100m
memory: 32Mi
requests:
cpu: 10m
memory: 64Mi
cpu: 5m
memory: 16Mi
serviceAccountName: klt-cert-manager
terminationGracePeriodSeconds: 10
4 changes: 2 additions & 2 deletions operator/config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ spec:
resources:
limits:
cpu: 500m
memory: 128Mi
memory: 16Mi
requests:
cpu: 5m
memory: 64Mi
memory: 8Mi
- name: manager
args:
- "--health-probe-bind-address=:8081"
Expand Down
8 changes: 4 additions & 4 deletions operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ spec:
# More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
limits:
cpu: 100m
memory: 64Mi
cpu: 500m
memory: 128Mi
requests:
cpu: 10m
memory: 32Mi
cpu: 5m
memory: 64Mi
volumeMounts:
- name: certs-dir
mountPath: /tmp/k8s-webhook-server/serving-certs/
Expand Down

0 comments on commit 8249de6

Please sign in to comment.