cri-o/cmd/kpod
baude 266fc193e7 Make kpod parse configuration file
kpod must parse the crio configuration file or the storage
is not set up correctly.  By default it is not.  We now read
/etc/crio/crio.conf in as the configuration file unless it is
overriden by the user and the global -c|--config switch.

Signed-off-by: baude <bbaude@redhat.com>
2017-09-01 11:14:40 -05: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 Make kpod parse configuration file 2017-09-01 11:14:40 -05: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 Add 'kpod ps' command 2017-08-22 16:40:45 -04:00
images.go Merge pull request #776 from umohnani8/kpod_ps 2017-08-23 07:08:31 -04:00
info.go kpod: add more storage information to "info" 2017-08-28 17:32:03 -04:00
inspect.go *: fix lint issues 2017-08-22 17:32:18 +02:00
load.go Add 'kpod load' command 2017-07-28 22:30:48 -04:00
logs.go kpod: shut down the storage library before exiting 2017-08-21 11:27:44 -04:00
main.go Merge pull request #776 from umohnani8/kpod_ps 2017-08-23 07:08:31 -04:00
mount.go Add 'kpod ps' command 2017-08-22 16:40:45 -04:00
ps.go cmd/kpod/ps.go: Use getCommand for JSON 2017-08-30 09:26:20 -05:00
pull.go Move to new github.com/sirupsen/logrus. 2017-08-07 11:50:04 -04:00
push.go Remove compress variable 2017-08-28 08:29:42 -04: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
rmi.go Update kpod commands to use getConfig() 2017-07-27 15:58:55 -04:00
save.go Move to new github.com/sirupsen/logrus. 2017-08-07 11:50:04 -04:00
stats.go kpod: shut down the storage library before exiting 2017-08-21 11:27:44 -04:00
tag.go Update kpod commands to use getConfig() 2017-07-27 15:58:55 -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 *: fix lint issues 2017-08-22 17:32:18 +02: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.