GithubHelp home page GithubHelp logo

ktop's Introduction

Ktop - Kubernetes Nodes Resource Allocation Printer

ktop is a command-line tool for retrieves resource metrics for Kubernetes nodes and pods and prints them in a tabular format.

Last Build

Go Build & Release

Prerequisites

Before using this application, ensure you have the following prerequisites:

  • Go installed on your system. (to build)
  • kubectl configured with access to your Kubernetes cluster.

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/VegaCorporoptions/Ktop
cd your-repo

Build the Go application:

go build .

Download Ktop Executable

You can download the executable for Ktop directly from the latest release with its version. This allows you to use Ktop without the need to build it yourself. Here are the steps to download the executable for your system:

  1. Visit the Releases page.

Usage

To list metrics for all node, run the application without any arguments:

Ktop

To list metrics for a specific node, provide the node name as an argument:

Ktop node

Application will display the resource usage and limits for pods within the specified namespace.

Output

The application outputs (Ktop) the following metrics in a tabular format:

Pod total capacity on Node CPU Usage CPU Request MEM Usage Mem Request
aks-computespot-51019700-vmss0000h2 90 m 2615 m 15.1GiB m 9.619GiB
Node CPU Capacity CPU Allocatable Mem Capacity Mem Allocatable
aks-computespot-51019700-vmss0000h2 8000 m 7820 m 31.34GiB m 27.05Gib.62GiB

The application outputs (Ktop node) the following metrics in a tabular format:

Metrics for Namespace: networking

Pods on aks-sys-41857182-vmss0000ue Container CPU Usage CPU Request CPU Limit Mem Usage Mem Request Mem Limit Spot Tolerance
helm-controller-6c96bf97fc-5ggxf manager 6 m 100 m 1000 m 35.73MiB 64MiB 1GiB true
kustomize-controller-6685765665-s4snn manager 32 m 100 m 1000 m 79.49MiB 64MiB 1GiB
notification-controller-f6956b9bd-m82j4 manager 2 m 100 m 1000 m 28.16MiB 64MiB 1GiB
source-controller-7c8f657856-sr7ll manager 17 m 50 m 1000 m 97.42MiB 64MiB 1GiB
... ... ... ... ... ... ... ...

Demo

Demo

License

This project is licensed under the MIT License. See the LICENSE file for details.

ktop's People

Contributors

paulpowershell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.