04e96d05fc
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> |
||
---|---|---|
.. | ||
docker | ||
formats | ||
common.go | ||
common_test.go | ||
diff.go | ||
export.go | ||
history.go | ||
images.go | ||
info.go | ||
inspect.go | ||
kill.go | ||
load.go | ||
logs.go | ||
main.go | ||
mount.go | ||
pause.go | ||
ps.go | ||
pull.go | ||
push.go | ||
README.md | ||
rename.go | ||
rm.go | ||
rmi.go | ||
save.go | ||
stats.go | ||
stop.go | ||
tag.go | ||
umount.go | ||
unpause.go | ||
version.go | ||
wait.go |
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
- List pods.
- Launch simple pods (that require no daemon support).
- Exec commands in a container in a pod.
- Launch additional containers in a pod.
- List images.
- Remove images not in use.
- Pull images.
- Check image size.
- Report pod disk resource usage.