podex
is a command line tool to bootstrap a kubernetes container manifests from docker image metadata.
Manifests can then be edited by a human to match deployment needs.
$ podex [-format json|yaml] [-type=pod|container] [-name PODNAME] IMAGES...
format
: manifest format to output,yaml
(default) orjson
type
: manifest type to output,pod
(default) orcontainer
name
: manifest name (required with multiple images, optional with single image: default to image base name)
$ podex google/nodejs-hello > pod.yaml
$ podex -format json -type container -name nodejs-nginx google/nodejs-hello nginx > container.json
daemon
: run in daemon modeinsecure-registry
: connect to insecure registry using HTTPinsecure-skip-verify
: skip registry certificate verify (registry with self-signed certificate)
- option to merge multiple container manifest into one pod
- docker run flags support
- option to generate service bindings from links