Skip to content

Commit

Permalink
Add resources requests in DNS dashboard
Browse files Browse the repository at this point in the history
Signed-off-by: Matias Charriere <[email protected]>
  • Loading branch information
mcharriere committed Jan 15, 2025
1 parent 8cbdeda commit d5cbb6d
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ pod }}",
"legendFormat": "Memory - {{ pod }}",
"range": true,
"refId": "A"
},
Expand All @@ -1276,9 +1276,22 @@
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Average",
"legendFormat": "Memory - Average",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "$prometheus_datasource"
},
"editorMode": "code",
"expr": "kube_pod_container_resource_requests{pod=~\"coredns-.*\", container=\"coredns\", cluster_id=\"$cluster\", organization=\"$organization\", resource=\"memory\"}",
"hide": false,
"instant": false,
"legendFormat": "Requests - {{pod}}",
"range": true,
"refId": "C"
}
],
"title": "CoreDNS Pod Memory Usage",
Expand Down

0 comments on commit d5cbb6d

Please sign in to comment.