Skip to content

Commit

Permalink
Add multicluster dashboards docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrein committed Oct 26, 2021
1 parent 0beb368 commit a1d205d
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions docs/multicluster-dashboards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
weight: 660
toc: true
title: Multi-cluster dashboard support
menu:
docs:
parent: kube
lead: Enable multi-cluster dashboard support in grafana
---

#Prerequisites

Let's say we have two clusters, `east` and `west`.

Each prometheus cluster should have `externalLabels` configured:

```jsonnet
# east
values+:: {
prometheus+: {
externalLabels: {
cluster: "east",
},
},
}
# west
values+:: {
prometheus+: {
externalLabels: {
cluster: "west",
},
},
}
```

# Enable multi cluster support

```jsonnet
values+:: {
nodeExporter+: {
mixin+: {
_config+: {
showMultiCluster: true,
# clusterLabel: '<cluster label, if different than the default "cluster">',
},
},
},
kubernetesControlPlane+: {
mixin+: {
_config+: {
showMultiCluster: true,
# clusterLabel: '<cluster label, if different than the default "cluster">',
},
},
},
}
````

0 comments on commit a1d205d

Please sign in to comment.