2025-04-03 20:36:56 -06:00
|
|
|
# kubie
|
|
|
|
|
|
|
|
|
|
> Utility to switch between `kubectl` contexts and namespaces.
|
|
|
|
|
> More information: <https://github.com/sbstp/kubie>.
|
|
|
|
|
|
|
|
|
|
- Display a selectable menu of contexts:
|
|
|
|
|
|
|
|
|
|
`kubie ctx`
|
|
|
|
|
|
|
|
|
|
- Switch current shell to the given context:
|
|
|
|
|
|
|
|
|
|
`kubie ctx {{context}}`
|
|
|
|
|
|
|
|
|
|
- Switch current shell to the given namespace:
|
|
|
|
|
|
|
|
|
|
`kubie ns {{namespace}}`
|
|
|
|
|
|
|
|
|
|
- Switch current shell to the given context and namespace:
|
|
|
|
|
|
|
|
|
|
`kubie ctx {{context}} -n {{namespace}}`
|
|
|
|
|
|
|
|
|
|
- Execute a command in the given context and namespace, without spawning a shell:
|
|
|
|
|
|
|
|
|
|
`kubie exec {{context}} {{namespace}} {{command}}`
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
- Check the Kubernetes configuration files for issues:
|
2025-04-03 20:36:56 -06:00
|
|
|
|
|
|
|
|
`kubie lint`
|