ClusterLens is a command-line tool for scanning Kubernetes clusters to generate a summary of resources.
- Scan Kubernetes Cluster: Quickly scan your Kubernetes cluster to gather essential information about pods.
- Namespace Support: Specify namespaces to focus the scan on specific parts of the cluster.
- Logging: Enable logging to track the scanning process and any encountered errors.
-kubeconfig
: Specify the location of the kubeconfig file.--logger
: Enable logging to track the scanning process.--namespaces (-n)
: Provide a list of namespaces to focus the scan.
Follow these steps to install ClusterLens:
-
Prerequisites: Ensure you have Go installed on your machine
-
Clone the Repository: Use the command
git clone https://github.com/jignyasamishra/clusterlens.git
to clone the repository. -
Navigate to the Directory: Use the command
cd clusterlens
to navigate into the project directory. -
Build the Project: Use the command
go build -o clusterlens .
to build the project. This command builds the project and outputs the binary file asclusterlens
.