podman/cmd/kpod
baude 3ba2c3e117 kpod top
Display information about processes in a running container.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #121
Approved by: rhatdan
2017-12-14 22:22:56 +00:00
..
docker Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
formats \t was not being recognized as tab in --format 2017-12-12 21:53:53 +00:00
README.md Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
attach.go Use debugf to allow parsing of format specifier 2017-12-12 00:13:44 +05:30
common.go Copy some verification code out of Docker to verify user input 2017-11-22 20:53:15 +00:00
common_test.go remove unused functions and variables 2017-11-28 14:30:12 +00:00
create.go Update kpod inspect to use the new container state 2017-12-12 09:46:23 -05:00
create_cli.go Update kpod inspect to use the new container state 2017-12-12 09:46:23 -05:00
create_cli_test.go Fix up handling of environment variables 2017-11-20 16:25:31 +00:00
diff.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
exec.go kpod exec 2017-12-11 08:24:30 -06:00
export.go remove unused functions and variables 2017-11-28 14:30:12 +00:00
history.go \t was not being recognized as tab in --format 2017-12-12 21:53:53 +00:00
images.go kpod top 2017-12-14 22:22:56 +00:00
import.go Add 'kpod import' command 2017-11-07 19:16:31 +00:00
info.go Update kpod info to use new libpod api 2017-12-14 00:54:21 +00:00
inspect.go Handle artifacts not found more gracefully 2017-12-14 01:29:48 +00:00
kill.go Add ability to kill and stop containers 2017-11-29 12:15:15 +00:00
load.go Add support for dir transport to kpod save 2017-12-14 22:22:16 +00:00
login.go Add manifest type conversion to kpod push 2017-12-14 18:37:17 +00:00
logout.go Add manifest type conversion to kpod push 2017-12-14 18:37:17 +00:00
logs.go Update kpod logs to use the new container state and runtime 2017-11-22 19:33:13 +00:00
main.go kpod top 2017-12-14 22:22:56 +00:00
mount.go Update kpod mount and umount to use the new state 2017-11-22 18:23:19 +00:00
parse.go We don't support VolumesFrom or links 2017-12-12 14:24:13 +00:00
pause.go Update kpod pause and unpause to use new container state 2017-11-24 15:53:17 +00:00
ps.go Check for mutually exclusive flags 2017-12-14 14:14:34 +00:00
pull.go Fix misleading print statement in kpod load 2017-12-11 12:07:54 -05:00
push.go Add manifest type conversion to kpod push 2017-12-14 18:37:17 +00:00
rm.go Short options! 2017-12-04 20:03:16 +00:00
rmi.go Short options! 2017-12-04 20:03:16 +00:00
run.go Update kpod inspect to use the new container state 2017-12-12 09:46:23 -05:00
save.go Add support for dir transport to kpod save 2017-12-14 22:22:16 +00:00
spec.go Update kpod inspect to use the new container state 2017-12-12 09:46:23 -05:00
spec_test.go Update kpod inspect to use the new container state 2017-12-12 09:46:23 -05:00
start.go Use debugf to allow parsing of format specifier 2017-12-12 00:13:44 +05:30
stats.go kpod stats 2017-12-13 21:15:09 +00:00
stop.go kpod stop -a 2017-12-01 13:18:32 +00:00
tag.go Fix gofmt errors 2017-11-02 15:30:39 -04:00
top.go kpod top 2017-12-14 22:22:56 +00:00
umount.go Update kpod mount and umount to use the new state 2017-11-22 18:23:19 +00:00
unpause.go Update kpod pause and unpause to use new container state 2017-11-24 15:53:17 +00:00
user.go libpod create and run 2017-11-01 14:19:19 -05:00
version.go Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
wait.go kpod_wait 2017-11-27 19:05:59 +00:00

README.md

kpod - Simple debugging tool for pods and images

kpod is a simple client only tool to help with debugging issues when daemons such as CRI runtime and the kubelet are not responding or failing. A shared API layer could be created to share code between the daemon and kpod. kpod does not require any daemon running. kpod utilizes the same underlying components that crio uses i.e. containers/image, container/storage, oci-runtime-tool/generate, runc or any other OCI compatible runtime. kpod shares state with crio and so has the capability to debug pods/images created by crio.

Use cases

  1. List pods.
  2. Launch simple pods (that require no daemon support).
  3. Exec commands in a container in a pod.
  4. Launch additional containers in a pod.
  5. List images.
  6. Remove images not in use.
  7. Pull images.
  8. Check image size.
  9. Report pod disk resource usage.