kubectl-locality

command module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Kubectl Locality Plugin

A plugin to get the locality of pods

Install

go install github.com/howardjohn/kubectl-locality@latest

Usage

Example output:

$ kubectl locality -n default
NAMESPACE     NAME                      REGION          ZONE
default       echo-cb96f8d94-2j6c6      us-central1     us-central1-f
default       echo-cb96f8d94-5kcgr      us-central1     us-central1-f
default       echo-cb96f8d94-86pnt      us-central1     us-central1-a
default       echo-cb96f8d94-jjr6r      us-central1     us-central1-b
default       echo-cb96f8d94-p77bk      us-central1     us-central1-b
default       echo-cb96f8d94-t9b58      us-central1     us-central1-a
default       echo-cb96f8d94-wgvlv      us-central1     us-central1-a
default       echo-cb96f8d94-zvqtd      us-central1     us-central1-b
default       shell-7854df9c5-ggclf     us-central1     us-central1-a

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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