multik8s

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 4 Imported by: 0

README


Logo

multik8s

A tool to access pod information across multiple Kubernetes contexts at once.

CI workflow

Table of Contents
  1. About The Project
  2. Usage
  3. Setup

About The Project

multik8s is a tool to access pod information across multiple Kubernetes contexts at once.
It allows to tail logs from several pods in several contexts and also to list pods.

Usage

Tail logs from pods :

multik8s get logs [-n namespace] [-p podName] [--follow] [--tail nbr]

-n, --namespace string   Kubernetes namespace (should be the exact name) (default "default")
-p, --podname string     Kubernetes pod name (works as a wildcard)
-f, --follow             Choose whether or not to follow log stream
-t, --tail int           The number of lines from the end of the logs to show (default 5)

List pods :

multik8s get pods [-n namespace] [-p podName]

-n, --namespace string   Kubernetes namespace (should be the exact name) (default "default")
-p, --podname string     Kubernetes pod name (works as a wildcard)

Setup

  • Build locally :

make build
  • Install the latest version :

    • Download the latest tar released from Github
    • Extract the archive
    • Move the binary to the location of your choice
  • Update the binary to the latest version :

multik8s update

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL