saiumesh535 / kubeswitch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Go 91.9%Language:Shell 8.1%