Discover Packages
github.com/stackpointcloud/kubernetes
contrib
podex
command
Version:
v0.9.2
Opens a new window with list of versions in this module.
Published: Jan 28, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
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 [-json|-yaml] [-id PODNAME] IMAGES...
$ podex -json [-id PODNAME] IMAGES... > pod.json
$ podex -yaml [-id PODNAME] IMAGES... > pod.yaml
Options
id: set the pod name (required with multiple images, optional with single image: default to image base name)
json: puts the container manifest into JSON format
yaml: puts the container manifest into YAML format
Examples
$ podex -json google/nodejs-hello > pod.yaml
$ podex -yaml -id nodejs-nginx google/nodejs-hello nginx > pod.yaml
TODOs
option generate a full pod manifest (w/ desired state)
option to merge multiple container manifest into one pod
docker run flags support
option to generate service bindings from links
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.