pid2pod

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

README

pid2Pod

Display (Namespace, Pod, Container, Primary PID) from a host PID, fails if the target process is running on host

Pre-requisites

User MUST be able to run crictl on the host.

Install

curl -Lo ./pod2pid https://github.com/k8s-school/pid2pod/releases/download/v0.0.1/pid2pod-linux-amd64 
chmod +x ./pod2pid
mv ./pod2pid /some-dir-in-your-PATH/pod2pid

Examples

./pod2pid 1525
NAMESPACE     POD                 CONTAINER     PRIMARY PID
kube-system   calico-node-6kt29   calico-node   1284

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