Skip to content

Commit

Permalink
Update repsonse time for updating RAM/CPU usage for dashboard/API
Browse files Browse the repository at this point in the history
The RAM usage included previously terminated Pods within about a
15-20 minute period. The new change makes this more responsive
to only look at data over a 1m period, and to remove any usage
data when a function is scaled to zero.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed May 30, 2024
1 parent f534ed9 commit cd6745d
Show file tree
Hide file tree
Showing 18 changed files with 551 additions and 507 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.47
version: 14.2.48
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
4 changes: 2 additions & 2 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ eventWorker:

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

faasnetesPro:
image: ghcr.io/openfaasltd/faas-netes:0.5.38
image: ghcr.io/openfaasltd/faas-netes:0.5.39
logs:
debug: false
format: "console"
Expand Down
2 changes: 1 addition & 1 deletion chart/pro-builder/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Build OpenFaaS functions via a REST API
name: pro-builder
version: 0.4.13
version: 0.4.14
sources:
- https://github.com/openfaas/faas-netes
home: https://www.openfaas.com
Expand Down
4 changes: 2 additions & 2 deletions chart/pro-builder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ buildkit:
# nodepool for the function builder pods, which is recycled often
# through the use of spot instances or preemptive VMs.
#
# image: moby/buildkit:v0.13.1
# image: moby/buildkit:v0.13.2
# rootless: false
# securityContext:
# runAsUser: 0
Expand All @@ -44,7 +44,7 @@ buildkit:
# For a rootless configuration, preferred, if the configuration
# and Kernel version of your Kubernetes nodes supports it
#
image: moby/buildkit:v0.13.1-rootless
image: moby/buildkit:v0.13.2-rootless
rootless: true
securityContext:
# Needs Kubernetes >= 1.19
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.
Loading

0 comments on commit cd6745d

Please sign in to comment.