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:
co-authored by
Daniel Candrea
Vishal
Sanket Sudake
parent
61c59b514f
commit
bef677678b
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user