Configure router deployment replicas (#2782)

This commit is contained in:
Scott Côté
2023-05-16 16:20:29 +05:30
committed by GitHub
parent 1133386ce9
commit 6e375629e7
2 changed files with 4 additions and 1 deletions
@@ -12,7 +12,7 @@ metadata:
application: fission-router application: fission-router
spec: spec:
{{- if not .Values.router.deployAsDaemonSet }} {{- if not .Values.router.deployAsDaemonSet }}
replicas: 1 replicas: {{ .Values.router.replicas | default 1 }}
{{- end }} {{- end }}
selector: selector:
matchLabels: matchLabels:
+3
View File
@@ -211,6 +211,9 @@ router:
## deployAsDaemonSet decides whether to deploy router as a DaemonSet or a Deployment. ## deployAsDaemonSet decides whether to deploy router as a DaemonSet or a Deployment.
## ##
deployAsDaemonSet: false deployAsDaemonSet: false
## replicas decides how many router pods to deploy. Only used when deployAsDaemonSet is false.
##
replicas: 1
## svcAddressMaxRetries is the max times for router to retry with a specific function service address ## svcAddressMaxRetries is the max times for router to retry with a specific function service address
## ##
svcAddressMaxRetries: 5 svcAddressMaxRetries: 5