You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
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.
I'm working on this. Have changes needed for the 6.0.1 version of the Java API. Have not yet made changes to use the in cluster config, but I'll make that change also.
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
The text was updated successfully, but these errors were encountered: