{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only.", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 315, "graphTooltip": 0, "id": 32, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "datasource": { "type": "prometheus", "uid": "r4rYJU24k" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 34, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "r4rYJU24k" }, "refId": "A" } ], "title": "Total resources usage", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "rgba(50, 172, 45, 0.97)", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 65 }, { "color": "rgba(245, 54, 54, 0.9)", "value": 90 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 5, "w": 8, "x": 0, "y": 1 }, "id": 4, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"}) * 100", "interval": "10s", "intervalFactor": 1, "refId": "A", "step": 10 } ], "title": "Cluster memory usage", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "rgba(50, 172, 45, 0.97)", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 65 }, { "color": "rgba(245, 54, 54, 0.9)", "value": 90 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 5, "w": 8, "x": 8, "y": 1 }, "id": 6, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) / sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"}) * 100", "interval": "10s", "intervalFactor": 1, "refId": "A", "step": 10 } ], "title": "Cluster CPU usage (1m avg)", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "rgba(50, 172, 45, 0.97)", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 65 }, { "color": "rgba(245, 54, 54, 0.9)", "value": 90 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 5, "w": 8, "x": 16, "y": 1 }, "id": 7, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (container_fs_usage_bytes{device=~\"$data_filesystem\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=~\"$data_filesystem\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100", "interval": "10s", "intervalFactor": 1, "legendFormat": "", "metric": "", "range": true, "refId": "A", "step": 10 } ], "title": "Cluster filesystem usage", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 6 }, "id": 48, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})", "hide": false, "legendFormat": "Used", "range": true, "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "builder", "expr": "sum(sum by(node) (kube_pod_container_resource_requests{node=~\"^$Node$\", resource=\"memory\"}))", "legendFormat": "Requested", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_limits{node=~\"^$Node$\", resource=\"memory\"}))", "hide": false, "legendFormat": "Limits", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"})", "hide": false, "legendFormat": "Total", "range": true, "refId": "C" } ], "title": "Memory Timeline", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 8, "y": 6 }, "id": 49, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\", kubernetes_io_hostname=~\"^$Node$\"}[$__rate_interval]))", "legendFormat": "Used", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_requests{node=~\"^$Node$\", resource=\"cpu\"}))", "hide": false, "legendFormat": "Requested", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_limits{node=~\"^$Node$\", resource=\"cpu\"}))", "hide": false, "legendFormat": "Limits", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"})", "hide": false, "legendFormat": "Total", "range": true, "refId": "D" } ], "title": "CPU Timeline", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 16, "y": 6 }, "id": 13, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (container_fs_usage_bytes{device=~\"$data_filesystem\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Used", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 20, "y": 6 }, "id": 14, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (container_fs_limit_bytes{device=~\"$data_filesystem\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 13 }, "id": 9, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Used", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 13 }, "id": 10, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"})", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 13 }, "id": 11, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(rate(container_cpu_usage_seconds_total{id=\"/\", kubernetes_io_hostname=~\"^$Node$\"}[$__rate_interval]))", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Used", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 12, "y": 13 }, "id": 12, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"})", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 16 }, "id": 35, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_requests{node=~\"^$Node$\", resource=\"memory\"}))", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Requested", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 4, "y": 16 }, "id": 45, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_limits{node=~\"^$Node$\", resource=\"memory\"}))", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Limits", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 8, "y": 16 }, "id": 36, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_requests{node=~\"^$Node$\", resource=\"cpu\"}))", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Requested", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 12, "y": 16 }, "id": 46, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum(sum by(node) (kube_pod_container_resource_limits{node=~\"^$Node$\", resource=\"cpu\"}))", "interval": "10s", "intervalFactor": 1, "range": true, "refId": "A", "step": 10 } ], "title": "Limits", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 19 }, "id": 39, "panels": [], "title": "Pods", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 8, "x": 0, "y": 20 }, "id": 42, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "code", "expr": "sum (sum by(node)(label_replace(kube_pod_info{node=~\"$Node\"}, \"exported_pod\", \"$1\", \"pod\", \"(.*)\") and on(exported_pod) kube_pod_status_phase{phase=\"Running\"}))", "legendFormat": "", "range": true, "refId": "A" } ], "title": "Running", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 8, "x": 8, "y": 20 }, "id": 43, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "editorMode": "builder", "expr": "sum(kube_node_status_capacity{node=~\"$Node\", resource=\"pods\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Limit", "type": "stat" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "r4rYJU24k" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 33, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "r4rYJU24k" }, "refId": "A" } ], "title": "Network I/O pressure", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 24 }, "id": 32, "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": false, "width": 200 }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "10.4.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "expr": "sum (rate (container_network_receive_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))", "interval": "10s", "intervalFactor": 1, "legendFormat": "Received", "metric": "network", "refId": "A", "step": 10 }, { "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "expr": "- sum (rate (container_network_transmit_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))", "interval": "10s", "intervalFactor": 1, "legendFormat": "Sent", "metric": "network", "refId": "B", "step": 10 } ], "title": "Network I/O pressure", "type": "timeseries" } ], "refresh": "10s", "schemaVersion": 39, "tags": [ "kubernetes" ], "templating": { "list": [ { "current": { "selected": false, "text": "Kube-prometheus", "value": "P8D3620484E958841" }, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "name": "Datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": ".*", "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "definition": "", "hide": 0, "includeAll": true, "label": "Node", "multi": false, "name": "Node", "options": [], "query": { "query": "label_values(kubernetes_io_hostname)", "refId": "Kube-prometheus-Node-Variable-Query" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": { "selected": false, "text": "/dev/longhorn/pvc-500e32c3-8dab-4761-890a-1ecffd6c14f1", "value": "/dev/longhorn/pvc-500e32c3-8dab-4761-890a-1ecffd6c14f1" }, "datasource": { "type": "prometheus", "uid": "P8D3620484E958841" }, "definition": "label_values(container_fs_limit_bytes{instance=~\"$Node\"},device)", "hide": 0, "includeAll": false, "label": "Data filesystem", "multi": false, "name": "data_filesystem", "options": [], "query": { "query": "label_values(container_fs_limit_bytes{instance=~\"$Node\"},device)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "/.*/dev/*./", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-30m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "Kubernetes resources", "uid": "N7uzcMu4z", "version": 1, "weekStart": "" }