From c3aaa3a53674641550e3545d8d6d05ebc411b600 Mon Sep 17 00:00:00 2001 From: shaunak_deshmukh Date: Mon, 8 Aug 2022 16:30:38 +0530 Subject: [PATCH] Fission-core version 1.4.0 --- charts/fission-core/Chart.yaml | 4 +- charts/fission-core/requirements.lock | 2 +- charts/fission-core/templates/NOTES.txt | 6 +-- charts/fission-core/templates/deployment.yaml | 38 ++++++++++++++----- charts/fission-core/values.yaml | 38 +++++++++++++++++-- 5 files changed, 68 insertions(+), 20 deletions(-) diff --git a/charts/fission-core/Chart.yaml b/charts/fission-core/Chart.yaml index d249359..65be733 100755 --- a/charts/fission-core/Chart.yaml +++ b/charts/fission-core/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: 1.3.0 +appVersion: 1.4.0 description: Fission is a fast serverless framework for Kubernetes. engine: gotpl home: http://fission.io/ @@ -12,4 +12,4 @@ maintainers: - email: contact@tachingchen.com name: Ta Ching Chen name: fission-core -version: 1.3.0 +version: 1.4.0 diff --git a/charts/fission-core/requirements.lock b/charts/fission-core/requirements.lock index 08be2f2..692517e 100755 --- a/charts/fission-core/requirements.lock +++ b/charts/fission-core/requirements.lock @@ -3,4 +3,4 @@ dependencies: repository: https://prometheus-community.github.io/helm-charts version: 7.1.0 digest: sha256:1dbb5d6373653c77ec5c3536abd96c689dbd566b93ed325b864b9d69af921db2 -generated: "2022-08-08T16:29:42.856160686+05:30" +generated: "2022-08-08T16:30:29.771419312+05:30" diff --git a/charts/fission-core/templates/NOTES.txt b/charts/fission-core/templates/NOTES.txt index cc3c059..ae7b7ac 100755 --- a/charts/fission-core/templates/NOTES.txt +++ b/charts/fission-core/templates/NOTES.txt @@ -1,13 +1,13 @@ 1. Install the client CLI. Mac: - $ curl -Lo fission https://github.com/fission/fission/releases/download/1.3.0/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/ + $ curl -Lo fission https://github.com/fission/fission/releases/download/1.4.0/fission-cli-osx && chmod +x fission && sudo mv fission /usr/local/bin/ Linux: - $ curl -Lo fission https://github.com/fission/fission/releases/download/1.3.0/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/ + $ curl -Lo fission https://github.com/fission/fission/releases/download/1.4.0/fission-cli-linux && chmod +x fission && sudo mv fission /usr/local/bin/ Windows: - For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/1.3.0/fission-cli-windows.exe + For Windows, you can use the linux binary on WSL. Or you can download this windows executable: https://github.com/fission/fission/releases/download/1.4.0/fission-cli-windows.exe 2. You're ready to use Fission! diff --git a/charts/fission-core/templates/deployment.yaml b/charts/fission-core/templates/deployment.yaml index 31fbe98..485950d 100755 --- a/charts/fission-core/templates/deployment.yaml +++ b/charts/fission-core/templates/deployment.yaml @@ -159,6 +159,9 @@ spec: - name: config-volume mountPath: /etc/config/config.yaml subPath: config.yaml + ports: + - containerPort: 8888 + name: http serviceAccount: fission-svc volumes: - name: config-volume @@ -198,22 +201,24 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - - name: TRACING_SAMPLING_RATE - value: {{ .Values.traceSamplingRate | default "0.5" | quote }} - name: ROUTER_ROUND_TRIP_TIMEOUT - value: {{ .Values.routerRoundTripTimeout | default "50ms" | quote }} + value: {{ .Values.router.roundTrip.timeout | default "50ms" | quote }} - name: ROUTER_ROUNDTRIP_TIMEOUT_EXPONENT - value: {{ .Values.routerRoundTripTimeoutExponent | default 2 | quote }} + value: {{ .Values.router.roundTrip.timeoutExponent | default 2 | quote }} - name: ROUTER_ROUND_TRIP_KEEP_ALIVE_TIME - value: {{ .Values.routerRoundTripKeepAliveTime | default "30s" | quote }} + value: {{ .Values.router.roundTrip.keepAliveTime | default "30s" | quote }} + - name: ROUTER_ROUND_TRIP_DISABLE_KEEP_ALIVE + value: {{ .Values.router.roundTrip.disableKeepAlive | default true | quote }} - name: ROUTER_ROUND_TRIP_MAX_RETRIES - value: {{ .Values.routerRoundTripMaxRetries | default 10 | quote }} - - name: ROUTER_ROUND_TRIP_SVC_ADDRESS_MAX_RETRIES - value: {{ .Values.routerRoundTripSvcAddressMaxRetries | default 5 | quote }} - - name: ROUTER_ROUND_TRIP_SVC_ADDRESS_UPDATE_TIMEOUT - value: {{ .Values.routerRoundTripSvcAddressUpdateTimeout | default 30 | quote }} + value: {{ .Values.router.roundTrip.maxRetries | default 10 | quote }} + - name: ROUTER_SVC_ADDRESS_MAX_RETRIES + value: {{ .Values.router.svcAddressMaxRetries | default 5 | quote }} + - name: ROUTER_SVC_ADDRESS_UPDATE_TIMEOUT + value: {{ .Values.router.svcAddressUpdateTimeout | default "30s" | quote }} - name: DEBUG_ENV value: {{ .Values.debugEnv | quote }} + - name: TRACING_SAMPLING_RATE + value: {{ .Values.traceSamplingRate | default "0.5" | quote }} {{ if .Values.analytics }} - name: ANALYTICS_URL value: "https://g.fission.sh/metrics" @@ -234,6 +239,11 @@ spec: port: 8888 initialDelaySeconds: 35 periodSeconds: 5 + ports: + - containerPort: 8080 + name: metrics + - containerPort: 8888 + name: http serviceAccount: fission-svc {{- if .Values.extraCoreComponmentPodConfig }} {{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} @@ -311,6 +321,11 @@ spec: port: 8888 initialDelaySeconds: 35 periodSeconds: 5 + ports: + - containerPort: 8080 + name: metrics + - containerPort: 8888 + name: http serviceAccount: fission-svc {{- if .Values.extraCoreComponmentPodConfig }} {{ toYaml .Values.extraCoreComponmentPodConfig | indent 6 -}} @@ -447,6 +462,9 @@ spec: volumeMounts: - name: fission-storage mountPath: /fission + ports: + - containerPort: 8000 + name: http serviceAccount: fission-svc volumes: - name: fission-storage diff --git a/charts/fission-core/values.yaml b/charts/fission-core/values.yaml index 5a20954..d97f8e7 100755 --- a/charts/fission-core/values.yaml +++ b/charts/fission-core/values.yaml @@ -16,7 +16,7 @@ repository: index.docker.io image: fission/fission-bundle ## Fission image version -imageTag: 1.3.0 +imageTag: 1.4.0 ## Image pull policy pullPolicy: IfNotPresent @@ -25,7 +25,7 @@ pullPolicy: IfNotPresent fetcherImage: fission/fetcher ## Fission fetcher image version -fetcherImageTag: 1.3.0 +fetcherImageTag: 1.4.0 ## Port at which Fission controller service should be exposed controllerPort: 31313 @@ -44,6 +44,36 @@ builderNamespace: fission-builder ## Enable istio integration enableIstio: false +## Router config +router: + svcAddressMaxRetries: 5 + svcAddressUpdateTimeout: 30s + 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. + ## + ## If false, router will enable transport keep-alive feature for better performance. + ## However, the drawback is it takes longer to switch to newly created function pods + ## if using newdeploy as executor type for function. If you want to preserve the + ## performance while keeping the short switching time to new function, you can create + ## an environment with short grace period by setting flag "--graceperiod" (default 360s), + ## so that kubernetes will be able to reap old function pod quickly. + ## + ## For details, see https://github.com/fission/fission/issues/723 + disableKeepAlive: true + + ## The keep-alive period for an active network connection to function pod. + keepAliveTime: 30s + + ## HTTP transport request timeout + timeout: 50ms + + ## The length of request timeout will multiply with timeoutExponent after each retry + timeoutExponent: 2 + + ## Max retries times of a failed request + maxRetries: 10 + ## Persist data to a persistent volume. persistence: ## If true, fission will create/use a Persistent Volume Claim @@ -103,7 +133,7 @@ preUpgradeChecksImage: fission/pre-upgrade-checks ## if there are any pod specialization errors when a function is triggered and this flag is set to true, the error ## summary is returned as part of http response -debugEnv: true +debugEnv: false ## set this flag to true if prometheus needs to be deployed along with fission prometheusDeploy: false @@ -114,4 +144,4 @@ canaryDeployment: # Use these flags to enable opentracing, the variable is endpoint of Jaeger collector in the format shown below #traceCollectorEndpoint: "http://jaeger-collector.jaeger.svc:14268/api/traces?format=jaeger.thrift" -#traceSamplingRate: 0.75 \ No newline at end of file +#traceSamplingRate: 0.75