I've tried to deploy a simple HttpTrigger that I've created using the following commands:
>func --version
3.0.2534
> func init --docker --worker-runtime dotnet
Writing c:\dev\demo\.vscode\extensions.json
Writing Dockerfile
Writing .dockerignore
>func function create --name functest --language C# --template HttpTrigger
Use the up/down arrow keys to select a template:Function name: functest
The function "functest" was created successfully from the "HttpTrigger" template.
Then I've created a deployment with min-replicas set to 3
In the resulting deployment file, osiris.deislabs.io/minReplicas is set to 1 and there's no ScaledObject definition (see yaml below). I was expecting either to see osiris.deislabs.io/minReplicas: 3 or a ScaledObject with minReplicaCount: 3
I've tried to deploy a simple HttpTrigger that I've created using the following commands:
Then I've created a deployment with
min-replicas
set to3
In the resulting deployment file,
osiris.deislabs.io/minReplicas
is set to1
and there's noScaledObject
definition (see yaml below). I was expecting either to seeosiris.deislabs.io/minReplicas: 3
or aScaledObject
withminReplicaCount: 3