Feature/router core component pod config (#1936)

* Update router.yaml

* Update router.yaml

* Update README.md

* Update values.yaml

* Update values.yaml

* Update Chart.yaml

* Update Chart.yaml

* Update Chart.yaml

* Update Chart.yaml

* Update Chart.yaml

Co-authored-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Adam Gray
2021-06-03 21:15:17 +05:30
committed by GitHub
co-authored by Sanket Sudake
parent c2f455ec1b
commit 8f998e799d
5 changed files with 46 additions and 1 deletions
+1
View File
@@ -68,6 +68,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 `extraCoreComponentPodConfig` | Extend the container specs for the core fission pods. Can be used to add things like affinty/tolerations/nodeSelectors/etc. | None
`executor.adoptExistingResources` | If true, executor will try to adopt existing resources created by the old executor instance. | `false` `executor.adoptExistingResources` | If true, executor will try to adopt existing resources created by the old executor instance. | `false`
`router.deployAsDaemonSet` | Deploy router as DaemonSet instead of Deployment | `false` `router.deployAsDaemonSet` | Deploy router as DaemonSet instead of Deployment | `false`
`router.extraCoreComponentPodConfig` | Extend the container specs for the router fission pods. Can be used to add things like affinty/tolerations/nodeSelectors/etc. Overrides the generic `extraCoreComponentPodConfig`| None
`router.svcAddressMaxRetries` | Max retries times for router to retry on a certain service URL returns from cache/executor | `5` `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.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.svcAnnotations` | Annotations for router service | None
+4
View File
@@ -84,6 +84,10 @@ spec:
- containerPort: 8888 - containerPort: 8888
name: http name: http
serviceAccountName: fission-svc serviceAccountName: fission-svc
{{- if .Values.router.extraCoreComponentPodConfig }}
{{ toYaml .Values.router.extraCoreComponentPodConfig | indent 6 -}}
{{- else }}
{{- if .Values.extraCoreComponentPodConfig }} {{- if .Values.extraCoreComponentPodConfig }}
{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}}
{{- end }} {{- end }}
{{- end }}
+18
View File
@@ -141,6 +141,24 @@ router:
## Sample with a rate per time window (traces/second) ## Sample with a rate per time window (traces/second)
traceSamplingRate: 0.5 traceSamplingRate: 0.5
## Extend the container specs for the core fission pods.
## Can be used to add things like affinty/tolerations/nodeSelectors/etc.
## For example:
## extraCoreComponentPodConfig:
## affinity:
## nodeAffinity:
## requiredDuringSchedulingIgnoredDuringExecution:
## nodeSelectorTerms:
## - matchExpressions:
## - key: capability
## operator: In
## values:
## - app
#extraCoreComponentPodConfig:
# affinity:
# tolerations:
# nodeSelector:
## Message queue trigger config ## Message queue trigger config
### NATS Streaming, enabled by default ### NATS Streaming, enabled by default
nats: nats:
@@ -84,6 +84,10 @@ spec:
- containerPort: 8888 - containerPort: 8888
name: http name: http
serviceAccountName: fission-svc serviceAccountName: fission-svc
{{- if .Values.router.extraCoreComponentPodConfig }}
{{ toYaml .Values.router.extraCoreComponentPodConfig | indent 6 -}}
{{- else }}
{{- if .Values.extraCoreComponentPodConfig }} {{- if .Values.extraCoreComponentPodConfig }}
{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}} {{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}}
{{- end }} {{- end }}
{{- end }}
+18
View File
@@ -109,6 +109,24 @@ router:
## Sample with a rate per time window (traces/second) ## Sample with a rate per time window (traces/second)
traceSamplingRate: 0.5 traceSamplingRate: 0.5
## Extend the container specs for the router fission pods.
## Can be used to add things like affinty/tolerations/nodeSelectors/etc.
## For example:
## extraCoreComponentPodConfig:
## affinity:
## nodeAffinity:
## requiredDuringSchedulingIgnoredDuringExecution:
## nodeSelectorTerms:
## - matchExpressions:
## - key: capability
## operator: In
## values:
## - app
#extraCoreComponentPodConfig:
# affinity:
# tolerations:
# nodeSelector:
## 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