Skip to content

Commit

Permalink
Operator/Gateway and Autoscaler enhancements
Browse files Browse the repository at this point in the history
* the operator now exposes a metric for when the scale
endpoint is called and a change in replicas is made
* the gateway now sets a User-Agent when one isn't set already
when invoking a function, and for querying Prometheus
* the autoscaler now supports a stable window for scaling down,
see the docs for how to configure this

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Aug 7, 2024
1 parent db2b29c commit c182c02
Show file tree
Hide file tree
Showing 17 changed files with 554 additions and 530 deletions.
2 changes: 1 addition & 1 deletion chart/openfaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 14.2.62
version: 14.2.63
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
10 changes: 5 additions & 5 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ functions:
failureThreshold: 3

gatewayPro:
image: ghcr.io/openfaasltd/gateway:0.4.32
image: ghcr.io/openfaasltd/gateway:0.4.33
pprof: false

gateway:
image: ghcr.io/openfaas/gateway:0.27.8
image: ghcr.io/openfaas/gateway:0.27.9
readTimeout: "1m05s"
writeTimeout: "1m05s"
upstreamTimeout: "1m" # Must be smaller than read/write_timeout
Expand Down Expand Up @@ -145,7 +145,7 @@ eventWorker:

# For OpenFaaS Pro and the Function CRD
operator:
image: ghcr.io/openfaasltd/faas-netes:0.5.48
image: ghcr.io/openfaasltd/faas-netes:0.5.49
create: false
logs:
debug: false
Expand Down Expand Up @@ -183,7 +183,7 @@ operator:
pprof: false

faasnetesPro:
image: ghcr.io/openfaasltd/faas-netes:0.5.48
image: ghcr.io/openfaasltd/faas-netes:0.5.49
logs:
debug: false
format: "console"
Expand Down Expand Up @@ -260,7 +260,7 @@ queueWorker:
## Advanced auto-scaler for scaling functions on RPS, CPU and in-flight requests
## Includes: scale to zero
autoscaler:
image: ghcr.io/openfaasltd/autoscaler:0.3.10
image: ghcr.io/openfaasltd/autoscaler:0.3.11

# replicas should only ever be set to 1, as a singleton.
replicas: 1
Expand Down
Binary file modified docs/cron-connector-0.6.11.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.1.0.tgz
Binary file not shown.
1,066 changes: 545 additions & 521 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file modified docs/kafka-connector-0.7.11.tgz
Binary file not shown.
Binary file modified docs/mqtt-connector-0.4.7.tgz
Binary file not shown.
Binary file modified docs/nats-connector-0.3.2.tgz
Binary file not shown.
Binary file added docs/openfaas-14.2.63.tgz
Binary file not shown.
Binary file modified docs/postgres-connector-0.1.1.tgz
Binary file not shown.
Binary file modified docs/pro-builder-0.4.15.tgz
Binary file not shown.
Binary file modified docs/queue-worker-0.2.9.tgz
Binary file not shown.
Binary file modified docs/sns-connector-0.1.3.tgz
Binary file not shown.
Binary file modified docs/sqs-connector-0.2.6.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion yaml/alertmanager-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/gateway-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/prometheus-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c182c02

Please sign in to comment.