surahman opened a new issue, #3846:
URL: https://github.com/apache/incubator-heron/issues/3846

   ### Refactoring of the K8s Shim
   
   This issue is not related to a release and will be a code quality 
improvement.
   
   The 
[`V1Controller`](https://github.com/apache/incubator-heron/blob/master/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/V1Controller.java)
 is a Shim to interface with the K8s cluster(s). It should only contain methods 
that support this functionality.
   
   #### __Retain:__
   
   - `Constructor`
   - `submit`
   - `killTopology`
   - `restart`
   - `addContainers`
   - `removeContainers`
   - `patchStatefulSetReplicas`
   - `getStatefulSet`
   - `deleteService`
   - `deleteStatefulSets`
   
   Everything else will be refactored into a Stateful Set factory to return 
either an `Executor` or `Manager`.


-- 
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