cri-o/cmd/kpod
Daniel J Walsh a001b177d6 We should not be exiting with exit(1)
There is cleanup code that will never get run.
This code will print out all errors and then return the last error.
This should allow for proper cleanup.

Also cleanup help to switch usage and description.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-15 17:51:34 -04:00
..
docker Implement kpod inspect 2017-07-21 08:11:27 -04:00
formats Merge pull request #776 from umohnani8/kpod_ps 2017-08-23 07:08:31 -04:00
common.go Begin converting kpod pull to use libpod/runtime 2017-09-06 19:38:47 +00:00
common_test.go move image-related functions out of cmd/kpod/common.go and into libkpod/image 2017-07-24 14:34:55 -04:00
diff.go kpod: shut down the storage library before exiting 2017-08-21 11:27:44 -04:00
export.go Add 'kpod export' command 2017-08-08 16:46:01 -04:00
history.go Modify the JSON output of kpod history 2017-09-08 10:33:09 -04:00
images.go Move libkpod/image libkpod/layer to libpod/images and libpod/layers 2017-09-06 19:25:45 +00:00
info.go Update kpod version and info to show beta version 2017-09-10 12:17:43 -04:00
inspect.go Move libkpod/image libkpod/layer to libpod/images and libpod/layers 2017-09-06 19:25:45 +00:00
load.go Update kpod load and save for oci-archive 2017-09-08 10:33:58 -04:00
logs.go server: container_create: store sandbox's ip in annotations 2017-09-02 02:05:58 +02:00
main.go Merge pull request #855 from baude/kpod_stop2 2017-09-12 12:27:21 -04:00
mount.go Add 'kpod ps' command 2017-08-22 16:40:45 -04:00
ps.go Add namespace flag to kpod ps 2017-09-10 11:21:49 -04:00
pull.go Begin converting kpod pull to use libpod/runtime 2017-09-06 19:38:47 +00:00
push.go Begin converting kpod pull to use libpod/runtime 2017-09-06 19:38:47 +00:00
README.md Rename ocid to crio. 2017-05-12 09:56:06 -04:00
rename.go kpod: shut down the storage library before exiting 2017-08-21 11:27:44 -04:00
rm.go Implement kpod rm 2017-09-05 14:35:36 -04:00
rmi.go cmd/kpod/rmi.go: Fix deletion by ID 2017-09-11 16:52:57 -05:00
save.go Update kpod load and save for oci-archive 2017-09-08 10:33:58 -04:00
stats.go Move libkpod/image libkpod/layer to libpod/images and libpod/layers 2017-09-06 19:25:45 +00:00
stop.go We should not be exiting with exit(1) 2017-09-15 17:51:34 -04:00
tag.go Merge pull request #843 from baude/kpod_tag 2017-09-09 05:43:15 -04:00
umount.go Add kpod-mount and kpod-umount to mount and umount container images 2017-08-08 15:46:50 -04:00
version.go Update kpod version and info to show beta version 2017-09-10 12:17:43 -04:00

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.