79315779

Date: 2024-12-29 14:34:48
Score: 2.5
Natty:
Report link

I also often need to switch between big amount of different k8s clusters and it's annoying to keep in mind which cluster is already selected and type this long command like kubectl config get/set context, so I just write a simple Python script that shows current k8s context in bash prompt and switch between clusters with simple TUI command line, you can find it here and try:

https://github.com/ratibor78/kube-context-suite?tab=readme-ov-file

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ratibor78