You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/advanced-network-observability-bring-your-own-cli.md
+45-45Lines changed: 45 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,20 +75,20 @@ az group create --name $RESOURCE_GROUP --location $LOCATION
75
75
76
76
### [**Non-Cilium**](#tab/non-cilium)
77
77
Create an AKS cluster with Advanced Network Observability with a non-Cilium data plane using the [`az aks create`](/cli/azure/aks#az_aks_create) command and the `--enable-advanced-networking-observability` flag.
78
-
```azurecli-interactive
79
-
# Set an environment variable for the AKS cluster name. Make sure to replace the placeholder with your own value.
80
-
export CLUSTER_NAME="<aks-cluster-name>"
81
-
82
-
# Create an AKS cluster
83
-
az aks create \
84
-
--name $CLUSTER_NAME \
85
-
--resource-group $RESOURCE_GROUP \
86
-
--generate-ssh-keys \
87
-
--network-plugin azure \
88
-
--network-plugin-mode overlay \
89
-
--pod-cidr 192.168.0.0/16 \
90
-
--enable-advanced-network-observability
91
-
```
78
+
```azurecli-interactive
79
+
# Set an environment variable for the AKS cluster name. Make sure to replace the placeholder with your own value.
80
+
export CLUSTER_NAME="<aks-cluster-name>"
81
+
82
+
# Create an AKS cluster
83
+
az aks create \
84
+
--name $CLUSTER_NAME \
85
+
--resource-group $RESOURCE_GROUP \
86
+
--generate-ssh-keys \
87
+
--network-plugin azure \
88
+
--network-plugin-mode overlay \
89
+
--pod-cidr 192.168.0.0/16 \
90
+
--enable-advanced-network-observability
91
+
```
92
92
93
93
### [**Cilium**](#tab/cilium)
94
94
@@ -97,25 +97,25 @@ Create an AKS cluster with Advanced Network Observability with Cilium using the
97
97
> [!NOTE]
98
98
> Clusters with Cilium support Advanced Observability starting with Kubernetes version 1.29.
99
99
100
-
```azurecli-interactive
101
-
# Set an environment variable for the AKS cluster name. Make sure to replace the placeholder with your own value.
102
-
export CLUSTER_NAME="<aks-cluster-name>"
103
-
104
-
# Create an AKS cluster
105
-
az aks create \
106
-
--name $CLUSTER_NAME \
107
-
--resource-group $RESOURCE_GROUP \
108
-
--generate-ssh-keys \
109
-
--location eastus \
110
-
--max-pods 250 \
111
-
--network-plugin azure \
112
-
--network-plugin-mode overlay \
113
-
--network-dataplane cilium \
114
-
--node-count 2 \
115
-
--pod-cidr 192.168.0.0/16 \
116
-
--kubernetes-version 1.29 \
117
-
--enable-advanced-network-observability
118
-
```
100
+
```azurecli-interactive
101
+
# Set an environment variable for the AKS cluster name. Make sure to replace the placeholder with your own value.
102
+
export CLUSTER_NAME="<aks-cluster-name>"
103
+
104
+
# Create an AKS cluster
105
+
az aks create \
106
+
--name $CLUSTER_NAME \
107
+
--resource-group $RESOURCE_GROUP \
108
+
--generate-ssh-keys \
109
+
--location eastus \
110
+
--max-pods 250 \
111
+
--network-plugin azure \
112
+
--network-plugin-mode overlay \
113
+
--network-dataplane cilium \
114
+
--node-count 2 \
115
+
--pod-cidr 192.168.0.0/16 \
116
+
--kubernetes-version 1.29 \
117
+
--enable-advanced-network-observability
118
+
```
119
119
120
120
---
121
121
@@ -126,20 +126,20 @@ Enable Advanced Network Observability on an existing cluster using the [`az aks
126
126
> [!NOTE]
127
127
> Clusters with the Cilium data plane support Advanced Observability starting with Kubernetes version 1.29.
128
128
129
-
```azurecli-interactive
130
-
az aks update \
131
-
--resource-group $RESOURCE_GROUP \
132
-
--name $CLUSTER_NAME \
133
-
--enable-advanced-network-observability
134
-
```
129
+
```azurecli-interactive
130
+
az aks update \
131
+
--resource-group $RESOURCE_GROUP \
132
+
--name $CLUSTER_NAME \
133
+
--enable-advanced-network-observability
134
+
```
135
135
136
136
## Get cluster credentials
137
137
138
138
Get your cluster credentials using the [`az aks get-credentials`](/cli/azure/aks#az_aks_get_credentials) command.
139
139
140
-
```azurecli-interactive
141
-
az aks get-credentials --name $CLUSTER_NAME --resource-group $RESOURCE_GROUP
142
-
```
140
+
```azurecli-interactive
141
+
az aks get-credentials --name $CLUSTER_NAME --resource-group $RESOURCE_GROUP
142
+
```
143
143
144
144
## Visualization using Grafana
145
145
@@ -534,9 +534,9 @@ Get your cluster credentials using the [`az aks get-credentials`](/cli/azure/aks
534
534
535
535
If you don't plan on using this application, delete the other resources you created in this article using the [`az group delete`](/cli/azure/#az_group_delete) command.
1. We have created sample dashboards. They can be found under the **Dashboards > Azure Managed Prometheus** folder. They have names like **"Kubernetes / Networking / `<name>`"**. The suite of dashboards includes:
236
236
***Clusters:** shows Node-level metrics for your clusters.
@@ -248,18 +248,18 @@ Use [az aks update](/cli/azure/aks#az-aks-update) to link the Azure Monitor and
248
248
249
249
Install the Hubble CLI to access the data it collects using the following commands:
250
250
251
-
```azurecli-interactive
252
-
# Set environment variables
253
-
export HUBBLE_VERSION=0.11
254
-
export HUBBLE_ARCH=amd64
255
-
256
-
#Install Hubble CLI
257
-
if [ "$(uname -m)" = "aarch64" ]; then HUBBLE_ARCH=arm64; fi
0 commit comments