Prerequisites
- Install and configure Nebius AI Cloud CLI.
- If you don’t have a service account for observability services, create one.
-
Make sure that the service account is in a group that has at least the
editorrole within your tenant; for example, the defaulteditorsgroup. You can check this in the Administration → IAM section of the web console. If the service account is not in the required group, click→ Add to group, and select
editors. -
Issue a static key for the service account using the following command:
Copy the value of the static key from the
tokenparameter of the response. You will need it later in the configuration steps.
How to start ingesting metrics
- Connect to your Managed Service for Kubernetes cluster.
-
Create a namespace for the observability components:
-
Create a Kubernetes Secret for your token:
In this command, specify the
tokenvalue of the static key that you got earlier. -
Install and update the Prometheus Monitoring Community repository with Helm charts:
-
Customize the kube-prometheus-stack chart:
-
Open the
values.yamlfile: -
Paste the following configuration into the
values.yaml:In this configuration, specify your region ID from the region list, and your project ID. The configuration disables Grafana® and Prometheus in agent mode and configures a write endpoint to push metrics to Monitoring.
-
Open the
-
Install the chart:
-
Check the installation: