cri-o/cmd/kpod
baude b85fe5ab90 Fix conmon and runc paths for kpod tests
Tests for kpod create and run were failing because the conmon
binary was being hardcoded.  We added a  --conmon global optioni
for kpod so we could pass in the conmon path from the helpers
file during tests

Signed-off-by: baude <bbaude@redhat.com>
2017-11-01 10:53:52 -05:00
..
docker Implement kpod inspect 2017-07-21 08:11:27 -04:00
formats Return Valid JSON for empty data 2017-10-11 13:28:18 -05:00
common.go Fix conmon and runc paths for kpod tests 2017-11-01 10:53:52 -05:00
common_test.go server: add inspect unit test 2017-09-17 10:19:29 +02:00
create.go Fix conmon and runc paths for kpod tests 2017-11-01 10:53:52 -05:00
create_cli.go Reviewer comments and suggestions incorporated. 2017-10-31 14:10:47 -05:00
diff.go Continue switching from libkpod to libpod 2017-10-10 11:22:09 -04:00
export.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
history.go Continue switching from libkpod to libpod 2017-10-10 11:22:09 -04:00
images.go Continue switching from libkpod to libpod 2017-10-10 11:22:09 -04:00
info.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
inspect.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
kill.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
load.go Add --tls-verify, --cert-dir, and --quiet flags to kpod pull 2017-10-25 16:28:18 -04:00
login.go Add 'kpod login' and 'kpod logout' commands 2017-10-10 17:02:57 -04:00
logout.go Add authfile flag to pull and push 2017-10-24 16:32:09 -04:00
logs.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
main.go Fix conmon and runc paths for kpod tests 2017-11-01 10:53:52 -05:00
mount.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
parse.go Reviewer comments and suggestions incorporated. 2017-10-31 14:10:47 -05:00
pause.go Add kpod pause and kpod unpause 2017-09-26 08:38:07 -04:00
ps.go Return Valid JSON for empty data 2017-10-11 13:28:18 -05:00
pull.go Add --tls-verify, --cert-dir, and --quiet flags to kpod pull 2017-10-25 16:28:18 -04:00
push.go Add authfile flag to pull and push 2017-10-24 16:32:09 -04:00
README.md Rename ocid to crio. 2017-05-12 09:56:06 -04:00
rename.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
rm.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
rmi.go Continue switching from libkpod to libpod 2017-10-10 11:22:09 -04:00
run.go Fix conmon and runc paths for kpod tests 2017-11-01 10:53:52 -05:00
save.go Add authfile flag to pull and push 2017-10-24 16:32:09 -04:00
spec.go Reviewer comments and suggestions incorporated. 2017-10-31 14:10:47 -05:00
stats.go Continue switching from libkpod to libpod 2017-10-10 11:22:09 -04:00
stop.go oci: fixes to properly handle container stop action 2017-10-17 00:21:17 +02:00
tag.go Switch kpod load/push/save to use libpod runtime 2017-09-27 22:33:20 -04:00
umount.go Add kpod-mount and kpod-umount to mount and umount container images 2017-08-08 15:46:50 -04:00
unpause.go Add kpod pause and kpod unpause 2017-09-26 08:38:07 -04:00
user.go Reviewer comments and suggestions incorporated. 2017-10-31 14:10:47 -05:00
version.go Update kpod version and info to show beta version 2017-09-10 12:17:43 -04:00
wait.go Add kpod wait 2017-09-27 09:03:33 -05: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.