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 }}
|
value: {{ .Values.debugEnv | quote }}
|
||||||
- name: DISPLAY_ACCESS_LOG
|
- name: DISPLAY_ACCESS_LOG
|
||||||
value: {{ .Values.router.displayAccessLog | default false | quote }}
|
value: {{ .Values.router.displayAccessLog | default false | quote }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.router.resources | indent 10 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: "/router-healthz"
|
path: "/router-healthz"
|
||||||
|
|||||||
@@ -159,6 +159,16 @@ router:
|
|||||||
# tolerations:
|
# tolerations:
|
||||||
# nodeSelector:
|
# nodeSelector:
|
||||||
|
|
||||||
|
# Pod resources as:
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: <tbd>
|
||||||
|
# memory: <tbd>
|
||||||
|
# requests:
|
||||||
|
# cpu: <tbd>
|
||||||
|
# memory: <tbd>
|
||||||
|
resources: {}
|
||||||
|
|
||||||
## Message queue trigger config
|
## Message queue trigger config
|
||||||
### NATS Streaming, enabled by default
|
### NATS Streaming, enabled by default
|
||||||
nats:
|
nats:
|
||||||
|
|||||||
@@ -65,6 +65,8 @@ spec:
|
|||||||
value: {{ .Values.debugEnv | quote }}
|
value: {{ .Values.debugEnv | quote }}
|
||||||
- name: DISPLAY_ACCESS_LOG
|
- name: DISPLAY_ACCESS_LOG
|
||||||
value: {{ .Values.router.displayAccessLog | default false | quote }}
|
value: {{ .Values.router.displayAccessLog | default false | quote }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.router.resources | indent 10 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: "/router-healthz"
|
path: "/router-healthz"
|
||||||
|
|||||||
@@ -127,6 +127,16 @@ router:
|
|||||||
# tolerations:
|
# tolerations:
|
||||||
# nodeSelector:
|
# nodeSelector:
|
||||||
|
|
||||||
|
# Pod resources as:
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: <tbd>
|
||||||
|
# memory: <tbd>
|
||||||
|
# requests:
|
||||||
|
# cpu: <tbd>
|
||||||
|
# memory: <tbd>
|
||||||
|
resources: {}
|
||||||
|
|
||||||
## Persist data to a persistent volume.
|
## Persist data to a persistent volume.
|
||||||
persistence:
|
persistence:
|
||||||
## If true, fission will create/use a Persistent Volume Claim unless storageType is set to s3
|
## If true, fission will create/use a Persistent Volume Claim unless storageType is set to s3
|
||||||
|
|||||||
Reference in New Issue
Block a user