Skip to content

Commit

Permalink
Fission-core version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunak_deshmukh committed Aug 8, 2022
1 parent 2597dd7 commit c3aaa3a
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 20 deletions.
4 changes: 2 additions & 2 deletions charts/fission-core/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -12,4 +12,4 @@ maintainers:
- email: [email protected]
name: Ta Ching Chen
name: fission-core
version: 1.3.0
version: 1.4.0
2 changes: 1 addition & 1 deletion charts/fission-core/requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
6 changes: 3 additions & 3 deletions charts/fission-core/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -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!

Expand Down
38 changes: 28 additions & 10 deletions charts/fission-core/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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 -}}
Expand Down Expand Up @@ -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 -}}
Expand Down Expand Up @@ -447,6 +462,9 @@ spec:
volumeMounts:
- name: fission-storage
mountPath: /fission
ports:
- containerPort: 8000
name: http
serviceAccount: fission-svc
volumes:
- name: fission-storage
Expand Down
38 changes: 34 additions & 4 deletions charts/fission-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
#traceSamplingRate: 0.75

0 comments on commit c3aaa3a

Please sign in to comment.