This repository was archived by the owner on Sep 12, 2023. It is now read-only.
Tags: kubeflow/common
Tags
Bump k8s dependency to 1.19 and add context support (#126) * Bump k8s dependency to 1.19 and add context support 1. Upgrade k8s dependency to 1.19 2. 1.18 client-go add context and extra options. Adapt to the new changes. 3. Upgrade golang to 1.15 to match golang used in 1.19 Signed-off-by: Jiaxin Shan <[email protected]> * Regenerate objects using latest codegen and openapi * Update CI golang version to 1.15
Clean up go modules (#127) This is a follow up PR to clean up go modules after we swtich to volcano-api. Removing kubernetes unrelated dependencies help reduce size the repo, especially for users who use `go mod vendor` or `go mod download` Signed-off-by: Jiaxin Shan <[email protected]>
Skip some logics for terminated job and add PodGroup reconcile loop (#93 ) * Skip check activeDeadline or backoffLimit if job terminated This is originally from kubeflow/trainer#1111 Signed-off-by: Jiaxin Shan <[email protected]> * Add PodGroup reconcile logic This is missing in kubeflow/common. We need this to make sure minAvailableReplicas is correct in PodGroup for each training job Signed-off-by: Jiaxin Shan <[email protected]>
Simplify interfaces and remove useless interfaces (#85) * Remove interfaces that operator has common impl These are very common implementations and actually doesn’t need interface for different operators. We already have PodControl and ServiceControl which is every reliable to create pods/services. JobController will provde common implementation for them. - GetPodsForJob - GetServicesForJob - CreateService - DeleteService - CreatePod - DeletePod Signed-off-by: Jiaxin Shan <[email protected]> * Add PodControl and ServiceControl back into JobController * Replace pod/service CURD with methods from control * Remove unused GetDefaultContainerPortNumber() interface * Format code base before check in * Add prometheus metrics back * Add gang-scheduling annotation only if operator enable it
PreviousNext