Skip to content

Agent Mesh

charts: give the curl init/bootstrap containers requests and limits

Tomas Tormo64968a71a9db
diff --git a/charts/sam-mesh/templates/bootstrap-job.yaml b/charts/sam-mesh/templates/bootstrap-job.yaml
index a737538d..1a2f2f58 100644
--- a/charts/sam-mesh/templates/bootstrap-job.yaml
+++ b/charts/sam-mesh/templates/bootstrap-job.yaml
@@ -69,6 +69,13 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
+ resources:
+ requests:
+ cpu: 10m
+ memory: 16Mi
+ limits:
+ cpu: 100m
+ memory: 64Mi
env:
- name: NAMESPACE
value: {{ .Release.Namespace | quote }}
diff --git a/charts/sam-mesh/templates/console-deployment.yaml b/charts/sam-mesh/templates/console-deployment.yaml
index 1490c4f3..8d77457b 100644
--- a/charts/sam-mesh/templates/console-deployment.yaml
+++ b/charts/sam-mesh/templates/console-deployment.yaml
@@ -44,6 +44,13 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
+ resources:
+ requests:
+ cpu: 10m
+ memory: 16Mi
+ limits:
+ cpu: 100m
+ memory: 64Mi
command: ["/bin/sh", "-c"]
args:
- |
diff --git a/charts/sam-mesh/templates/router-statefulset.yaml b/charts/sam-mesh/templates/router-statefulset.yaml
index 9b1561fe..3a11b95a 100644
--- a/charts/sam-mesh/templates/router-statefulset.yaml
+++ b/charts/sam-mesh/templates/router-statefulset.yaml
@@ -50,6 +50,13 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
+ resources:
+ requests:
+ cpu: 10m
+ memory: 16Mi
+ limits:
+ cpu: 100m
+ memory: 64Mi
command: ["/bin/sh", "-c"]
args:
- |