k3s/contrib/podex
Johan Euphrosine 478257a259 contrib/podex: add http status code handling 2015-02-26 13:30:48 -08:00
..
MAINTAINERS.md podex: cleanup maintainers 2014-10-02 17:25:57 -07:00
README.md README: shorter filename 2015-02-04 11:31:54 -08:00
podex.go contrib/podex: add http status code handling 2015-02-26 13:30:48 -08:00
podex_test.go contrib/podex: use registry API to resolve image metadata 2015-01-08 12:16:41 +00:00

README.md

podex

Description

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.

Usage

$ podex [-format json|yaml] [-type=pod|container] [-name PODNAME] IMAGES...

Options

  • format: manifest format to output, yaml (default) or json
  • json: manifest type to output, pod (default) or container
  • name: manifest name (required with multiple images, optional with single image: default to image base name)

Examples

$ podex google/nodejs-hello > pod.yaml
$ podex -format json -type container -name nodejs-nginx google/nodejs-hello nginx > container.json

TODOs

  • option to merge multiple container manifest into one pod
  • docker run flags support
  • option to generate service bindings from links