cri-o/cmd/kpod
Daniel J Walsh 04e96d05fc validateFlags command line options to make sure the user entered a value
When a user enters a CLI with a StringFlags or StringSliceFlags and does not add
a value the CLI mistakently takes the next option and uses it as a value.

This usually ends up with an error like not enough options or others.  Some times
it could also succeed, with weird results.  This patch looks for any values that
begin with a "-" and return an error.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-10-04 09:36:29 +00: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 validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
common_test.go server: add inspect unit test 2017-09-17 10:19:29 +02:00
diff.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00: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 validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
images.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00: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 validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00: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 Remove references to overlay2 in the code 2017-09-29 20:34:29 +00:00
mount.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
pause.go Add kpod pause and kpod unpause 2017-09-26 08:38:07 -04:00
ps.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
pull.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
push.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00: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 validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
rmi.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
save.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
stats.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00:00
stop.go validateFlags command line options to make sure the user entered a value 2017-10-04 09:36:29 +00: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
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.