Pass explicilty Dockerfile to func kubernetes deploy

132 views Asked by At

Is there a way how to pass explicitly Dockerfile to func kubernetes deploy command? (smth like -f in docker build command) https://learn.microsoft.com/en-us/azure/azure-functions/functions-kubernetes-keda

1

There are 1 answers

0
Sajeetharan On

No you can't. you need to create a deployment yaml and then

func kubernetes deploy --name hello-keda --registry --javascript --dry-run > deploy.yaml