This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
1.3-alpha – GCP support, Context setter
Pre-release
Pre-release
resolved issues:
- Support for cluster switching #3
- A new
-context=string
flag was introduced, which passed the context to all invokedkubectl
commands. This greatly simplifies managing multiple clusters: an operator can have multiple shells opened at once with different contexts. - Example usage:
./kubectl-repl -context=beta
- A new
- GCP / GKE Not supported #8
- Repl wrapped every command around
kubectl
, but namespace selector communicated directly with the cluster through the golang SDK. In 2830fe3 this was refactored to also usekubectl
. This solves many issues, including authentication and state persistence withKUBECONFIG
.
- Repl wrapped every command around