kubectl/cmd/kinflate
ymqytw 8fb1e1a267 update mutate func 2018-01-19 09:54:34 -08:00
..
testdata/simple update mutate func 2018-01-19 09:54:34 -08:00
README.md Add travis CICD coverage. 2017-10-24 21:33:30 -07:00
kinflate.go add test for kinflate 2018-01-10 14:23:52 -08:00
kinflate_test.go add test for kinflate 2018-01-10 14:23:52 -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.