kubectl/cmd/kinflate
Jeffrey Regan eebd1921d8 Add init command. 2018-01-29 15:46:38 -08:00
..
README.md Add travis CICD coverage. 2017-10-24 21:33:30 -07:00
kinflate.go Add init command. 2018-01-29 15:46:38 -08:00

README.md

kinflate

TODO: flesh out this placeholder documentation

kinflate is a kubernetes cluster configuration utility, a prototype of ideas discussed in this doc.

It accepts one or more file system path arguments, reads the content thereof, and emits kubernetes resource yaml to stdout, suitable for piping into kubectl for declarative application to a kubernetes cluster.

For example, if your current working directory contained

mycluster/
  Kube-Manifest.yaml
  deployment.yaml
  service.yaml
  instances/
    testing/
      Kube-Manifest.yaml
      deployment.yaml
    prod/
      Kube-Manifest.yaml
      deployment.yaml
 ...

then the command

kinflate ./mycluster/instances | kubectl apply -f -

would modify your cluster per the resources generated from the manifests and associated resource files found in mycluster.