kelseyhightower / self-deploying-hello-universe

What if applications could deploy themselves?
Apache License 2.0
124 stars 26 forks source link

[WIP] Demo some K8s rules. #5

Closed mattmoor closed 4 years ago

mattmoor commented 7 years ago

@kelseyhightower If you liked the last one, you might like this one. This is still very much a prototype (my July 4th hack), but it allows you to rebuild/repush/redeploy to a namespaced environment with a single command:

  bazel run deployments:dev

For me, I can edit and redeploy this to Container Engine in ~6 seconds.

I have yet to try ibazel myself, but in principle, you should be able to use the changes here with ibazel to run:

  ibazel run deployments:dev

... at which point live edits to your Go should be redeployed in seconds.

Still pretty rough (and not schema driven), but I'd love to hear your thoughts.