The kubectl-fuzzy-login is a kubectl plugin that allows you to fuzzy find pods/containers and login to container across namespaces in your kubernetes cluster.
To install kubectl-fuzzy-login, follow these steps:
- require: Install krew
git clone https://github.com/jedipunkz/kubectl-fuzzy-login.git
kubectl krew install --manifest=./kubectl-fuzzy-login/krew/fuzzy-login.yaml
go build
cp kubectl-fuzzy-login /your/bin/path
Replace /your/bin/path with the directory in your PATH where you want to copy the binary.
There are two main ways to use kubectl-fuzzy-login:
kubectl fuzzy login
This command provides access to all pods within your Kubernetes cluster, irrespective of the namespace they are in. This is useful when you need a broad overview of your cluster's pods.
kubectl fuzzy login -n <namespace>
This command limits access to the pods within the specified namespace. This is helpful when you want to focus on a specific subset of your cluster's pods.
Replace with the name of the namespace you want to target.
Apache LICENSE
- jedipunkz