make router resources configurable (needed for router HPA setup) (#1857)

Co-authored-by: Daniel Candrea <daniel.candrea@complyadvantage.com>
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com>
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
danyc
2021-06-06 14:13:07 +05:30
committed by GitHub
co-authored by Daniel Candrea Vishal Sanket Sudake
parent 61c59b514f
commit bef677678b
4 changed files with 24 additions and 0 deletions
+2
View File
@@ -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"
+10
View File
@@ -159,6 +159,16 @@ router:
# tolerations:
# nodeSelector:
# Pod resources as:
# resources:
# limits:
# cpu: <tbd>
# memory: <tbd>
# requests:
# cpu: <tbd>
# memory: <tbd>
resources: {}
## Message queue trigger config
### NATS Streaming, enabled by default
nats:
@@ -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"
+10
View File
@@ -127,6 +127,16 @@ router:
# tolerations:
# nodeSelector:
# Pod resources as:
# resources:
# limits:
# cpu: <tbd>
# memory: <tbd>
# requests:
# cpu: <tbd>
# memory: <tbd>
resources: {}
## Persist data to a persistent volume.
persistence:
## If true, fission will create/use a Persistent Volume Claim unless storageType is set to s3