Chetan Mehrotra <chetan.mehro...@gmail.com> wrote on 09/10/2019 01:23:51 AM: > > May be we can change the current approach of building the whole Pod > spec prgramatically to more of a template based. Use a base yaml/json > template [1] (exposed as config) to the podSpec and then update it for > the dynamic part before sending it to Kube API Server. > > Then one can customize the template spec in any form (add image > secrets, custom labels, affinity etc) >
This makes sense to me. --dave