# azure/aks-construction architecture

> Architecture diagram of the GitHub repository azure/aks-construction, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/azure/aks-construction
- Repository: https://github.com/azure/aks-construction

## Overview

AKS Construction guides users from operational/security presets and cluster, network, add-on, and workload choices to generated deployment assets. The helper is the primary user-facing workflow; its Deploy view produces CLI, GitHub Actions, and Terraform-oriented instructions for the modular Bicep infrastructure. The repository also includes post-deployment Kubernetes support. Edges reflect README statements or the shown imports/reference index; unsampled deployment and infrastructure internals are represented at directory level rather than inferred in detail.

Main entry points: [`helper/src/components/portalnav.js`](https://github.com/azure/aks-construction/blob/main/helper/src/components/portalnav.js) (Guided workflow), [`helper/src/components/common.js`](https://github.com/azure/aks-construction/blob/main/helper/src/components/common.js) (Shared UI utilities), [`helper/src/components/deployTab.js`](https://github.com/azure/aks-construction/blob/main/helper/src/components/deployTab.js) (Deployment assets), [`bicep/main.bicep`](https://github.com/azure/aks-construction/blob/main/bicep/main.bicep) (Bicep entry template)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_helper["Configuration Helper"]
  node_app["Helper app<br/>[App.js]"]
  node_navigation["Guided workflow<br/>[portalnav.js]"]
  node_presets["Principle presets<br/>[presets.js]"]
  node_cluster["Cluster settings<br/>[clusterTab.js]"]
  node_network["Network settings<br/>[networkTab.js]"]
  node_addons["Add-on settings<br/>[addonsTab.js]"]
  node_apps["Workload samples<br/>[appsTab.js]"]
  node_deploy["Deployment assets<br/>[deployTab.js]"]
  node_common["Shared UI utilities<br/>[common.js]"]
  node_preview["Feature preview dialog<br/>[previewDialog.js]"]
  node_metrics["Web vitals<br/>[reportWebVitals.js]"]
end

subgraph group_iac["Infrastructure as Code"]
  node_mainiac["Bicep entry template<br/>[main.bicep]"]
  node_iacmodules["Azure resource modules"]
end

subgraph group_postdeploy["Cluster Operations"]
  node_postdeploy["Post-deployment setup"]
end

node_user(("Cluster builder"))
node_azure[("Azure environment")]

node_user -->|"opens"| node_app
node_app -->|"renders"| node_navigation
node_navigation -->|"uses"| node_presets
node_navigation -->|"renders"| node_cluster
node_navigation -->|"renders"| node_network
node_navigation -->|"renders"| node_addons
node_navigation -->|"renders"| node_apps
node_navigation -->|"renders"| node_deploy
node_navigation -->|"renders"| node_preview
node_cluster -->|"uses"| node_common
node_network -->|"uses"| node_common
node_addons -->|"uses"| node_common
node_apps -->|"uses"| node_common
node_deploy -->|"uses"| node_common
node_deploy -->|"generates instructions for"| node_mainiac
node_mainiac -->|"references"| node_iacmodules
node_mainiac -->|"deploys resources to"| node_azure

click node_app "https://github.com/azure/aks-construction/blob/main/helper/src/App.js"
click node_navigation "https://github.com/azure/aks-construction/blob/main/helper/src/components/portalnav.js"
click node_presets "https://github.com/azure/aks-construction/blob/main/helper/src/components/presets.js"
click node_cluster "https://github.com/azure/aks-construction/blob/main/helper/src/components/clusterTab.js"
click node_network "https://github.com/azure/aks-construction/blob/main/helper/src/components/networkTab.js"
click node_addons "https://github.com/azure/aks-construction/blob/main/helper/src/components/addonsTab.js"
click node_apps "https://github.com/azure/aks-construction/blob/main/helper/src/components/appsTab.js"
click node_deploy "https://github.com/azure/aks-construction/blob/main/helper/src/components/deployTab.js"
click node_common "https://github.com/azure/aks-construction/blob/main/helper/src/components/common.js"
click node_preview "https://github.com/azure/aks-construction/blob/main/helper/src/components/previewDialog.js"
click node_metrics "https://github.com/azure/aks-construction/blob/main/helper/src/reportWebVitals.js"
click node_mainiac "https://github.com/azure/aks-construction/blob/main/bicep/main.bicep"
click node_iacmodules "https://github.com/azure/aks-construction/tree/main/bicep"
click node_postdeploy "https://github.com/azure/aks-construction/tree/main/postdeploy"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_navigation,node_presets,node_cluster,node_network,node_addons,node_apps,node_deploy,node_common,node_preview,node_metrics toneBlue
class node_mainiac,node_iacmodules,node_azure toneAmber
class node_postdeploy toneMint
class node_user toneIndigo
```

## Components

### Configuration Helper

- [Helper app](https://github.com/azure/aks-construction/blob/main/helper/src/App.js): `helper/src/App.js`
- [Guided workflow](https://github.com/azure/aks-construction/blob/main/helper/src/components/portalnav.js): `helper/src/components/portalnav.js`
- [Principle presets](https://github.com/azure/aks-construction/blob/main/helper/src/components/presets.js): `helper/src/components/presets.js`
- [Cluster settings](https://github.com/azure/aks-construction/blob/main/helper/src/components/clusterTab.js): `helper/src/components/clusterTab.js`
- [Network settings](https://github.com/azure/aks-construction/blob/main/helper/src/components/networkTab.js): `helper/src/components/networkTab.js`
- [Add-on settings](https://github.com/azure/aks-construction/blob/main/helper/src/components/addonsTab.js): `helper/src/components/addonsTab.js`
- [Workload samples](https://github.com/azure/aks-construction/blob/main/helper/src/components/appsTab.js): `helper/src/components/appsTab.js`
- [Deployment assets](https://github.com/azure/aks-construction/blob/main/helper/src/components/deployTab.js): `helper/src/components/deployTab.js`
- [Shared UI utilities](https://github.com/azure/aks-construction/blob/main/helper/src/components/common.js): `helper/src/components/common.js`
- [Feature preview dialog](https://github.com/azure/aks-construction/blob/main/helper/src/components/previewDialog.js): `helper/src/components/previewDialog.js`
- [Web vitals](https://github.com/azure/aks-construction/blob/main/helper/src/reportWebVitals.js): `helper/src/reportWebVitals.js`

### Infrastructure as Code

- [Bicep entry template](https://github.com/azure/aks-construction/blob/main/bicep/main.bicep): `bicep/main.bicep`
- [Azure resource modules](https://github.com/azure/aks-construction/tree/main/bicep): `bicep`

### Cluster Operations

- [Post-deployment setup](https://github.com/azure/aks-construction/tree/main/postdeploy): `postdeploy`

### Other components

- **Cluster builder**
- **Azure environment**

## Connections

- Cluster builder → Helper app: opens (evidence: `README.md`)
- Helper app → Guided workflow: renders (evidence: `helper/src/App.js`)
- Guided workflow → Principle presets: uses (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Cluster settings: renders (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Network settings: renders (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Add-on settings: renders (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Workload samples: renders (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Deployment assets: renders (evidence: `helper/src/components/portalnav.js`)
- Guided workflow → Feature preview dialog: renders (evidence: `helper/src/components/portalnav.js`)
- Cluster settings → Shared UI utilities: uses (evidence: `helper/src/components/clusterTab.js`)
- Network settings → Shared UI utilities: uses (evidence: `helper/src/components/networkTab.js`)
- Add-on settings → Shared UI utilities: uses (evidence: `helper/src/components/addonsTab.js`)
- Workload samples → Shared UI utilities: uses (evidence: `helper/src/components/appsTab.js`)
- Deployment assets → Shared UI utilities: uses (evidence: `helper/src/components/deployTab.js`)
- Deployment assets → Bicep entry template: generates instructions for (evidence: `README.md`)
- Bicep entry template → Azure resource modules: references (evidence: `README.md`)
- Bicep entry template → Azure environment: deploys resources to (evidence: `README.md`)
