File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments