|
|
|
|
@ -39,7 +39,7 @@ Before deploying the Kubernetes Monitoring Helm chart, you need to set up severa |
|
|
|
|
1. Create a namespace for the monitoring stack: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
kubectl create namespace monitoring |
|
|
|
|
kubectl create namespace meta |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Authentication |
|
|
|
|
@ -56,16 +56,16 @@ The Kubernetes Monitoring Helm chart requires a Grafana Cloud account or a separ |
|
|
|
|
1. Click **Create**. |
|
|
|
|
1. Click **Add Token**. Give the token a name and click **Create**. |
|
|
|
|
Save the token for later use. |
|
|
|
|
1. Collect `URL` and `User` for Prometheus and Loki |
|
|
|
|
1. Collect `url` and `username` for Prometheus and Loki |
|
|
|
|
1. Navigate to the Grafana Cloud Portal **Overview** page. |
|
|
|
|
1. Click the **Details** button for your Prometheus instance. |
|
|
|
|
1. From the **Using a self-hosted Grafana instance with Grafana Cloud Metrics** section, collect the instance **User** and **URL**. |
|
|
|
|
1. From the **Sending metrics using Grafana Alloy** section, collect the instance **username** and **url**. |
|
|
|
|
1. Navigate back to the **Overview** page. |
|
|
|
|
1. Click the **Details** button for your Loki instance. |
|
|
|
|
1. From the **Using Grafana with Logs** section, collect the instance **User** and **URL**. |
|
|
|
|
1. Navigate back to the **Overview** page. |
|
|
|
|
1. From the **Sending Logs to Grafana Cloud using Grafana Alloy** section, collect the instance **username** and **url**. |
|
|
|
|
2. Navigate back to the **Overview** page. |
|
|
|
|
|
|
|
|
|
1. Create the Kubernetes Secrets with the collected credentials from Grafana Cloud |
|
|
|
|
1. Create the Kubernetes Secrets with the collected credentials from Grafana Cloud. |
|
|
|
|
```bash |
|
|
|
|
kubectl create secret generic metrics -n meta \ |
|
|
|
|
--from-literal=username=<PROMETHEUS-USER> \ |
|
|
|
|
|