Skip to content

Commit 3976050

Browse files
committed
fix wordings, capitalization, and add back cluster credentials
1 parent ab86911 commit 3976050

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

articles/aks/network-observability-managed-cli.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Setup Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana"
2+
title: "Set up Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana"
33
description: Get started with AKS Network Observability for your AKS cluster using Azure managed Prometheus and Grafana.
44
author: asudbring
55
ms.author: allensu
@@ -10,12 +10,12 @@ ms.date: 06/20/2023
1010
ms.custom: template-how-to-pattern, devx-track-azurecli
1111
---
1212

13-
# Setup Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana
13+
# Set up Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana
1414

1515
AKS Network Observability is used to collect the network traffic data of your AKS cluster.
1616
Network Observability enables a centralized platform for monitoring application and network health.
1717
Prometheus collects AKS Network Observability metrics, and Grafana visualizes them. Both Cilium and non-Cilium data plane are supported.
18-
In this article, learn how to enable Network Observability and use Azure managed Prometheus and Grafana to visualize the scraped metrics.
18+
In this article, learn how to set up Network Observability and use Azure managed Prometheus and Grafana to visualize the scraped metrics.
1919

2020
For more information about AKS Network Observability, see [What is Azure Kubernetes Service (AKS) Network Observability?](network-observability-overview.md).
2121

@@ -27,14 +27,14 @@ For more information about AKS Network Observability, see [What is Azure Kuberne
2727

2828
- Minimum version of **Azure CLI** required for the steps in this article is **2.44.0**. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
2929

30-
### Create Cluster
30+
## Create cluster
3131

3232
> [!NOTE]
33-
>For Kubernetes version 1.29 or higher, Network Observability is included in clusters with Azure Managed Prometheus. Metric scraping is defined via the [AMA metrics profile](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration).
33+
>For Kubernetes version >= 1.29, Network Observability is included in clusters with Azure Managed Prometheus. Metric scraping is defined via the [AMA metrics profile](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration).
3434
>
3535
>For lower Kubernetes versions, extra steps are required to enable Network Observability.
3636
37-
#### [**Kubernetes version >= 1.29**](#tab/newer-k8s-versions)
37+
### [**Kubernetes version >= 1.29**](#tab/newer-k8s-versions)
3838

3939
#### Create a resource group
4040

@@ -85,7 +85,7 @@ az aks create \
8585
--pod-cidr 192.168.0.0/16
8686
```
8787

88-
#### [**Kubernetes version < 1.29**](#tab/older-k8s-versions)
88+
### [**Kubernetes version < 1.29**](#tab/older-k8s-versions)
8989

9090
#### Install the `aks-preview` Azure CLI extension
9191

@@ -137,13 +137,13 @@ az group create \
137137
--location eastus
138138
```
139139

140-
#### Create or Update an AKS cluster
140+
#### Create or Update AKS cluster
141141

142142
The following examples each create or update an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group.
143143

144144
##### Example 1: **Non-Cilium**
145145

146-
###### Create Cluster
146+
###### Create cluster
147147

148148
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a non-Cilium AKS cluster with Network Observability.
149149

@@ -159,7 +159,7 @@ az aks create \
159159
--enable-network-observability
160160
```
161161

162-
###### Update Existing Cluster
162+
###### Update Existing cluster
163163

164164
Use [az aks update](/cli/azure/aks#az-aks-update) to enable Network Observability for an existing non-Cilium cluster.
165165

@@ -190,7 +190,7 @@ az aks create \
190190

191191
---
192192

193-
## Azure managed Prometheus and Grafana
193+
## Set up Azure managed Prometheus and Grafana
194194

195195
Use the following example to install and enable Prometheus and Grafana for your AKS cluster.
196196

@@ -248,6 +248,12 @@ az aks update \
248248
--grafana-resource-id $grafanaId
249249
```
250250

251+
## Get cluster credentials
252+
253+
```azurecli-interactive
254+
az aks get-credentials --name myAKSCluster --resource-group myResourceGroup
255+
```
256+
251257
## Visualize using Grafana
252258

253259
> [!NOTE]
@@ -268,7 +274,7 @@ az aks update \
268274
ama-metrics-win-node-tkrm8 2/2 Running 0 (26h ago) 26h
269275
```
270276
271-
1. Navigate to your Grafana instance in your web browser.
277+
1. Navigate to your Grafana instance in a web browser.
272278
273279
1. We have created a sample dashboard. It can be found under **Dashboards > Azure Managed Prometheus > Kubernetes / Networking / Clusters**.
274280

0 commit comments

Comments
 (0)