Skip to content

Commit

Permalink
Configure router deployment replicas (#2782)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-rc committed May 16, 2023
1 parent 1133386 commit 6e37562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/fission-all/templates/router/deployment.yaml
Expand Up @@ -12,7 +12,7 @@ metadata:
application: fission-router
spec:
{{- if not .Values.router.deployAsDaemonSet }}
replicas: 1
replicas: {{ .Values.router.replicas | default 1 }}
{{- end }}
selector:
matchLabels:
Expand Down
3 changes: 3 additions & 0 deletions charts/fission-all/values.yaml
Expand Up @@ -211,6 +211,9 @@ router:
## deployAsDaemonSet decides whether to deploy router as a DaemonSet or a Deployment.
##
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: 5
Expand Down

0 comments on commit 6e37562

Please sign in to comment.