Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 583 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 583 Bytes

Switch Kubectl Context

Easier way to switch your kubernetes context

Set PATH

Download executable from release for your OS add it to PATH

Example

$ kubeswitch

--- output
Use the arrow keys to navigate: ↓ ↑ → ←
? 🔥 Switch a context:
    arn:aws:eks:ap-southeast-2:XXXXXXXXX:cluster/production-eks
    arn:aws:eks:us-east-1:XXXXXXXXX:cluster/development-eks
    arn:aws:eks:us-east-1:XXXXXXXXX:cluster/production-eks
  ▸ ✅ arn:aws:eks:us-east-1:XXXXXXXXX:cluster/qa-eks
    arn:aws:eks:us-east-1:XXXXXXXXX:cluster/staging-eks
    docker-desktop