简体   繁体   中英

Use Azure ARM template to create an AKS cluster and deploy my Kubernetes application

I have a Kubernetes application that I'd like to deploy to Azure using ARM templates. I have a Helm chart created to deploy the application to Kubernetes and ideally I'd like the ARM template to call Helm to deploy the application after creating the AKS cluster.

Does anyone know a way to do this? I noticed that there is an extension for calling a script from a provisioned VM , is there similar extension for a created AKS?

  1. if the ARM template should be the "orchestrator", use Custom Script Extension , but this requires you to provision a VM for you script to run on.

  2. write a script, deploy ARM template, then call helm install.

  3. consider your use case, if possible. K8s cluster should be considered "infrastructure", and should be deployed separately from "application" in most real-world cases.

I am not aware of any other possibilities ...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM