The QuickStart provides a nice easy way of using the Azure CLI to create your AKS Environment. However once you've done this, and are more familiar with the tool, then you'll want to initiate AKS Construction is a slightly more mature way.
- Use the Helper to guide your AKS configuration.
- Capture the parameters on the Parameters File tab to a file - this is your configuration
- Grab the latest release of the bicep code
- Author an Application Main bicep to represent your application (see here for an example)
- In your CI/CD system, either using one of the GitHub Action Workflow files as a base, or by coding it yourself - initiate a deployment of the bicep code, using your parameter file
- In your CI/CD system, deploy your application(s) to the AKS cluster
- Use the Helper to guide your AKS configuration.
- Capture the parameters on the Parameters File tab to a file - this is your configuration
- Create a Git symbolic link to the AKSC repository with this command
git submodule add https://github.com/Azure/AKS-Construction.git aks-construction
- Author an Application Main bicep to represent your application, targetting the new aks-construction directory in your repo (see here for an example)
- In your CI/CD system, either using one of the GitHub Action Workflow files as a base, or by coding it yourself - initiate a deployment of the bicep code, using your parameter file
- In your CI/CD system, deploy your application(s) to the AKS cluster
These repo's all connect to AKS-Construction using a GIT submodule.
Sample Repo | Description |
---|---|
aksc petclinic | The Java Spring sample app, using AKS Construction bicep driven helm chart installation |
selenium grid aks keda | An implementation of Selenium Grid on AKS |
aks workload identity | Showcasing the different application identity options for accessing Azure Key Vault from AKS. |
- Use the Helper to guide your AKS configuration.
- On the Deploy tab, navigate to the GitHub Actions tab
- Paste your Workload/Infra GitHub Repo URL into the textbox
- Inspect and run the script in the first script box to create an Identity in Azure and the secrets in your GitHub repo
- In your repo, create a new file in your
.github/workflows
folder, pasting in the yaml from the GitHub Actions script box - Commit the file to your main branch
- In your repo, navigate to the actions tab and initiate the new workflow
- Inspect the created resources in your Azure Subscription