Skip to content

Commit

Permalink
Turn off verbose logging in autoscaler by default
Browse files Browse the repository at this point in the history
The verbose option when set to false shows only write operations
to the OpenFaaS API. To see full info and debug logging then set
the verbose option to true. This is controlled by a new
environment variable.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jul 19, 2024
1 parent b5750f2 commit 58743cc
Show file tree
Hide file tree
Showing 17 changed files with 549 additions and 518 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.57
version: 14.2.58
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
9 changes: 8 additions & 1 deletion chart/openfaas/values-pro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ openfaasPro: true
operator:
create: true

# leaderElection is not required if running only one gateway replica
# leaderElection is required if gateway.replicas > 1 and makes sure
# that only one instance is running the reconciliation loop to
# convert Function CRDs into Kubernetes resources.
leaderElection:
enabled: true

Expand Down Expand Up @@ -40,6 +42,11 @@ dashboard:
# https://docs.openfaas.com/architecture/autoscaling/
autoscaler:
enabled: true
# Set to "true" to learn how the autoscaler works, both for horizonal Pod scaling
# and for scaling to zero.
# The Grafana dashboards can be used in combination to see the effect of the
# autoscaler: https://docs.openfaas.com/openfaas-pro/grafana-dashboards/
verbose: false

# A cluster role is required for OpenFaaS Pro due to:
# 1) Autoscaling and metrics for functions - CPU / RAM
Expand Down
4 changes: 2 additions & 2 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
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.8
image: ghcr.io/openfaasltd/autoscaler:0.3.9
replicas: 1
enabled: true
resources:
Expand Down Expand Up @@ -371,7 +371,7 @@ nats:
host: ""
port: ""
# The version of NATS Core used with OpenFaaS Pro and JetStream
image: nats:2.10.17
image: nats:2.10.18
resources:
requests:
memory: "120Mi"
Expand Down
Binary file modified docs/cron-connector-0.6.10.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.1.0.tgz
Binary file not shown.
1,048 changes: 536 additions & 512 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file modified docs/kafka-connector-0.7.10.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.58.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.14.tgz
Binary file not shown.
Binary file modified docs/queue-worker-0.2.8.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/prometheus-dep.yml

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

0 comments on commit 58743cc

Please sign in to comment.