Skip to content

Commit f8a878b

Browse files
Merge pull request #308894 from saurabh0501/patch-23
Document Prometheus Operator conflict in Azure Container Storage
2 parents c14520d + dc64fc9 commit f8a878b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

articles/storage/container-storage/troubleshoot-container-storage.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ If you try to install Azure Container Storage with Ephemeral Disk, specifically
100100

101101
To remediate, create a node pool with a VM SKU that has NVMe drives and try again. See [storage optimized VMs](/azure/virtual-machines/sizes-storage).
102102

103+
### Prometheus operator conflict in Azure Container Storage
104+
105+
Azure Container Storage uses the Prometheus Operator and its deployment to collect metrics for internal support and troubleshooting. If your Kubernetes cluster already has a Prometheus Operator installed, both operators might attempt to provision the PromCluster custom resource, which can lead to conflicts or installation issues.
106+
107+
To avoid conflicts, you can either exclude the acstor namespace from your existing Prometheus configuration or disable Azure Container Storage metrics collection by running the following command. Replace `<cluster_name>` and `<resource_group_name>` with your own values.
108+
109+
```azurecli
110+
az k8s-extension update --cluster-type managedClusters --cluster-name <cluster_name> --resource-group <resource_group_name> --name azurecontainerstorage --config base.metrics.enablePrometheusStack=false
111+
```
112+
103113
## Troubleshoot storage pool issues
104114

105115
To check the status of your storage pools, run `kubectl describe sp <storage-pool-name> -n acstor`. Here are some issues you might encounter.

0 commit comments

Comments
 (0)