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 27, 2021
1 parent ba8ec69 commit 9155b21
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/multicluster-dashboards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
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

At the time of writing, only kubernetes-mixin and node-mixin support this.

```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 9155b21

Please sign in to comment.