Automated Deployments for Azure Kubernetes Service (Preview)
Automated deployments simplify the process of setting up a GitHub Action and creating an automated pipeline for your code releases to your Azure Kubernetes Service (AKS) cluster. Once connected, every new commit will kick off the pipeline, resulting in your application being updated.
AKS preview features are available on a self-service, opt-in basis. Previews are provided "as is" and "as available," and they're excluded from the service-level agreements and limited warranty. AKS previews are partially covered by customer support on a best-effort basis. As such, these features aren't meant for production use. For more information, see the following support articles:
This feature is not yet available in all regions.
- A GitHub account.
- An AKS cluster.
- An Azure Container Registry (ACR)
Deploy an application to your AKS cluster
In the Azure portal, navigate to the resource group containing the AKS cluster you want to deploy the application to.
Select your AKS cluster, and then select Automated deployments (preview) on the left blade. Select Create an automated deployment.
Name your workflow and click Authorize to connect your Azure account with your GitHub account. After your accounts are linked, choose which repository and branch you would like to create the GitHub Action for.
Pick your dockerfile and your ACR and image.
Determine whether you'll deploy with Helm or regular Kubernetes manifests. Once decided, pick the appropriate deployment files from your repository and decide which namespace you want to deploy into.
Review your deployment before creating the pull request.
Click view pull request to see your GitHub Action.
Merge the pull request to kick off the GitHub Action and deploy your application.
Once your application is deployed, go back to automated deployments to see your history.
Clean up resources
You can remove any related resources that you created when you don't need them anymore individually or by deleting the resource group to which they belong. To delete your automated deployment, navigate to the automated deployment dashboard and select ..., then select delete and confirm your action.
You can modify these GitHub Actions to meet the needs of your team by opening them up in an editor like Visual Studio Code and changing them as you see fit.
Learn more about GitHub Actions for Kubernetes.
Submit and view feedback for