After a few months of inactivity, I have updated my tool Viewnode (https://github.com/NTTDATA-DACH/viewnode) to version 0.9.3.
In addition to upgrading to the latest module versions, I have extracted the Kubernetes client configuration so that it can be shared across all modules.
The first new module is called "ctx" and can be used via viewnode ctx
.
Currently, the module allows:
- Listing all locally defined Kubernetes contexts with
viewnode ctx list
- Printing the current context with
viewnode ctx get-current
The new version is also registered with Krew (https://krew.sigs.k8s.io), the plugin manager for kubectl.
Still missing is the implementation of updating the current context with viewnode ctx set-current
.