Skip to content
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

Announcement: Azure Container Apps CLI extension for Microsoft.App namespace #152

Closed
anthonychu opened this issue Mar 29, 2022 · 2 comments
Labels
ANNOUNCEMENT Announcement from the product group

Comments

@anthonychu
Copy link
Member

A few weeks ago, we announced that we're migrating existing Azure Container Apps from the Microsoft.Web namespace to Microsoft.App (follow the progress here). You don't need to wait to start creating new Container Apps resources in Microsoft.App — you can do that today. We've released a new version of the Azure CLI extension for Azure Container Apps that lets you create and manage apps in the new namespace.

The Azure Container Apps CLI extension is currently in preview. Expect changes as we continue to add features and improvements in the coming months.

What's new?

Here are some of the bigger changes in this version of the CLI extension. Keep in mind that there are many more smaller updates. Add --help after any command to read about how to use it.

  • The extension is now available as a public Azure CLI extension. This means you can install and update it using simpler commands (see below).

  • This version only works with apps in the Microsoft.App namespace. If you also have Microsoft.Web Container Apps resources, you'll need to switch between the Microsoft.Web and Microsoft.App versions of the CLI extension until we migrate all the apps in your subscription to Microsoft.App.

  • az containerapp env create now automatically creates a Log Analytics workspace if one is not supplied.

  • az containerapp create includes some improvements, including:

    • The command is idempotent.
    • The app is created in single revision mode by default.
    • Secrets and environment variables are now set using space separated name/value pairs, consistent with other CLI commands.
  • az containerapp update has been simplified to focus on managing settings in your app's template.

    • For an app in single revision mode, it updates the app.
    • For an app in multiple revision mode, it creates a new revision based on the latest revision. To base changes on another revision, use the new az containerapp revision copy command.
  • To manage specific features, we've added several task-specific subgroups, including ingress, revision, and secret.

  • There's are new dapr and env dapr-component subgroups. We recently announced some changes to how Dapr is integrated with Azure Container Apps. These new subgroups contain commands for working with Dapr.

Installation

Before installing any version of the Azure Container Apps CLI extension, ensure you've removed any previously installed versions:

az extension remove -n containerapp

Install the latest Microsoft.App version

az extension add -n containerapp

Install the previous Microsoft.Web version

az extension add \
  --source https://workerappscliextension.blob.core.windows.net/azure-cli-extension/containerapp-0.2.4-py2.py3-none-any.whl

Resources

Feedback and questions

Let us know if you have any questions or feedback by opening an issue.

@sshquack
Copy link

sshquack commented Mar 30, 2022

@anthonychu This is awesome update! Two questions:

  • Does azcli containerapp bash completion work now?
  • What is the approximate ETA for container apps to be GA/production ready?

@adeturner
Copy link

adeturner commented Apr 2, 2022

Great news, I can confirm http apps are working fine. I however have a question about keda scaling .... which seems to have disappeared

It is referenced here in Nov: #42

but with the new release...

$ az containerapp update -n ${CONTAINERAPP_NAME} -g ${FRONTEND_RESOURCE_GROUP} --scale-rules $SCALE_RULES_FILE
unrecognized arguments: --scale-rules rules.yaml

Am I missing something? Thanks

thomast1906 added a commit to thomast1906/thomasthorntoncloud-examples that referenced this issue Apr 10, 2022
@kendallroden kendallroden unpinned this issue Apr 21, 2022
@SophCarp SophCarp added the ANNOUNCEMENT Announcement from the product group label Mar 1, 2023
@simonjj simonjj closed this as completed Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ANNOUNCEMENT Announcement from the product group
Projects
None yet
Development

No branches or pull requests

5 participants