Skip to content

Commit 3aa7897

Browse files
authored
Merge pull request #210419 from Nickomang/aks-event-grid-ga
AKS Event Grid GA
2 parents bf2921c + f8bf7f3 commit 3aa7897

File tree

3 files changed

+5
-66
lines changed

3 files changed

+5
-66
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
href: quickstart-helm.md
4545
- name: Develop with Dapr
4646
href: quickstart-dapr.md
47-
- name: Subscribe to AKS events with Event Grid (Preview)
47+
- name: Subscribe to AKS events with Event Grid
4848
href: quickstart-event-grid.md
4949
- name: Tutorials
5050
items:

articles/aks/quickstart-event-grid.md

Lines changed: 2 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Subscribe to Azure Kubernetes Service events with Azure Event Grid (Preview)
2+
title: Subscribe to Azure Kubernetes Service events with Azure Event Grid
33
description: Use Azure Event Grid to subscribe to Azure Kubernetes Service events
44
services: container-service
55
author: zr-msft
@@ -8,70 +8,17 @@ ms.date: 07/12/2021
88
ms.author: zarhoads
99
---
1010

11-
# Quickstart: Subscribe to Azure Kubernetes Service (AKS) events with Azure Event Grid (Preview)
11+
# Quickstart: Subscribe to Azure Kubernetes Service (AKS) events with Azure Event Grid
1212

1313
Azure Event Grid is a fully managed event routing service that provides uniform event consumption using a publish-subscribe model.
1414

1515
In this quickstart, you'll create an AKS cluster and subscribe to AKS events.
1616

17-
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
18-
1917
## Prerequisites
2018

2119
* An Azure subscription. If you don't have an Azure subscription, you can create a [free account](https://azure.microsoft.com/free).
2220
* [Azure CLI][azure-cli-install] or [Azure PowerShell][azure-powershell-install] installed.
2321

24-
### Register the `EventgridPreview` preview feature
25-
26-
To use the feature, you must also enable the `EventgridPreview` feature flag on your subscription.
27-
28-
### [Azure CLI](#tab/azure-cli)
29-
30-
Register the `EventgridPreview` feature flag by using the [az feature register][az-feature-register] command, as shown in the following example:
31-
32-
```azurecli-interactive
33-
az feature register --namespace "Microsoft.ContainerService" --name "EventgridPreview"
34-
```
35-
36-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature list][az-feature-list] command:
37-
38-
```azurecli-interactive
39-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/EventgridPreview')].{Name:name,State:properties.state}"
40-
```
41-
42-
When ready, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
43-
44-
```azurecli-interactive
45-
az provider register --namespace Microsoft.ContainerService
46-
```
47-
48-
[!INCLUDE [event-grid-register-provider-cli.md](../../includes/event-grid-register-provider-cli.md)]
49-
50-
### [Azure PowerShell](#tab/azure-powershell)
51-
52-
Register the `EventgridPreview` feature flag by using the [Register-AzProviderPreviewFeature][register-azproviderpreviewfeature] cmdlet, as shown in the following example:
53-
54-
```azurepowershell-interactive
55-
Register-AzProviderPreviewFeature -ProviderNamespace Microsoft.ContainerService -Name EventgridPreview
56-
```
57-
58-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [Get-AzProviderPreviewFeature][get-azproviderpreviewfeature] cmdlet:
59-
60-
```azurepowershell-interactive
61-
Get-AzProviderPreviewFeature -ProviderNamespace Microsoft.ContainerService -Name EventgridPreview |
62-
Format-Table -Property Name, @{name='State'; expression={$_.Properties.State}}
63-
```
64-
65-
When ready, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [Register-AzResourceProvider][register-azresourceprovider] command:
66-
67-
```azurepowershell-interactive
68-
Register-AzResourceProvider -ProviderNamespace Microsoft.ContainerService
69-
```
70-
71-
[!INCLUDE [event-grid-register-provider-powershell.md](../../includes/event-grid-register-provider-powershell.md)]
72-
73-
---
74-
7522
## Create an AKS cluster
7623

7724
### [Azure CLI](#tab/azure-cli)
@@ -267,12 +214,6 @@ To learn more about AKS, and walk through a complete code to deployment example,
267214
[new-azeventhub]: /powershell/module/az.eventhub/new-azeventhub
268215
[az-eventgrid-event-subscription-create]: /cli/azure/eventgrid/event-subscription#az-eventgrid-event-subscription-create
269216
[new-azeventgridsubscription]: /powershell/module/az.eventgrid/new-azeventgridsubscription
270-
[az-feature-register]: /cli/azure/feature#az_feature_register
271-
[register-azproviderpreviewfeature]: /powershell/module/az.resources/register-azproviderpreviewfeature
272-
[az-feature-list]: /cli/azure/feature#az_feature_list
273-
[get-azproviderpreviewfeature]: /powershell/module/az.resources/get-azproviderpreviewfeature
274-
[az-provider-register]: /cli/azure/provider#az_provider_register
275-
[register-azresourceprovider]: /powershell/module/az.resources/register-azresourceprovider
276217
[az-group-delete]: /cli/azure/group#az_group_delete
277218
[sp-delete]: kubernetes-service-principal.md#other-considerations
278219
[remove-azresourcegroup]: /powershell/module/az.resources/remove-azresourcegroup

articles/event-grid/event-schema-aks.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
---
2-
title: Azure Kubernetes Service as Event Grid source (Preview)
2+
title: Azure Kubernetes Service as Event Grid source
33
description: This article describes how to use Azure Kubernetes Service as an Event Grid event source. It provides the schema and links to tutorial and how-to articles.
44
author: zr-msft
55
ms.topic: conceptual
66
ms.date: 10/04/2021
77
ms.author: zarhoads
88
---
99

10-
# Azure Kubernetes Service (AKS) as an Event Grid source (Preview)
10+
# Azure Kubernetes Service (AKS) as an Event Grid source
1111

1212
This article provides the properties and schema for AKS events. For an introduction to event schemas, see [Azure Event Grid event schema](event-schema.md). It also gives you a list of quick starts and tutorials to use AKS as an event source.
1313

14-
[!INCLUDE [preview features callout](../aks/includes/preview/preview-callout.md)]
15-
1614
## Available event types
1715

1816
AKS emits the following event types

0 commit comments

Comments
 (0)