Skip to content

Commit

Permalink
Merge pull request #5427 from ministryofjustice/grafana-dashboards-re…
Browse files Browse the repository at this point in the history
…view

update review date and minor grammar edits
  • Loading branch information
FolarinOyenuga authored Apr 2, 2024
2 parents efb6d7a + 0f52a2b commit 6cae704
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions runbooks/source/grafana-dashboards.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Grafana Dashboards
weight: 9106
last_reviewed_on: 2023-12-29
last_reviewed_on: 2024-04-02
review_in: 3 months
---

Expand All @@ -13,11 +13,11 @@ This [dashboard](https://grafana.live.cloud-platform.service.justice.gov.uk/d/an

### Dashboard Layout

Each box on the dashboard has the name of the node and the number of pods on the node - This number includes pods with a statuses such as "DeadlineExceeded" and completed".
Each box on the dashboard has the name of the node and the number of pods on the node. This number includes pods with a statuses such as "DeadlineExceeded" and completed".

The exception is the `Max Pods per Node` box. This is a constant number set on creation for the maximum allowed pods per node.

The current architecture does not allow instance group id to be viewed on the dashboard:
The current architecture does not allow instance group id to be viewed on the dashboard.

We currently have 2 instance groups:

Expand Down Expand Up @@ -58,7 +58,7 @@ Identify the namespace and name of the configmap which contains this dashboard n
kubectl get configmaps -A -ojson | jq -r '.items[] | select (.data."<MY-DASHBOARD>.json") | .metadata.namespace + "/" + .metadata.name'
```

This will return the namespace and name of the configmap which contains the dashboard config. Describe the namespace and find the user's slack-channel which is a annotation on the namespace:
This will return the namespace and name of the configmap which contains the dashboard config. Describe the namespace and find the user's slack-channel which is an annotation on the namespace:

```
kubectl describe namespace <namespace>
Expand Down Expand Up @@ -86,7 +86,7 @@ for i in $(find ./ -type f); do tail $i; done|grep '"uid": '|cut -f2 -d':'|sort|
```
This will show output any duplicate UIDs and the number of occurrences of each.

ie:
i.e.:

```
2 "[duplicate-dashboard-uid]",
Expand All @@ -108,7 +108,7 @@ Identify the namespace and name of the configmap which contains this dashboard n
kubectl get configmaps -A -ojson | jq -r '.items[] | select (.data."my-test-dashboard.json") | .metadata.namespace + "/" + .metadata.name'
```

This will return the namespace and name of the configmap which contains the dashboard config. Describe the namespace and find the user's slack-channel which is a annotation on the namespace:
This will return the namespace and name of the configmap which contains the dashboard config. Describe the namespace and find the user's slack-channel which is an annotation on the namespace:

```
kubectl describe namespace <namespace>
Expand Down

0 comments on commit 6cae704

Please sign in to comment.