May 2021 update to Containers extension on Windows Admin Center

Published 05-25-2021 09:00 AM 571 Views

Since last year, we've been hard at work on the Containers extension adding new functionality to make the management of Windows containers easier. Today we have yet another update for you!

 

The journey of containerizing existing applications using Windows Admin Center starts by creating a new containers image - Windows Admin Center can create a container image based on existing Visual Studio solutions, Web Deploy files, and more. Next, you can run the container image locally or push your image to Azure Container Registry (ACR) and run it in the cloud with Azure Container Instance (ACI). However, these options for running the container image are options for single instances - no container orchestrator in place.

 

As we listened for customer feedback, it became clear that many IT admins out there were looking for simple solutions to get their apps running - but the barrier of entry for Kubernetes is high. Creating your workload definition on YAML is not trivial. Our goal with this update is make the process of deploying applications on Azure Kubernetes Service (AKS) and AKS on Azure Stack HCI (AKS-HCI) as easy as possible.

 

Creating new Workload Definitions

With the updated version of the Container extension you'll see a new Kubernetes section on the side-menu. The first option is the Workload Definition, on which you can create YAML files that are used to specify how your application should be deployed. If you want to create a new Workload Definition, you can click the option to create new and this will start a wizard-like experience:

01.png

In the wizard you'll provide some information about your application, such as the container image to use, the CPU and Memory configuration, the number of pod replicas, etc. With this information, Windows Admin Center will create a new YAML file - which you can edit if you want to. With the YAML file created you can then deploy it to AKS or AKS-HCI.

 

Deploying workloads

Once you have a YAML file created, you can select the option to apply the workload definition to AKS or AKS-HCI. In the background, Windows Admin Center will use kubectl to connect to the cluster you specified. If you select an AKS cluster, the kubectl configuration will be retrieved from Azure. If you select AKS-HCI, you need to specify the host cluster name and credentials, so Windows Admin Center can retrieve the configuration for your target cluster. 

02.png

 

However, there's more happening under the covers. When you specify your container image to use, the nodes will have to authenticate against ACR, and configuring this authentication is not trivial. Luckily, Windows Admin Center handles that for you. Basically, what it is doing is safely retrieving the configuration for ACR directly from Azure and storing it securely on your nodes as a Kubernetes secret.

 

Check your workloads

Once you deploy your workloads, you can check if it is running correctly. You can click the Kubernetes Service option on the menu, which allows you to specify which cluster you wan to check the deployments.

03.png

The image above shows the deployment of an application on AKS-HCI. The display is similar to running kubectl with the "get deployments" option. It shows some details on the deployment, including the number of pods and how many are ready.

 

Feedback

As always, please continue sending us your feedback! Each new feature we design and ship is informed by your input. You can send your comments and feedback our way either via comments below, or our GitHub repo by opening a new issue.

 

1 Comment

excelente noticias gran trabajo en windows admin center integrar kubernetes @Vinicius Apolinario 

%3CLINGO-SUB%20id%3D%22lingo-sub-2382304%22%20slang%3D%22en-US%22%3EMay%202021%20update%20to%20Containers%20extension%20on%20Windows%20Admin%20Center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382304%22%20slang%3D%22en-US%22%3E%3CP%3ESince%20last%20year%2C%20we've%20been%20hard%20at%20work%20on%20the%20Containers%20extension%20adding%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcontainers%2Fnovember-2020-containers-extension-updates-on-windows-admin%2Fba-p%2F1928364%22%20target%3D%22_blank%22%3Enew%20functionality%3C%2FA%3E%20to%20make%20the%20management%20of%20Windows%20containers%20easier.%20Today%20we%20have%20yet%20another%20update%20for%20you!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20journey%20of%20containerizing%20existing%20applications%20using%20Windows%20Admin%20Center%20starts%20by%20creating%20a%20new%20containers%20image%20-%20Windows%20Admin%20Center%20can%20create%20a%20container%20image%20based%20on%20existing%20Visual%20Studio%20solutions%2C%20Web%20Deploy%20files%2C%20and%20more.%20Next%2C%20you%20can%20run%20the%20container%20image%20locally%20or%20push%20your%20image%20to%20Azure%20Container%20Registry%20(ACR)%20and%20run%20it%20in%20the%20cloud%20with%20Azure%20Container%20Instance%20(ACI).%20However%2C%20these%20options%20for%20running%20the%20container%20image%20are%20options%20for%20single%20instances%20-%20no%20container%20orchestrator%20in%20place.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20we%20listened%20for%20customer%20feedback%2C%20it%20became%20clear%20that%20many%20IT%20admins%20out%20there%20were%20looking%20for%20simple%20solutions%20to%20get%20their%20apps%20running%20-%20but%20the%20barrier%20of%20entry%20for%20Kubernetes%20is%20high.%20Creating%20your%20workload%20definition%20on%20YAML%20is%20not%20trivial.%20Our%20goal%20with%20this%20update%20is%20make%20the%20process%20of%20deploying%20applications%20on%20Azure%20Kubernetes%20Service%20(AKS)%20and%20AKS%20on%20Azure%20Stack%20HCI%20(AKS-HCI)%20as%20easy%20as%20possible.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ECreating%20new%20Workload%20Definitions%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EWith%20the%20updated%20version%20of%20the%20Container%20extension%20you'll%20see%20a%20new%20Kubernetes%20section%20on%20the%20side-menu.%20The%20first%20option%20is%20the%20Workload%20Definition%2C%20on%20which%20you%20can%20create%20YAML%20files%20that%20are%20used%20to%20specify%20how%20your%20application%20should%20be%20deployed.%20If%20you%20want%20to%20create%20a%20new%20Workload%20Definition%2C%20you%20can%20click%20the%20option%20to%20create%20new%20and%20this%20will%20start%20a%20wizard-like%20experience%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2201.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283304iE80280032EC9942E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2201.png%22%20alt%3D%2201.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20the%20wizard%20you'll%20provide%20some%20information%20about%20your%20application%2C%20such%20as%20the%20container%20image%20to%20use%2C%20the%20CPU%20and%20Memory%20configuration%2C%20the%20number%20of%20pod%20replicas%2C%20etc.%20With%20this%20information%2C%20Windows%20Admin%20Center%20will%20create%20a%20new%20YAML%20file%20-%20which%20you%20can%20edit%20if%20you%20want%20to.%20With%20the%20YAML%20file%20created%20you%20can%20then%20deploy%20it%20to%20AKS%20or%20AKS-HCI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EDeploying%20workloads%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EOnce%20you%20have%20a%20YAML%20file%20created%2C%20you%20can%20select%20the%20option%20to%20apply%20the%20workload%20definition%20to%20AKS%20or%20AKS-HCI.%20In%20the%20background%2C%20Windows%20Admin%20Center%20will%20use%20kubectl%20to%20connect%20to%20the%20cluster%20you%20specified.%20If%20you%20select%20an%20AKS%20cluster%2C%20the%20kubectl%20configuration%20will%20be%20retrieved%20from%20Azure.%20If%20you%20select%20AKS-HCI%2C%20you%20need%20to%20specify%20the%20host%20cluster%20name%20and%20credentials%2C%20so%20Windows%20Admin%20Center%20can%20retrieve%20the%20configuration%20for%20your%20target%20cluster.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2202.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283305i7D99D99937007FC6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2202.png%22%20alt%3D%2202.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20there's%20more%20happening%20under%20the%20covers.%20When%20you%20specify%20your%20container%20image%20to%20use%2C%20the%20nodes%20will%20have%20to%20authenticate%20against%20ACR%2C%20and%20configuring%20this%20authentication%20is%20not%20trivial.%20Luckily%2C%20Windows%20Admin%20Center%20handles%20that%20for%20you.%20Basically%2C%20what%20it%20is%20doing%20is%20safely%20retrieving%20the%20configuration%20for%20ACR%20directly%20from%20Azure%20and%20storing%20it%20securely%20on%20your%20nodes%20as%20a%20Kubernetes%20secret.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3ECheck%20your%20workloads%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EOnce%20you%20deploy%20your%20workloads%2C%20you%20can%20check%20if%20it%20is%20running%20correctly.%20You%20can%20click%20the%20Kubernetes%20Service%20option%20on%20the%20menu%2C%20which%20allows%20you%20to%20specify%20which%20cluster%20you%20wan%20to%20check%20the%20deployments.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%2203.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283306iB482CD56B0EFF88C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%2203.png%22%20alt%3D%2203.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20image%20above%20shows%20the%20deployment%20of%20an%20application%20on%20AKS-HCI.%20The%20display%20is%20similar%20to%20running%20kubectl%20with%20the%20%22get%20deployments%22%20option.%20It%20shows%20some%20details%20on%20the%20deployment%2C%20including%20the%20number%20of%20pods%20and%20how%20many%20are%20ready.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EFeedback%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EAs%20always%2C%20please%20continue%20sending%20us%20your%20feedback!%20Each%20new%20feature%20we%20design%20and%20ship%20is%20informed%20by%20your%20input.%20You%20can%20send%20your%20comments%20and%20feedback%20our%20way%20either%20via%20comments%20below%2C%20or%20our%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindows-Containers%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20repo%3C%2FA%3E%26nbsp%3Bby%20opening%20a%20new%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2382304%22%20slang%3D%22en-US%22%3E%3CP%3ESince%20last%20year%2C%20we've%20been%20hard%20at%20work%20on%20the%20Containers%20extension%20adding%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fcontainers%2Fnovember-2020-containers-extension-updates-on-windows-admin%2Fba-p%2F1928364%22%20target%3D%22_blank%22%3Enew%20functionality%3C%2FA%3E%20to%20make%20the%20management%20of%20Windows%20containers%20easier.%20Today%20we%20have%20yet%20another%20update%20for%20you!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2382304%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EContainers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EKubernetes%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2401657%22%20slang%3D%22es-ES%22%3ERe%3A%20May%202021%20update%20to%20Containers%20extension%20on%20Windows%20Admin%20Center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2401657%22%20slang%3D%22es-ES%22%3E%3CP%3Egreat%20news%20great%20work%20in%20windows%20admin%20center%20integrate%20kubernetes%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F26192%22%20target%3D%22_blank%22%3E%40Vinicius%20Apolinario%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎May 24 2021 07:30 PM
Updated by: