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
Function never autoscales #390
Comments
Can you please remove |
@stefanprodan Even without the |
Here's the Flux config I use to deploy openfaas:
|
You are using an old chart version, the latest is
|
After the upgrade to 2.1.2 please delete the functions and redeploy them, just to start a fresh test. |
@stefanprodan Thanks. I upgraded and redeployed the function with just the label:
|
Flux config for the function:
|
Ok I've checked the operator code and looks like the min replica is missing from the CRD loop. Please open an issue in here https://github.com/openfaas-incubator/openfaas-operator |
As a workaround you can set the min replicas like this apiVersion: openfaas.com/v1alpha2
kind: Function
metadata:
name: my-function
namespace: openfaas-fn
spec:
replicas: 4 |
Filed https://github.com/openfaas-incubator/openfaas-operator/issues/74 - and thank you very much for the |
/close |
/lock: closing as inactive. Feel free to raise a new issue if this is still required |
Expected Behaviour
I'm configuring a function with:
However, I never see this run with more than one replica, even when setting the factor to 100 as I have. My logs are read:
I do not know what this missing label is.
Your Environment
faas-cli version
): 0.8.3kubectl version
The text was updated successfully, but these errors were encountered: