You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit the configuration (`~/brigade-metrics-values.yaml` in this example). At
72
+
minimum, you will need to make the following changes:
37
73
38
-
Once the repository is cloned, open the `values.yaml` file, and paste the
39
-
service account token into the `exporter.brigade.apiToken` field.
74
+
* Set the value of `exporter.brigade.apiAddress` to the address of your Brigade 2
75
+
API server. This should utilize the _internal_ DNS hostname by which that API
76
+
server is reachable _within_ your Kubernetes cluster. This value is defaulted
77
+
to `https://brigade-apiserver.brigade.svc.cluster.local`, but may need to be
78
+
updated if you installed Brigade 2 in a different namespace.
40
79
41
-
There are two methods of authentication you can choose from for logging into Grafana.
42
-
1. Option to use Grafana's built in user management system. The username and password for the admin account are specified in the `grafana.auth` fields, and the admin can handle user management using the Grafana UI.
43
-
2. Option to use an nginx reverse proxy and a shared username/password to access Grafana in anonymous mode.
80
+
* Set the value of `exporter.brigade.apiToken` to the service account token that
81
+
was generated earlier.
44
82
45
-
For option 1, set `grafana.auth.proxy` to false in `values.yaml`, and true for option 2.
83
+
* Specify a username and password for the metrics dashboard (Grafana) by setting
84
+
values for `grafana.auth.username` and `grafana.auth.password`.
46
85
47
-
In addition, you have the option to enable tls or ingress for grafana, and both options can be configured in `values.yaml`.
86
+
Install Brigade Metrics, referencing your edited configuration:
0 commit comments