Nice idea to generalize this. At my last job we did a lot of this automation against k8s on GCP using make and bash scripts calling gcloud and kubectl. A general use framework for promoting docker images to k8s services could be quite cool.
Thanks! What else would you want to see in a general use framework?
Basically tooling that takes you from a collection of images and service/replication controller definitions to a running stack. The main questions we ended up trying to answer were things like: how many nodes in the cluster? What machine type? Which images need to be deployed and which tag of each image? Which k8s objects need to be created and what customization has to be done to them in the process? We ended up with a combination of make files and shell scripts that defined all these aspects of a specific running cluster, created the cluster, deployed the images, created the services, etc.
kubernetes is that general use framework.
Yeah in many respects it is a general use framework, but there are gaps. Build tooling and automation to deploy images and update service and replication controller definitions is an area k8s really doesn't cover. There are a lot of different ways to approach it, but I think some sort of "ansible for clusters" makes sense.