Skip to content

ironsource-mobile/eks-node-viewer

 
 

Repository files navigation

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

docker build -t eks-node-viewer .

Run

docker run -v "/$HOME/.kube/config:/root/.kube/config" -v "/$HOME/.aws/config:/root/.aws/config" -v "/$HOME/.aws/credentials:/root/.aws/credentials" -it eks-node-viewer

Add alias to ~/.zshrc

alias eks-node-viewer="docker run -v /$HOME/.kube/config:/root/.kube/config -v /$HOME/.aws/config:/root/.aws/config -v /$HOME/.aws/credentials:/root/.aws/credentials -it eks-node-viewer"

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

Build doesn't work

Close the VPN

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.5%
  • Other 1.5%