podex

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2017 License: Apache-2.0 Imports: 13 Imported by: ? 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.

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 [-format json|yaml] [-type=pod|container] [-name PODNAME] IMAGES...

Options
  • format: manifest format to output, yaml (default) or json
  • type: 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
Flags
  • daemon: run in daemon mode
  • insecure-registry: connect to insecure registry using HTTP
  • insecure-skip-verify: skip registry certificate verify (registry with self-signed certificate)

TODOs

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

Analytics

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
Package yaml implements YAML support for the Go language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL