ks prototype
Instantiate, inspect, and get examples for ksonnet prototypes
Synopsis
Use the prototype
subcommands to manage, inspect, instantiate, and get
examples for ksonnet prototypes.
Prototypes are pre-written but incomplete Kubernetes manifests, with “holes”
(parameters) that can be filled in with the ksonnet CLI or manually. For example,
the prototype io.ksonnet.pkg.single-port-deployment
requires a name and image,
and the ksonnet CLI can expand this into a fully-formed ‘Deployment’ object.
These complete manifests are output into your components/
directory. In other
words, prototypes provide the basis for the components of your app. You can
use prototypes to autogenerate boilerplate code and focus on customizing them
for your use case.
Options
-h, --help help for prototype
Options inherited from parent commands
--dir string Ksonnet application root to use; Defaults to CWD
--tls-skip-verify Skip verification of TLS server certificates
-v, --verbose count Increase verbosity. May be given multiple times.
SEE ALSO
- ks - Configure your application to deploy to a Kubernetes cluster
- ks prototype describe - See more info about a prototype’s output and usage
- ks prototype list - List all locally available ksonnet prototypes
- ks prototype preview - Preview a prototype’s output without creating a component (stdout)
- ks prototype search - Search for a prototype
- ks prototype use - Use the specified prototype to generate a component manifest