Skip to content

Commit a1d205d

Browse files
committed
Add multicluster dashboards docs
1 parent 0beb368 commit a1d205d

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

docs/multicluster-dashboards.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
weight: 660
3+
toc: true
4+
title: Multi-cluster dashboard support
5+
menu:
6+
docs:
7+
parent: kube
8+
lead: Enable multi-cluster dashboard support in grafana
9+
---
10+
11+
#Prerequisites
12+
13+
Let's say we have two clusters, `east` and `west`.
14+
15+
Each prometheus cluster should have `externalLabels` configured:
16+
17+
```jsonnet
18+
# east
19+
values+:: {
20+
prometheus+: {
21+
externalLabels: {
22+
cluster: "east",
23+
},
24+
},
25+
}
26+
27+
# west
28+
values+:: {
29+
prometheus+: {
30+
externalLabels: {
31+
cluster: "west",
32+
},
33+
},
34+
}
35+
```
36+
37+
# Enable multi cluster support
38+
39+
```jsonnet
40+
values+:: {
41+
nodeExporter+: {
42+
mixin+: {
43+
_config+: {
44+
showMultiCluster: true,
45+
# clusterLabel: '<cluster label, if different than the default "cluster">',
46+
},
47+
},
48+
},
49+
kubernetesControlPlane+: {
50+
mixin+: {
51+
_config+: {
52+
showMultiCluster: true,
53+
# clusterLabel: '<cluster label, if different than the default "cluster">',
54+
},
55+
},
56+
},
57+
}
58+
````
59+

0 commit comments

Comments
 (0)