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:
co-authored by
Sanket Sudake
parent
c2f455ec1b
commit
8f998e799d
@@ -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
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
@@ -140,6 +140,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
|
||||||
@@ -334,4 +352,4 @@ mqt_keda:
|
|||||||
tag: v0.5
|
tag: v0.5
|
||||||
nats_steaming:
|
nats_steaming:
|
||||||
image: fission/keda-nats-streaming-http-connector
|
image: fission/keda-nats-streaming-http-connector
|
||||||
tag: v0.5
|
tag: v0.5
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
@@ -108,6 +108,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:
|
||||||
|
|||||||
Reference in New Issue
Block a user