-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6066 from ministryofjustice/add-debugging-101
docs: Add debugging 101 runbook
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Debugging 101 | ||
weight: 9999 | ||
last_reviewed_on: 2024-08-23 | ||
review_in: 6 months | ||
--- | ||
|
||
# <%= current_page.data.title %> | ||
|
||
Useful dashboards and searches for debugging issues on the cluster, starting from a high level node view down to pods. | ||
|
||
## Grafana Dashboards | ||
|
||
### Kubernetes / View / Nodes | ||
|
||
https://grafana.live.cloud-platform.service.justice.gov.uk/d/k8s_views_nodes/kubernetes-views-nodes?orgId=1&var-job=node-exporter&var-datasource=prometheus&var-resolution=30s&var-node=ip-172-20-56-77.eu-west-2.compute.internal&var-instance=172.20.56.77:9100&from=now-1h&to=now | ||
|
||
This dashboard is useful for inspecting a node and seeing if there are any pods with excessive resource usage. The dashboard can be filtered by node. | ||
|
||
### Kubernetes / Compute Resources / Node (Pods) | ||
|
||
https://grafana.live.cloud-platform.service.justice.gov.uk/d/200ac8fdbfbb74b39aff88118e4d1c2c/kubernetes-compute-resources-node-pods?orgId=1&var-datasource=P5DCFC7561CCDE821&var-cluster=&var-node=ip-172-20-101-196.eu-west-2.compute.internal&var-node=ip-172-20-56-77.eu-west-2.compute.internal&from=now-1h&to=now | ||
|
||
Similar to the first dashboard but focuses on the pods rather than the nodes. | ||
|
||
### Kubernetes / Views / Pods | ||
|
||
https://grafana.live.cloud-platform.service.justice.gov.uk/d/k8s_views_pods/kubernetes-views-pods?orgId=1&refresh=30s | ||
|
||
A detailed view of individual pods, can filter based on namespace and refreshes by default every 30 seconds. | ||
|
||
### Kubernetes Nginx Ingress Controller NextGen - DevOps Nirvana2 | ||
|
||
https://grafana.live.cloud-platform.service.justice.gov.uk/d/k8s-nginx-ingress-prometheus-ng2/5178fc76-29af-51b9-83a8-cbab85db37a6?orgId=1&refresh=1m | ||
|
||
This dashboard shows statistics around our ingresses. | ||
|
||
> This dashboard is slow to load. |