nicknezis commented on pull request #3710:
URL: https://github.com/apache/incubator-heron/pull/3710#issuecomment-921926947


   Correct, Heron does not yet have a `loadPodFromTemplate` function. This PR's 
goal is to add it. We need to look up the ConfigMap, get the embedded template 
and then pass that into the `kubernetesClient.pods().load(templateFile).get()` 
call. 
   
   I don't think we can mount the template ConfigMap into the scheduler, so I 
think instead we will need to do a K8s call to get the ConfigMap. When we get 
to actually testing, perhaps we will need to add new K8s permissions, but we 
can figure that out once we can test running the new logic.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to