Skip to content

[pull] master from openfaas:master #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,248 commits into
base: master
Choose a base branch
from

Conversation

sync-upstream[bot]
Copy link

@sync-upstream sync-upstream bot commented Jan 13, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

alexellis and others added 28 commits October 19, 2023 11:38
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
* Cleans-up unused code to reduce size used in memory, during CI
and at deployment time.
* Updates Go version to 1.21

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
* OpenFaaS CE gets an update to client-go 1.28
* OpenFaaS CE / Standard gets support for leader election

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
This is no longer required with a lease-based Leader Election

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Leader election is now available for OpenFaaS Pro - both
editions.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Routine updates for various images for dependencies.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Minor maintenance updates for both components.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
NATS core monitoring is no longer needed due to the metrics
emitted by the queue-worker itself in JetStream mode

The queue-worker will now retry 503s if they come from the
faas-provider HTTP proxy.

The port 8082 which servers metrics from the gateway is now
set as an explicit port in the Pod spec for visibility.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Fixes: #1168

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Show a full example of the AWS credentials file to use the
pro-builder with ECR.

Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
For OpenFaaS Standard in operator mode, listing and querying
the status/number of ready replicas for functions has become
much quicker.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Whilst NATS Streaming hasn't been updated since Jan 11, the
image has a newer version.

Prometheus gets a bump to v2.48.0

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
This enables functions to be exposed from other namespaces
than the default for OpenFaaS for Enterprises customers.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
* Fixes issue with indenting of requests/limits for
cron-connector
* Updates ingress-operator to support functionNamespace for
FunctionIngress CRs

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Switches over to using Zap/klog v2 for all logging from the
operator (Pro/Enterprise) can configure JSON logging and
debug.

The controller mode cannot override these settings via the
Helm chart at present.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
alexellis and others added 30 commits December 9, 2024 09:52
These are not required and are added automatically

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
* Async cancellation support in the gateway and jetstream-
queue-worker.
* Updates for Go 1.23 and go.mod for various components

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
The dashboard now has a graphs page for each function which
shows latency by status code over time.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Limited testing is permitted within the EULA using private
images so long as they are published to a registry on localhost.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Adds: load, replicas, CPU/RAM, etc. Try it out, let us know
what you think.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Due to changes introduced with support for async cancellation,
callbacks were being cancelled.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Fixes a panic in the gateway when listing functions if
Prometheus was down/unavailable.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
A panic made the cron-connector crash if the gateway
return an error or EOF during its invocation.

With faasd, this meant the connector stayed in an exited state
with Kubernetes, it would have restarted, however it's always
better if there is no panic, and the code can recover
gracefully.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Fixes deletion issues for dashboard for faasd primarily

Adds metrics and queue depth to rabbitmq-connector

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Update to this version as soon as possible.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
If there is a networking issue for your node or cluster, you
may find the operator's informers disconnect. You'd see an
error if that happened. This will now be reported through
the health endpoint so that Kubernetes can restart the
container.

This is a rare error, but can be non-obvious to spot. See
the customer community discussions for more.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
The target as per the docs, when no label is set was 50.

This is still the case, however, it can be customised via
autoscaler.defaultTarget for people who are upgrading an old
cluster, or who deploy functions via REST and cannot yet
update their tooling

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Functions will now be reconciled to drop all Linux capabilities
when using the Enterprise Edition.

setNonRoot will also be set in the container's security context
for functions, when setNonRoot is configured in the Helm chart
previously it only set the UID to a number > 0.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
When the previous image 0.3.17 was deployed, if no autoscaling
settings were set, then RPS was taking over as designed. But
due to a bug, it was setting a scale target of 0 instead of
50, meaning any invoked function scaled immediately to
maximum replicas.

This issue was only present in 0.3.17 when a chart-level
override was introduced. The new image 0.3.18 fixes the issue.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Update messages for set replicas. Remove message for get
replicas.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants