File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-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+ 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+ ````
You can’t perform that action at this time.
0 commit comments