Skip to content

[AKS] az aks create/approuting: Add default NIC config for app routing#31286

Merged
yanzhudd merged 9 commits intoAzure:devfrom
jaiveerk:dev
May 7, 2025
Merged

[AKS] az aks create/approuting: Add default NIC config for app routing#31286
yanzhudd merged 9 commits intoAzure:devfrom
jaiveerk:dev

Conversation

@jaiveerk
Copy link
Contributor

Related command
az aks create
az aks approuting

Description
Adds functionality to allow users to specify the default nginx ingress controller type on the app routing add-on. Sets the ingressProfile.webAppRouting.nginx.defaultIngressControllerType field via the az aks create command (via the paramter --app-routing-default-nginx-controller) as well as the az aks approuting command (via the parameter --nginx).

Testing Guide
az aks create .... --app-routing-default-nginx-controller={external|internal|none|annotationcontrolled}
az aks approuting enable --nginx={external|internal|none|annotationcontrolled}
az aks approuting update --nginx={external|internal|none|annotationcontrolled}

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Apr 16, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️core
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️latest
️✔️3.12
️✔️3.9

@azure-client-tools-bot-prd
Copy link

Hi @jaiveerk,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Apr 16, 2025

⚠️AzureCLI-BreakingChangeTest
⚠️acs
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd aks approuting enable cmd aks approuting enable added parameter nginx
⚠️ 1006 - ParaAdd aks approuting update cmd aks approuting update added parameter nginx
⚠️ 1006 - ParaAdd aks create cmd aks create added parameter app_routing_default_nginx_controller

@yonzhan
Copy link
Collaborator

yonzhan commented Apr 16, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@jaiveerk
Copy link
Contributor Author

@yanzhudd @zhoxing-ms would it be possible to get a review on this to make it in time for the current milestone?

@FumingZhang
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@FumingZhang
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jaiveerk jaiveerk changed the title [AKS] Adding Default NIC Config for App Routing [AKS] Adding Default NIC Config for App Routing Apr 22, 2025
@FumingZhang
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jaiveerk jaiveerk changed the title [AKS] Adding Default NIC Config for App Routing [AKS] Add Default NIC Config for App Routing Apr 23, 2025
@FumingZhang
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@FumingZhang
Copy link
Member

FumingZhang commented Apr 24, 2025

lgtm, queued live test days ago, test passed!

  • test_aks_create_with_app_routing_enabled
  • test_aks_create_with_app_routing_enabled_and_nginx_specified
  • test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv
  • test_aks_approuting_enable_disable
  • test_aks_approuting_enable_with_internal_nginx_then_disable
  • test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id
  • test_aks_approuting_update
  • test_update_app_routing_profile

@jaiveerk
Copy link
Contributor Author

lgtm, queued live test days ago, test passed!

  • test_aks_create_with_app_routing_enabled
  • test_aks_create_with_app_routing_enabled_and_nginx_specified
  • test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv
  • test_aks_approuting_enable_disable
  • test_aks_approuting_enable_with_internal_nginx_then_disable
  • test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id
  • test_aks_approuting_update
  • test_update_app_routing_profile

Looks like live tests passed! What's the next step here?

@jaiveerk
Copy link
Contributor Author

jaiveerk commented May 1, 2025

@yanzhudd @zhoxing-ms just bumping this for review, thanks!

Copy link
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FumingZhang
Copy link
Member

@jaiveerk, it is a public holiday in China from May 1st to May 5th. After the holiday, the CLI team member will review and merge the PR.

@yanzhudd
Copy link
Contributor

yanzhudd commented May 7, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd yanzhudd changed the title [AKS] Add Default NIC Config for App Routing [AKS] az aks create/approuting: Add default NIC config for app routing May 7, 2025
@yanzhudd
Copy link
Contributor

yanzhudd commented May 7, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd yanzhudd merged commit c5bd23f into Azure:dev May 7, 2025
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS az aks/acs/openshift Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants