Using dynamic values in Kubernetes manifests Using dynamic values in Kubernetes manifests kubernetes kubernetes

Using dynamic values in Kubernetes manifests


You can't really do this right now. The issue to follow if you're interested in templating ishttps://github.com/kubernetes/kubernetes/issues/11492

Also, this is currently a topic of discussion in the configuration SIGhttps://groups.google.com/forum/#!forum/kubernetes-sig-config

I'd suggest you register your interest in the feature in one of those places.


This may work for you: ktmpl is a tool for processing Kubernetes manifest templates. It is a very simple client-side implementation of the Templates + Parameterization proposal.

https://github.com/InQuicker/ktmpl


Ansible is working out for us really well. very easy to template and generate yaml files, but there's also a module for generating some resources directlyhttp://docs.ansible.com/ansible/kubernetes_module.html