Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates resources.limits/request in helm chart #446

Merged
merged 3 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/deploy/kubernetes/kubernetes-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ spec:
properties:
capabilities:
description: Activegate capabilities enabled (routing, kubernetes-monitoring,
data-ingest)
metrics-ingest)
items:
type: string
type: array
Expand Down Expand Up @@ -4130,10 +4130,10 @@ spec:
resources:
limits:
cpu: 300m
memory: 100M
memory: 100Mi
requests:
cpu: 300m
memory: 100M
memory: 100Mi
securityContext:
privileged: true
runAsUser: 0
Expand Down
6 changes: 3 additions & 3 deletions config/deploy/openshift/openshift-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ spec:
properties:
capabilities:
description: Activegate capabilities enabled (routing, kubernetes-monitoring,
data-ingest)
metrics-ingest)
items:
type: string
type: array
Expand Down Expand Up @@ -4369,10 +4369,10 @@ spec:
resources:
limits:
cpu: 300m
memory: 100M
memory: 100Mi
requests:
cpu: 300m
memory: 100M
memory: 100Mi
securityContext:
privileged: true
runAsUser: 0
Expand Down
8 changes: 4 additions & 4 deletions config/helm/chart/default/templates/Common/csi/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ spec:
protocol: TCP
resources:
limits:
cpu: 300m
memory: 100M
cpu: {{ default "300m" .Values.csi.limits.cpu }}
memory: {{ default "100Mi" .Values.csi.limits.memory }}
requests:
cpu: 300m
memory: 100M
cpu: {{ default "300m" .Values.csi.requests.cpu }}
memory: {{ default "100Mi" .Values.csi.requests.memory }}
securityContext:
privileged: true
runAsUser: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ spec:
name: server-port
resources:
requests:
cpu: {{ .Values.operator.requests.cpu }}
memory: {{ .Values.operator.requests.memory }}
cpu: {{ default "50m" .Values.operator.requests.cpu }}
memory: {{ default "64Mi" .Values.operator.requests.memory }}
limits:
cpu: {{ .Values.operator.limits.cpu }}
memory: {{ .Values.operator.limits.memory }}
cpu: {{ default "100m" .Values.operator.limits.cpu }}
memory: {{ default "128Mi" .Values.operator.limits.memory }}
readinessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ spec:
containerPort: 8443
resources:
requests:
cpu: {{ .Values.webhook.requests.cpu }}
memory: {{ .Values.webhook.requests.memory }}
cpu: {{ default "300m" .Values.webhook.requests.cpu }}
memory: {{ default "128Mi" .Values.webhook.requests.memory }}
limits:
cpu: {{ .Values.webhook.limits.cpu }}
memory: {{ .Values.webhook.limits.memory }}
cpu: {{ default "300m" .Values.webhook.limits.cpu }}
memory: {{ default "128Mi" .Values.webhook.limits.memory }}
serviceAccountName: dynatrace-webhook
{{- if .Values.operator.customPullSecret }}
imagePullSecrets:
Expand Down
8 changes: 8 additions & 0 deletions config/helm/chart/default/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ webhook:
cpu: 300m
memory: 128Mi

csi:
requests:
cpu: 300m
memory: 100Mi
limits:
cpu: 300m
memory: 100Mi

createSecurityContextConstraints: true # Only applicable for Openshift

### module properties
Expand Down