/eks-node-viewer

EKS Node Viewer

Primary LanguageGoApache License 2.0Apache-2.0

GitHub License contributions welcome

Usage

eks-node-viewer is a tool for visualizing dynamic node usage within a cluster. It was originally developed as an internal tool at AWS for demonstrating consolidation with Karpenter.

Talks Using eks-node-viewer

Installation

go install github.com/awslabs/eks-node-viewer/cmd/eks-node-viewer@latest

Standard Usage

eks-node-viewer

Karpenter Nodes Only

eks-node-viewer --nodeSelector "karpenter.sh/provisioner-name"

Display CPU and Memory Usage

eks-node-viewer --resources cpu,memory

Troubleshooting

NoCredentialProviders: no valid providers in chain. Deprecated.

This CLI relies on AWS credentials to access pricing data. You must have credentials configured via ~/aws/credentials, ~/.aws/config, environment variables, or some other credential provider chain.

See credential provider documentation for more.

Development

Building

$ make build