joshfischer1108 opened a new issue #3259: Update k8's Scheduler Code
URL: https://github.com/apache/incubator-heron/issues/3259
 
 
   The scheduler code is out of date and needs to be updated to use the 
InCluster API in the Java Kubernetes client.  By updating the code we can 
remove the proxy  container that is being used today in the Helm chart.
   
   #### This following class should be deprecated and use the AppsV1 APIs going 
forward.
   
https://github.com/apache/incubator-heron/blob/master/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/AppsV1beta1Controller.java#L52
   
   #### the context class will have to change we no longer need a scheduler URI 
when running inside the cluster
   
   
https://github.com/apache/incubator-heron/blob/master/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesContext.java#L28
   
   #### An example of getting the cluster config is below:
   
https://github.com/apache/pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/KubernetesRuntimeFactory.java#L254

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to