Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 671 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 671 Bytes

Kubernetes-go-metrics-tool

Overview:

This is a simple tool which derives the metrics for both the nodes and the pods in terms of CPU and Memory usage using the go-client for k8s.

Usage:

For pod metrics, use this command: go run main.go -namespace jenkins -entity pods

For node metrics, use this command: go run main.go -entity nodes

Example of table generated:

For pods:

alt text

For nodes:

alt text