-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[App Service] Add support for linux sitecontainers #30776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| webapp create | cmd webapp create added parameter sitecontainers_app |
||
| webapp sitecontainers | sub group webapp sitecontainers added |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
kumaramit-msft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do these validations too:
- Only one main container should be allowed to be added.
- Target port if provided should be an integer in port range 1-65535
- Environment Value should be an AppSetting ref, so it should exist in site appsettings list.
- Avoid port conflicts in multiple sidecars. Same target port in multiple sidecars should be flagged.
- Check system identity is enabled for site, if auth-type is system identity.
- Check user-assigned managed identity is already added to site and client-id is one among them for MI case.
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
please fix the CI issues. |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 30776 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
please re-recording the yaml file of the failed tests to fix them. |
|
please note that Azure CLI will freeze the code on 02/25/2025 10:00 UTC for the upcoming release. If you want to catch this release train, please resolve the comments ASAP, otherwise this PR has to be postponed to next sprint. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az webapp createaz webapp sitecontainers createaz webapp sitecontainers updateaz webapp sitecontainers deleteaz webapp sitecontainers showaz webapp sitecontainers listaz webapp sitecontainers logaz webapp sitecontainers statusDescription
Adding support for sitecontainers commands for azure web apps. Sitecontainers is a new capability supported on linux webapps: https://azure.github.io/AppService/2024/11/08/Global-Availability-Sidecars.html
Testing Guide
Create a new webapp of type=sitecontainers
az webapp create --name {} --resource-group {} --sitecontainers-appCreate Sitecontainers
az webapp sitecontainers create --name {} --resource-group {} --container-name {} --image {} --target-port {}az webapp sitecontainers create --name {} --resource-group {} --sitecontainers-spec-file {}az webapp sitecontainers update --name {} --resource-group {} --container-name {} --image {} --target-port {}az webapp sitecontainers delete --name {} --resource-group {} --container-name {}az webapp sitecontainers show --name {} --resource-group {} --container-name {}az webapp sitecontainers show --name {} --resource-group {}az webapp sitecontainers log --name {} --resource-group {} --container-name {}az webapp sitecontainers status --name {} --resource-group {} --container-name {}History Notes
[App Service]
az webapp sitecontainers: Add new commands for linux web app sitecontainersThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.