telescope

command module
v0.0.0-...-24cbbdc Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: MIT Imports: 13 Imported by: 0

README

Telescope

A tool for listing Kubernetes resource labels or annotations.

Installation

go install github.com/takahisa/telescope@latest

Usage

# Lists all the labels that a pod has in the specified namespace.
$ telescope -n kube-system label pods
k8s-app=kindnet
k8s-app=kube-dns
k8s-app=kube-proxy
pod-template-generation=1
pod-template-hash=6955765f44
...

# List all the annotations that a pod has in the specified namespace.
$ telescope -n kube-system annot pods
kubernetes.io/config.hash=15e79e27a50d92dc481a5aaaad4399d8
kubernetes.io/config.hash=27a865fad340b7665315c8f924f7c35c
kubernetes.io/config.hash=67c12f125236243ab0e88b8f61755eb7
kubernetes.io/config.hash=ff67867321338ffd885039e188f6b424
...

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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