Skip to content

Commit 23b250a

Browse files
committed
TOC and add tabs
1 parent ff03fba commit 23b250a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

AKS-Arc/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@
133133
href: kubernetes-monitor-object-events.md
134134
- name: Get kubelet logs
135135
href: aks-get-kubelet-logs.md
136+
- name: Monitor control plane metrics
137+
href: control-plane-metrics.md
136138
- name: Enable Container Insights
137139
href: /azure/azure-monitor/containers/kubernetes-monitoring-enable
138140
- name: Monitor Kubernetes audit events

AKS-Arc/control-plane-metrics.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,23 @@ Azure Monitor collects and aggregates important metrics from your AKS Arc runnin
3939

4040
You can either install the extension from the Azure portal or using CLI.
4141

42-
#### Portal
42+
# [Azure portal](#tab/azureportal)
4343

4444
Go to your Kubernetes instance, then select **Monitoring > Insights > Monitor Settings**.
4545

4646
:::image type="content" source="media/control-plane-metrics/monitor-settings.png" alt-text="Screenshot of portal showing monitor settings." lightbox="media/control-plane-metrics/monitor-settings.png":::
4747

48-
#### CLI
48+
#### [Azure CLI](#tab/azurecli)
4949

5050
The following command installs the managed Prometheus extension with a default Azure Monitor workspace.
5151

5252
```azurecli
5353
az k8s-extension create --name azuremonitor-metrics --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type connectedClusters --extension-type Microsoft.AzureMonitor.Containers.Metrics
5454
```
5555

56-
The guidance for the managed Prometheus extension onboarding can also be found [here](/azure/azure-monitor/containers/kubernetes-monitoring-enable?tabs=cli#enable-prometheus-and-grafana).
56+
---
57+
58+
See the [guidance for the managed Prometheus extension onboarding](/azure/azure-monitor/containers/kubernetes-monitoring-enable?tabs=cli#enable-prometheus-and-grafana).
5759

5860
### Step 2: Verify extension and metrics pod deployment
5961

0 commit comments

Comments
 (0)