Ninja Docs Help

K9s

Revision

Date

Description

1.0

26.07.2024

Init document

Introduction

K9s is an open-source terminal-based UI for managing and interacting with Kubernetes clusters. It provides a more user-friendly and interactive experience for Kubernetes users by allowing them to navigate and manage cluster resources from within the terminal.

Installation

  1. Download the latest release from the K9s GitHub releases page.

  2. Extract the binary and move it to a directory in your PATH, e.g. /usr/local/bin.

On Debian/Ubuntu, you can use the following commands:


curl -sS https://webinstall.dev/k9s | bash
  1. Download the latest release from the K9s GitHub releases page.

  2. Extract the binary and move it to a directory in your PATH, e.g. /usr/local/bin.

brew install derailed/k9s/k9s
  1. Download the latest release from the K9s GitHub releases page.

  2. Extract the binary and add it to your PATH.

scoop install k9s

Getting Started

Once installed, you can start K9s by simply typing k9s in your terminal. This will open the K9s interface, from which you can start navigating and managing your Kubernetes resources.

k9s

Usage

  • Navigation: Use arrow keys or j/k to navigate through lists of resources.

  • View Resource Details: Press Enter on a selected resource to view more details.

  • Execute Commands: Use :exec to execute commands in a pod, :logs to view logs, and other : commands for various actions.

  • Filtering: Use / to start filtering resources.

Last modified: 17 February 2025