Closed hxalid closed 5 years ago
@hxalid I have merged this into master now and built v0.3.5
this is now available on quay in the registry.
Thank you very much for your work on this issue, it is much appreciated.
@nicholasjackson @acornies I'm facing the same issue here, I'm using this openfaas on centos and it seems the scaling is not working here
[centos@serverless-env-bastion warm-starts-scenarios]$ curl -s http://192.168.0.14:8080/system/function/fibfunction | jq
{
"name": "fibfunction",
"image": "mabuaisha/fibfunction:latest",
"invocationCount": 0,
"replicas": 1,
"envProcess": "",
"availableReplicas": 1,
"labels": {
"com.openfaas.scale.factor": "20",
"com.openfaas.scale.max": "5",
"com.openfaas.scale.min": "3",
"com.openfaas.scale.zero": "true"
},
"annotations": null
}
Since the com.openfaas.scale.min=3
I think the replicas
& availableReplicas
should match the number 3
not 1, right ?
This is the version of openfaas I'm using
[centos@serverless-env-bastion warm-starts-scenarios]$ curl -s http://192.168.0.14:8080/system/info | jq
{
"provider": {
"provider": "",
"version": {
"sha": "",
"release": "0.3.6"
},
"orchestration": "nomad"
},
"version": {
"commit_message": "Update swagger for missing secret definitions",
"sha": "a65df4795bc66147c41161c48bfd4c72f60c7434",
"release": "0.9.14"
}
}
Your help is appreciated on this
Should not be the number of initial replicas set to 3 instead of 1, why the initial replicas is set to 1 instead of 3 ?
(Thanks for reporting an issue! Please make sure you click the link above to view the issue guidelines, then fill out the blanks below.)
What are the steps to reproduce this issue?
What happens? It goes up to 20
What were you expecting to happen? It should not go beyond com.openfaas.scale.max, which is 5.
Any logs, error output, etc?
Any other comments?
…
What versions of software are you using?
Operating System: Ubuntu 16.04
OpenFaaS Version: …
Nomad Version: … Nomad v0.8.6