Skip to content

Commit

Permalink
add limits to operator deployment (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha authored Mar 4, 2024
1 parent cf6be2f commit 35c9176
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ spec:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: {{.Values.operator.limits.cpu}}
memory: {{.Values.operator.limits.memory}}
securityContext:
allowPrivilegeEscalation: false
privileged: false
Expand Down
5 changes: 5 additions & 0 deletions mirrord-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ operator:
## You can use this only if using Enterprise license.
disableTelemetries: false

## This should be enough for around 200~ concurrent sessions.
limits:
cpu: 200m
memory: 200Mi

agent:
## example
## image: your-internal.registry.io/metalbear-co/agent
Expand Down

0 comments on commit 35c9176

Please sign in to comment.