Command line reference
Ksonnet provides a CLI (invoked with ks
) that allows you to generate Kubernetes resource manifests locally (in jsonnet
) and synchronize them with your remote cluster(s).
The files in this directory enumerate each of the possible ks
commands and their flags. Note that you can also find this info with the CLI itself, using the --help
flag.
Suggested command usage is described below:
Getting started
-
Set up a ksonnet application
-
Generate components for your app (e.g. Redis)
-
ks generate
(alias ofks prototype use
)
-
-
Deploy to a cluster
-
Delete resources running on a cluster
Fancier components
-
Learn about existing prototypes (
ks prototype
) -
Learn about and download currently available packages (
ks pkg
) -
Learn about existing registries (
ks registry
)
Environments
-
Managing environments (
ks env
) -
Customizing environments with parameters (
ks param
) -
Comparing environments
Miscellaneous
-
View expanded manifests
-
Validate manifests against the Kubernetes API
-
View metadata about the ksonnet binary