11functionNamespace : openfaas-fn # Default namespace for functions
22
3- # See https://www.openfaas.com/support for more
3+ # Contact us via https://www.openfaas.com/support to purchase a license
44openfaasPro : false
55
6- serviceType : NodePort
7- exposeServices : true
8- async : true
9- httpProbe : true # Setting to true will use HTTP for readiness and liveness probe on the OpenFaaS system Pods (incompatible with Istio < 1.1.5)
10- rbac : true
11- clusterRole : false # Set to true for multiple namespaces
12- createCRDs : true
13- basic_auth : true
14- generateBasicAuth : false
6+ httpProbe : true # Setting to true will use HTTP for readiness and liveness probe on the OpenFaaS core components
7+ clusterRole : false # Set to true for multiple namespaces, pro scaler and CPU/RAM metrics in OpenFaaS REST API
8+ createCRDs : true # Set to false if applying CRDs in another way
9+
10+ basic_auth : true # Authentication for core components, no good reason to disable this
11+ rbac : true # Kubernetes RBAC, no good reason to disable this
12+ generateBasicAuth : false # Set to false if applying credentials separately from the chart, otherwise set to true
1513securityContext : true
1614
15+ exposeServices : true
16+ serviceType : NodePort # serviceType for OpenFaaS gateway
17+ async : true # No known reason to disable this, kept for legacy reasons
18+
1719# Set to true to use legacy / community-edition auto-scaling
1820# when openfaasPro is set to true to use the original
1921# auto-scaling logic
@@ -31,10 +33,10 @@ openfaasImagePullPolicy: "Always"
3133# clusterRole is also recommended for collecting CPU/RAM metrics for Pro add-ons
3234
3335# OpenFaaS Pro
34- # Advanced auto-scaling on RPS, CPU and in-flight requests
36+ # Advanced auto-scaler for scaling functions on RPS, CPU and in-flight requests
3537# Includes: scale to zero
36- proScaler :
37- image : alexellis2/openfaas-pro-scaler :0.1.3
38+ autoscaler :
39+ image : ghcr.io/openfaasltd/autoscaler :0.2.0
3840 replicas : 1
3941 enabled : false
4042 resources :
@@ -46,6 +48,7 @@ proScaler:
4648# OpenFaaS Pro
4749# Original scale to zero feature
4850# set "enabled=false" when using proScaler
51+ # since the proScaler handles scaling to zero now.
4952faasIdler :
5053 image : ghcr.io/openfaas/faas-idler-pro:0.4.4
5154 replicas : 1
@@ -119,8 +122,8 @@ faasnetes:
119122 readTimeout : " 60s"
120123 writeTimeout : " 60s"
121124 imagePullPolicy : " Always" # Image pull policy for deployed functions
122- httpProbe : true # Setting to true will use HTTP for readiness and liveness probe on Pods (incompatible with Istio < 1.1.5)
123- setNonRootUser : false
125+ httpProbe : true # Setting to true will use HTTP for readiness and liveness probe on function pods
126+ setNonRootUser : false # It's recommended to set this to "true", but test your images before committing to it
124127 readinessProbe :
125128 initialDelaySeconds : 2
126129 timeoutSeconds : 1 # Tuned-in to run checks early and quickly to support fast cold-start from zero replicas
0 commit comments