AKS-Construction/samples
Paul Lewis 55cebf0622
Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705)
* - Updated K8s version to current default
- Updated region list to include all current regions
- Updated SKU families to include latest v5 and remove oldest v2
- Updated generate-vm-sku-list.sh logic to pick correct storage parameter for ephemeral storage

* - Updated default system and user node SKU to use Standard_D4ds_v5
- Updated cost optimised clusters to use Standard_B4s_v2, and performance clusters to Standard_D8ds_v4
- Updated workflows to use current gen VM SKUs Standard_D4ds_v5

* - Changed default node pool names to "agentpool" and "userpool01" to align more closely with the Portal

* - Changed default OS disk size to 128 GB (to match portal behaviour)

* - Updated default Kubernetes versions in main.bicep and other JSON config files

* Adding userpool and agentpool to spell expections

* Reverting managedClusters API version

* Updated aksOutboundTrafficType from natGateway to managedNatGateway to try and address build issues

* Updated aksOutboundTrafficType to loadBalancer to try and address build issues

* Changed managedClusters API version to 2023-11-01

* Changed 'natGateway' to 'managedNatGateway' to align with current examples

* Changed 'natGateway' to 'managedNATGateway' to align with current API spec

* Updated another reference to natGateway
Updated workflow to use in-branch version of AksDeploy-Basic.parameters.json isntead of hosted version (which won't be up-to-date with any changes in current branch)

* Reverting to 0.10.4 as reverting to API version 2023-11-01 hasn't taken effect as this is pulled from the latest published release rather than in-branch

* Enclosing `natGatewayProfile` in `networkProfile` key

* Pointing workflow at local parameter file to reflect changes in local branch

* Pointing workflow at local parameter file to reflect changes in local branch

* Pointing workflow at local parameter file to reflect changes in local branch

* Pointing workflow at local parameter file to reflect changes in local branch

* Temporarily pointing to this working branch for testing

* Reverting to 0.10.5 as 0.10.4 contains a parameter thats been removed from the API

* Reverting ParamFile to the file on main branch. This will cause builds to fail until changes in this PR get published.

* - Added branch variable to allow workflows to build off current branch for PRs
- Reverted AKS API version to 2024-01-01

* - Added branch variable to allow workflows to build off current branch for PRs

* - Added branch variable to allow workflows to build off current branch for PRs

* - Reverting change from natGateway to managedNATGateway, back to natGateway

* - Reverting change from natGateway to managedNATGateway, back to natGateway

* - Trying to fix the error about the natGatewayProfile:
`unknown field \\\"natGatewayProfile\\\" Check that the field is in the right location, is spelled correctly, and is supported in the API version`

* Enclosing `natGatewayProfile` in `networkProfile` key

* - Commenting out problematic code for testing

* - Changed default outbound type to loadBalancer for pipeline tests
- Reverting previous changes to `managedNATGatewayProfile` JSON snippets
2024-08-09 19:57:17 +01:00
..
deploy-stages Paullewis/update-bicep-resources (#691) 2024-04-09 19:31:47 +01:00
flux Paullewis/update-bicep-resources (#691) 2024-04-09 19:31:47 +01:00
peered-vnet Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
shared-acr Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
terraform Making terraform tab visible by default. (#299) 2022-06-07 22:08:53 +01:00
windows Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
README.md squash (#593) 2023-06-02 11:44:15 +01:00
SampleAppMain.bicep Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
SampleAppMain.json Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
SystemPresetExample.bicep Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
SystemPresetExample.json Updated regions and VM SKUs available in Helper UI, and changed default SKU selections (#705) 2024-08-09 19:57:17 +01:00
deployToRegistry.ps1 Sample - ACR Publish (#379) 2022-09-12 10:17:26 +00:00
networkforbyo.bicep Adds support for BYO Managed Identity & staged deployment sample (#541) 2023-03-20 12:23:35 +00:00
networkforbyo.json squash (#593) 2023-06-02 11:44:15 +01:00
shortLocationNames.json Better shows how to do both naming and sizing in app main 2021-11-30 16:25:08 +00:00

README.md

Samples

These samples demonstrate relevant Bicep patterns and show how to best consume the bicep modules from this project in your own deployments.

Filename Description Deploy
SampleAppMain.bicep When consuming the AKS Construction Bicep as a module, doing so from your own Bicep file is recommended. This sample shows using environment mapping, custom naming and basic conditional logic for using the module. Deploy to Azure (via Azure portal UI)
SystemPresetExample.bicep The AKS Construction Bicep uses preset configurations for the system pool. Where you wish to deviate from these recommended presets, you can provide your own custom preset. This sample shows how to achieve that. Deploy to Azure (via Azure portal UI)
Multi-Cluster with Peered vNets When more control is required on the Networking and Resource Groups, you can deploy at the subscription scope. Deploy to Azure (via Azure portal UI)
Shared ACR Where an existing Azure Container Registry exists in a different resource group, this sample shows how to create the scoped 'ACR Pull' role assignment that the AKS cluster requires. Deploy to Azure (via Azure portal UI)
NetworkForByo.bicep When using the BYO network configuration you'll usually be deploying to a subscription with a peered virtual network already deployed with the correct subnets. This bicep file bridges the gap where you don't yet have that virtual network, but want to BYO network. Deploy to Azure (via Azure portal UI)
Deployment Stages Creating a staged deployment with an existing Managed Identity, Network Subnet and ACR, this configuration demonstrates how to pass the BYO Identity into AKS-Construction for Azure Subscriptions with restricted RBAC.