Allow to add annotations to router service in helm chart (#1338)

This commit is contained in:
Prabhu Jayakumar
2019-10-02 14:48:36 +08:00
committed by Ta-Ching Chen
parent c61442ee76
commit f12880fb5c
5 changed files with 15 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ Parameter | Description | Default
`extraCoreComponentPodConfig` | Extend the container specs for the core fission pods. Can be used to add things like affinty/tolerations/nodeSelectors/etc. | None
`router.svcAddressMaxRetries` | Max retries times for router to retry on a certain service URL returns from cache/executor | `5`
`router.svcAddressUpdateTimeout` | The length of update lock expiry time for router to get a service URL returns from executor | `30`
`router.svcAnnotations` | Annotations for router service | None
`router.roundTrip.disableKeepAlive` | Disable transport keep-alive for fast switching function version | `true`
`router.roundTrip.keepAliveTime` | The keep-alive period for an active network connection to function pod | `30s`
`router.roundTrip.timeout` | HTTP transport request timeout | `50ms`
+4
View File
@@ -6,6 +6,10 @@ metadata:
svc: router
application: fission-router
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
{{- if .Values.router.svcAnnotations }}
annotations:
{{ toYaml .Values.router.svcAnnotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.routerServiceType }}
ports:
+3
View File
@@ -62,6 +62,9 @@ logger:
router:
svcAddressMaxRetries: 5
svcAddressUpdateTimeout: 30s
## Add annotations for router
# svcAnnotations:
# cloud.google.com/load-balancer-type: Internal
roundTrip:
## If true, router will disable the HTTP keep-alive which result in performance degradation.
## But it ensures that router can redirect new coming requests to new function pods.
+4
View File
@@ -6,6 +6,10 @@ metadata:
svc: router
application: fission-router
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
{{- if .Values.router.svcAnnotations }}
annotations:
{{ toYaml .Values.router.svcAnnotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.routerServiceType }}
ports:
+3
View File
@@ -49,6 +49,9 @@ enableIstio: false
router:
svcAddressMaxRetries: 5
svcAddressUpdateTimeout: 30s
## Add annotations for router
# svcAnnotations:
# cloud.google.com/load-balancer-type: Internal
roundTrip:
## If true, router will disable the HTTP keep-alive which result in performance degradation.
## But it ensures that router can redirect new coming requests to new function pods.