Skip to content

jedipunkz/kubectl-fuzzy-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl-fuzzy-login

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.

Screenshot

Installation

To install kubectl-fuzzy-login, follow these steps:

Install with Krew

git clone https://github.com/jedipunkz/kubectl-fuzzy-login.git
kubectl krew install --manifest=./kubectl-fuzzy-login/krew/fuzzy-login.yaml

Manual Install

1. Build the kubectl-fuzzy-login binary using the Go compiler:

go build

2. Copy the generated binary to a directory in your PATH:

cp kubectl-fuzzy-login /your/bin/path

Replace /your/bin/path with the directory in your PATH where you want to copy the binary.

Usage

There are two main ways to use kubectl-fuzzy-login:

Login to a pod across all namespaces:

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.

Login to a pod within a specific namespace:

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.

LICENSE

Apache LICENSE

Author

  • jedipunkz

About

kubectl plugin: fuzzy find your pods/containers and login to container

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages