Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1188 from alphagov/update-pod-availability-dashboard
Browse files Browse the repository at this point in the history
Update pod-availability dashboard
  • Loading branch information
blairboy362 authored Sep 11, 2020
2 parents 524a443 + e23a359 commit 08148ec
Showing 1 changed file with 200 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1599813926138,
"id": 38,
"iteration": 1599829881855,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -84,7 +84,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Pods available by deployment",
"title": "Namespace pods available by deployment",
"tooltip": {
"shared": true,
"sort": 0,
Expand All @@ -104,7 +104,7 @@
"label": null,
"logBase": 1,
"max": null,
"min": null,
"min": "0",
"show": true
},
{
Expand All @@ -127,7 +127,6 @@
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
Expand All @@ -143,6 +142,197 @@
"y": 0
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum by(created_by_name) (kube_pod_info{namespace=\"$namespace\"} and on(pod) kube_pod_status_unschedulable{namespace=\"$namespace\"})",
"interval": "",
"legendFormat": "{{created_by_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Namespace pods unschedulable",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 14,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count by(node) (kube_pod_info{node!=\"\"} unless on(node) kube_node_spec_taint)",
"interval": "",
"legendFormat": "{{node}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Worker node pod count",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 9
},
"hiddenSeries": false,
"id": 4,
"legend": {
"avg": false,
Expand Down Expand Up @@ -234,7 +424,7 @@
"h": 8,
"w": 8,
"x": 0,
"y": 9
"y": 17
},
"hiddenSeries": false,
"id": 6,
Expand Down Expand Up @@ -328,7 +518,7 @@
"h": 8,
"w": 8,
"x": 8,
"y": 9
"y": 17
},
"hiddenSeries": false,
"id": 8,
Expand Down Expand Up @@ -423,7 +613,7 @@
"h": 8,
"w": 8,
"x": 16,
"y": 9
"y": 17
},
"hiddenSeries": false,
"id": 10,
Expand Down Expand Up @@ -553,6 +743,6 @@
},
"timezone": "",
"title": "Pod availability",
"uid": null,
"version": 0
"uid": "L9rlczdGz",
"version": 1
}

0 comments on commit 08148ec

Please sign in to comment.