Disable all but the filesystem collector for node_exporter (enable more if you need more metrics collected). Configure the node_exporter as a side-car container to your application.There is currently no fully supported solution but you can follow these steps to configure monitoring: See also: OpenShift Volume metrics in Prometheus How do I monitor a persistent volume's disk usage in a Pod using Prometheus?.This option creates a link between the Azure Monitor workspace and the Grafana workspace. Use an existing Azure Monitor workspace and link with an existing Grafana workspace. az aks create/update -enable-azure-monitor-metrics -n -g -azure-monitor-workspace-resource-id If the existing Azure Monitor workspace is already linked to one or more Grafana workspaces, data is available in that Grafana workspace. az aks create/update -enable-azure-monitor-metrics -n -g If no Azure Monitor workspace is specified, a default Azure Monitor workspace is created in a resource group with the name DefaultRG- and is named DefaultAzureMonitorWorkspace. Depending on the Azure Monitor workspace and Grafana workspace you want to use, choose one of the following options:Ĭreate a new default Azure Monitor workspace. Use az aks create or az aks update with the -enable-azure-monitor-metrics option to install the metrics add-on. Check the aks-preview version by using the az version command. Az CLI version of 2.49.0 or higher is required for this feature.For more information on how to uninstall a CLI extension, see Use and manage extensions with the Azure CLI. The aks-preview extension must be uninstalled by using the command az extension remove -name aks-preview.Click Advanced settings to select alternate workspaces or create new ones.Ĭlick Configure to save the configuration. If you have existing Azure Monitor workspace and Grafana workspace, then they're selected for you. Select the checkboxes for Enable Prometheus metrics and Enable Grafana. Open the clusters menu in the Azure portal and select Insights.Ĭontainer insights is already enabled. This option enables Prometheus, Grafana, and Container insights on a cluster. See Collect Prometheus metrics from AKS cluster (preview) for details on verifying your deployment and limitations From an existing cluster See Create an Azure Managed Grafana instance for details on creating a Grafana workspace.Ĭlick Configure to complete the configuration. To send the collected metrics to Grafana, select a Grafana workspace. Open the Kubernetes services menu in the Azure portal and select your AKS cluster.Ĭlick the checkbox for Enable Prometheus metrics and select your Azure Monitor workspace. This option adds Prometheus metrics to a cluster already enabled for Container insights. Select Configure next to the cluster you want to enable.įrom an existing cluster monitored with Container insights Select Monitored clusters in the Managed Prometheus section to display a list of AKS clusters. Open the Azure Monitor workspaces menu in the Azure portal and select your workspace. This option enables Prometheus metrics on a cluster without enabling Container insights. When you create a new AKS cluster in the Azure portal, you can enable Prometheus, Container insights, and Grafana from the Integrations tab. There are multiple options to enable Prometheus metrics on your cluster from the Azure portal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |