diff --git a/charts/fission-all/templates/router.yaml b/charts/fission-all/templates/router.yaml index e9f662bf..7d11dcfa 100644 --- a/charts/fission-all/templates/router.yaml +++ b/charts/fission-all/templates/router.yaml @@ -65,6 +65,8 @@ spec: value: {{ .Values.debugEnv | quote }} - name: DISPLAY_ACCESS_LOG value: {{ .Values.router.displayAccessLog | default false | quote }} + resources: + {{- toYaml .Values.router.resources | indent 10 }} readinessProbe: httpGet: path: "/router-healthz" diff --git a/charts/fission-all/values.yaml b/charts/fission-all/values.yaml index fa8f01a9..f95780f0 100644 --- a/charts/fission-all/values.yaml +++ b/charts/fission-all/values.yaml @@ -159,6 +159,16 @@ router: # tolerations: # nodeSelector: + # Pod resources as: + # resources: + # limits: + # cpu: + # memory: + # requests: + # cpu: + # memory: + resources: {} + ## Message queue trigger config ### NATS Streaming, enabled by default nats: diff --git a/charts/fission-core/templates/router.yaml b/charts/fission-core/templates/router.yaml index e9f662bf..7d11dcfa 100644 --- a/charts/fission-core/templates/router.yaml +++ b/charts/fission-core/templates/router.yaml @@ -65,6 +65,8 @@ spec: value: {{ .Values.debugEnv | quote }} - name: DISPLAY_ACCESS_LOG value: {{ .Values.router.displayAccessLog | default false | quote }} + resources: + {{- toYaml .Values.router.resources | indent 10 }} readinessProbe: httpGet: path: "/router-healthz" diff --git a/charts/fission-core/values.yaml b/charts/fission-core/values.yaml index 8dc6d996..92ca6e28 100644 --- a/charts/fission-core/values.yaml +++ b/charts/fission-core/values.yaml @@ -127,6 +127,16 @@ router: # tolerations: # nodeSelector: + # Pod resources as: + # resources: + # limits: + # cpu: + # memory: + # requests: + # cpu: + # memory: + resources: {} + ## Persist data to a persistent volume. persistence: ## If true, fission will create/use a Persistent Volume Claim unless storageType is set to s3