Skip to content

Add bicep template for AKS using Azure Verified Modules#11

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-9
Draft

Add bicep template for AKS using Azure Verified Modules#11
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-9

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2025

This PR adds a complete bicep template for deploying Azure Kubernetes Service (AKS) using Azure Verified Modules, as requested in the issue.

Changes Made

Created a new aks/ subfolder containing:

  • main.bicep - Main deployment template that creates resource groups and orchestrates the AKS deployment
  • aks.bicep - AKS-specific template using Azure Verified Modules for infrastructure deployment
  • README.md - Comprehensive documentation explaining the template features and usage
  • .cheatsheet - Quick reference for deployment and post-deployment commands

Features

The AKS template includes:

  • Virtual Network Setup: Dedicated VNet with separate subnets for AKS and VMs
  • AKS Cluster Configuration:
    • System node pool for cluster operations
    • User node pool for workloads
    • Azure CNI networking
    • RBAC and AAD integration enabled
    • Managed identity authentication
  • Azure Verified Modules: Uses official AVM modules:
    • avm/res/network/virtual-network for networking
    • avm/res/container-service/managed-cluster for AKS cluster

Deployment

az deployment sub create --verbose --location swedencentral --template-file ./main.bicep

The template follows the established patterns in the repository, using the same naming conventions, parameter structure, and deployment approach as other service templates (ASE, DNS, managed runners).

Fixes #9.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: bicep build main.bicep (dns block)
    • Triggering command: bicep build test-syntax.bicep (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: h2floh <29010283+h2floh@users.noreply.github.com>
Copilot AI changed the title [WIP] Add bicep template for AKS Add bicep template for AKS using Azure Verified Modules Jun 2, 2025
Copilot AI requested a review from h2floh June 2, 2025 09:30
Copilot finished work on behalf of h2floh June 2, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add bicep template for AKS

2 participants