Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Deploying and executing your functions in Kubernetes

Once KEDA is installed, you can deploy your container on it. When deploying a container on Kubernetes, you should set it up so that it will be able to access the container registry. If you're using AKS and want to authenticate to ACR, you can follow the guide found at https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aks#grant-aks-access-to-acr:

func kubernetes deploy --name nameOfTheFunctionAppInsideKubernetes --image-name yourAcrName.azurecr.io/mycustomimage:v1.0.0

To see whether the container was deployed correctly, you can use the following command, with the optional --watch option to keep it running until you stop it:

kubectl get pods

The following screenshot ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content