Skip to content

Braundo/kns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kns - Kubernetes Namespace Resource Usage Tool

Description

kns is a command-line tool that provides a quick overview of resource requests and limits for each namespace in a Kubernetes cluster.

Installation

To install kns, follow these steps:

From Binary

  1. Download the latest binary for your operating system from the Releases page.
  2. Make the binary executable (on Unix-like systems):
chmod +x kns
  1. Move the binary to a directory included in your system's PATH. For example, on Unix-like systems:
sudo mv kns /usr/local/bin/
  1. Now kns is installed and can be run from any location in your terminal.

From Source

If you have Go installed and configured:

  1. Clone the repository:
git clone https://github.com/braundo/kns.git
  1. Navigate into the cloned directory:
cd kns
  1. Build and install the binary:
go install

This will compile the source code and place the kns binary in your $GOPATH/bin directory, which should be in your PATH if you've set up Go correctly.

Usage

To run kns, simply type kns in your terminal.

Ensure you have your Kubernetes configuration file (kubeconfig) correctly set up, as kns uses it to interact with your Kubernetes cluster.

Screenshot

About

Kubernetes Namespace CLI operations

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages