Skip to content

Commit fc2e5d6

Browse files
committed
updated optout articles
1 parent 7fd352a commit fc2e5d6

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

articles/azure-monitor/insights/container-insights-optout-hybrid.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ After you enable monitoring of your Kubernetes cluster running on Azure Stack or
1212

1313
## How to stop monitoring using Helm
1414

15-
To stop monitoring your hybrid Kubernetes cluster, run the following commands:
16-
1715
1. To first identify the Azure Monitor for containers helm chart release installed on your cluster, run the following helm command.
1816

1917
```

articles/azure-monitor/insights/container-insights-optout-openshift-v4.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,36 @@ After you enable monitoring of your Azure Red Hat OpenShift and Red Hat OpenShif
1212

1313
## How to stop monitoring using Helm
1414

15-
To stop monitoring your Azure Red Hat OpenShift and Red Hat OpenShift version 4.x cluster, you use the `Helm delete` command.
15+
1. To first identify the Azure Monitor for containers helm chart release installed on your cluster, run the following helm command.
1616

17-
`helm delete <release name of azure monitor for containers>`
17+
```
18+
helm list
19+
```
20+
21+
The output will resemble the following:
22+
23+
```
24+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
25+
azmon-containers-release-1 default 3 2020-04-21 15:27:24.1201959 -0700 PDT deployed azuremonitor-containers-2.7.0 7.0.0-1
26+
```
27+
28+
*azmon-containers-release-1* represents the helm chart release for Azure Monitor for containers.
29+
30+
2. To delete the chart release, run the following helm command.
31+
32+
`helm delete <release name of azure monitor for containers>`
33+
34+
Example:
35+
36+
`helm delete azmon-containers-release-1`
37+
38+
This will remove the release from the cluster. You can verify by running the `helm list` command:
39+
40+
```
41+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
42+
```
43+
44+
The configuration change can take a few minutes to complete. Because Helm tracks your releases even after you’ve deleted them, you can audit a cluster’s history, and even undelete a release with `helm rollback`.
1845
1946
The configuration change can take a few minutes to complete. Because Helm tracks your releases even after you’ve deleted them, you can audit a cluster’s history, and even undelete a release with `helm rollback`.
2047

0 commit comments

Comments
 (0)