Skip to content

Commit c41c1eb

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

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

docs/multicluster-dashboards.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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+
At the time of writing, only kubernetes-mixin and node-mixin support this.
40+
41+
```jsonnet
42+
values+:: {
43+
nodeExporter+: {
44+
mixin+: {
45+
_config+: {
46+
showMultiCluster: true,
47+
# clusterLabel: '<cluster label, if different than the default "cluster">',
48+
},
49+
},
50+
},
51+
kubernetesControlPlane+: {
52+
mixin+: {
53+
_config+: {
54+
showMultiCluster: true,
55+
# clusterLabel: '<cluster label, if different than the default "cluster">',
56+
},
57+
},
58+
},
59+
}
60+
````

0 commit comments

Comments
 (0)