Skip to content

Commit 7f804a8

Browse files
authored
Merge pull request #212894 from Nickomang/release-ignite-aks-container-marketplace-2
Kubernetes application-based Azure Container offer on Marketplace
2 parents 6233de6 + bf4c72d commit 7f804a8

26 files changed

+633
-30
lines changed

articles/aks/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@
492492
- name: Use GitOps
493493
href: ../azure-arc/kubernetes/tutorial-use-gitops-flux2.md
494494
maintainContext: true
495+
- name: Deploy Kubernetes applications from Azure Marketplace
496+
href: deploy-marketplace.md
495497
- name: Deploy the Open Service Mesh AKS add-on
496498
items:
497499
- name: About Open Service Mesh

articles/aks/deploy-marketplace.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: How to deploy Azure Container offers for Azure Kubernetes Service (AKS) from the Azure Marketplace
3+
description: Learn how to deploy Azure Container offers from the Azure Marketplace on an Azure Kubernetes Service (AKS) cluster.
4+
author: nickomang
5+
ms.author: nickoman
6+
ms.service: container-service
7+
ms.topic: how-to
8+
ms.date: 09/30/2022
9+
ms.custom: devx-track-azurecli, ignite-fall-2022, references_regions
10+
---
11+
12+
# How to deploy a Container offer from Azure Marketplace (preview)
13+
14+
[Azure Marketplace][azure-marketplace] is an online store that contains thousands of IT software applications and services built by industry-leading technology companies. In Azure Marketplace you can find, try, buy, and deploy the software and services you need to build new solutions and manage your cloud infrastructure. The catalog includes solutions for different industries and technical areas, free trials, and also consulting services from Microsoft partners.
15+
16+
Included among these solutions are Kubernetes application-based Container offers, which contain applications meant to run on Kubernetes clusters such as Azure Kubernetes Service (AKS). In this article, you will learn how to:
17+
18+
- Browse offers in Azure Marketplace
19+
- Purchase an application
20+
- Deploy the application on your AKS cluster
21+
- Monitor usage and billing information
22+
23+
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
24+
25+
> [!NOTE]
26+
> This feature is currently only supported in the following regions:
27+
>
28+
> - West Central US
29+
> - West Europe
30+
> - East US.
31+
32+
## Register resource providers
33+
34+
You must have registered the `Microsoft.KubernetesConfiguration` and `Microsoft.ContainerService` providers on your subscription using the `az provider register` command:
35+
36+
```azurecli-interactive
37+
az provider register --namespace Microsoft.KubernetesConfiguration --wait
38+
az provider register --namespace Microsoft.ContainerService --wait
39+
```
40+
41+
## Browse offers
42+
43+
- Begin by visiting the Azure portal and searching for *"Marketplace"* in the top search bar.
44+
45+
- You can search for an offer or publisher directly by name or browse all offers. To find Kubernetes application offers, use the *Product type* filter for *Azure Containers*.
46+
47+
- > [!IMPORTANT]
48+
> The *Azure Containers* category includes both Kubernetes applications and standalone container images. This walkthrough is Kubernetes application-specific. If you find the steps to deploy an offer differ in some way, you are most likely trying to deploy a container image-based offer instead of a Kubernetes-application based offer.
49+
50+
- Once you've decided on an application, click on the offer.
51+
52+
:::image type="content" source="./media/deploy-marketplace/browse-marketplace-inline.png" alt-text="Screenshot of the Azure portal Marketplace offer page. The product type filter, set to Azure Containers, is highlighted and several offers are shown." lightbox="./media/deploy-marketplace/browse-marketplace-full.png":::
53+
54+
## Purchasing a Kubernetes offer
55+
56+
- Review the plan and prices tab, select an option, and ensure the terms are acceptable before proceeding.
57+
58+
:::image type="content" source="./media/deploy-marketplace/plans-pricing-inline.png" alt-text="Screenshot of the Azure portal offer purchasing page. The tab for viewing plans and pricing information is shown." lightbox="./media/deploy-marketplace/plans-pricing-full.png":::
59+
60+
- Click *"Create"*.
61+
62+
## Deploy a Kubernetes offer
63+
64+
- Follow the form, filling in information for your resource group, cluster, and any configuration options required by the application. You can decide to deploy on a new AKS cluster or use an existing cluster.
65+
66+
:::image type="content" source="./media/deploy-marketplace/purchase-experience-inline.png" alt-text="Screenshot of the Azure portal form for deploying a new offer. A selector for creating a new or using an existing cluster is shown." lightbox="./media/deploy-marketplace/purchase-experience-full.png":::
67+
68+
- After some time, the application will be deployed, as indicated by the Portal screen.
69+
70+
:::image type="content" source="./media/deploy-marketplace/deployment-inline.png" alt-text="Screenshot of the Azure portal screen showing a successful resource deployment, indicating the offer has been deployed to the cluster." lightbox="./media/deploy-marketplace/deployment-full.png":::
71+
72+
- You can also verify by listing the extensions running on your cluster:
73+
74+
```azurecli-interactive
75+
az k8s-extension list --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters
76+
```
77+
78+
## Manage offer lifecycle
79+
80+
For lifecycle management, an Azure Kubernetes offer is represented as a cluster extension for Azure Kubernetes service(AKS). For more details, see [cluster extensions for AKS][cluster-extensions].
81+
82+
Purchasing an offer from the Azure Marketplace creates a new instance of the extension on your AKS cluster. The extension instance can be viewed from the cluster using the following command:
83+
84+
```azurecli-interactive
85+
az k8s-extension show --name <extension-name> --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters
86+
```
87+
88+
### Removing an offer
89+
90+
A purchased Azure Container offer plan can be deleted by deleting the extension instance on the cluster. For example:
91+
92+
```azurecli-interactive
93+
az k8s-extension delete --name <extension-name> --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters
94+
```
95+
96+
## Monitor billing and usage information
97+
98+
To monitor billing and usage information for the offer you've deployed, visit Cost Management > Cost Analysis in your cluster's resource group's page in the Azure portal. You can see a breakdown of cost for the plan you've selected under "Product".
99+
100+
:::image type="content" source="./media/deploy-marketplace/billing-inline.png" alt-text="Screenshot of the Azure portal page for the resource group. Billing information is shown broken down by offer plan." lightbox="./media/deploy-marketplace/billing-full.png":::
101+
102+
## Next Steps
103+
104+
- Learn more about [exploring and analyzing costs][billing].
105+
106+
<!-- LINKS -->
107+
[azure-marketplace]: /marketplace/azure-marketplace-overview
108+
[cluster-extensions]: ./cluster-extensions.md
109+
[billing]: ../cost-management-billing/costs/quick-acm-cost-analysis.md
264 KB
Loading
153 KB
Loading
217 KB
Loading
212 KB
Loading
196 KB
Loading
114 KB
Loading
103 KB
Loading
93.6 KB
Loading

0 commit comments

Comments
 (0)