Closed surahman closed 2 years ago
This issue is not related to a release and will be a code quality improvement.
The V1Controller is a Shim to interface with the K8s cluster(s). It should only contain methods that support this functionality.
V1Controller
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.
Executor
Manager
Refactoring of the K8s Shim
This issue is not related to a release and will be a code quality improvement.
The
V1Controller
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
orManager
.