Skip to content

Commit

Permalink
memory / cpu의 request / limit 맞추기
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhwanJee committed Nov 7, 2024
1 parent 80fe4c8 commit 53483ac
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
46 changes: 28 additions & 18 deletions infra/helm/monitoring/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@ opentelemetry-operator:
certManager:
enabled: true
autoGenerateCert: false
manager:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
kubeRBACProxy:
resources:
limits:
cpu: 100m
memory: 64Mi
requests:
cpu: 100m
memory: 64Mi

openobserve-collector:
enabled: true
Expand Down Expand Up @@ -104,17 +120,12 @@ openobserve-collector:
value: "true"
effect: "NoSchedule"
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
receivers:
otlp:
protocols:
Expand Down Expand Up @@ -401,17 +412,16 @@ openobserve-collector:
nodeSelector: {}
tolerations: []
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
autoscaling:
enabled: false
minReplicas: 1
Expand Down
2 changes: 1 addition & 1 deletion infra/helm/scc-redash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ redash:
memory: 512Mi
requests:
cpu: 200m
memory: 384Mi
memory: 512Mi

# scheduledWorker.podSecurityContext -- Security contexts for scheduled worker pod assignment [ref](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
podSecurityContext: { }
Expand Down

0 comments on commit 53483ac

Please sign in to comment.