diff --git a/mirrord-operator/templates/deployment.yaml b/mirrord-operator/templates/deployment.yaml index f36848a..a0db46a 100644 --- a/mirrord-operator/templates/deployment.yaml +++ b/mirrord-operator/templates/deployment.yaml @@ -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 diff --git a/mirrord-operator/values.yaml b/mirrord-operator/values.yaml index b87be47..36b411f 100644 --- a/mirrord-operator/values.yaml +++ b/mirrord-operator/values.yaml @@ -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