Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Delete K8s Resources on abort for K8s plugins #122

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Conversation

EngHabu
Copy link
Contributor

@EngHabu EngHabu commented Apr 22, 2020

TL;DR

Implement Abort() on PluginManager to attempt to delete the created Resources (e.g. Pods, Spark Applications... etc.). This ensures that we do not wait for the GC to run to let K8s kill them saving resources from being wasted.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Tracking Issue

flyteorg/flyte#263

@EngHabu EngHabu requested a review from kumare3 as a code owner April 22, 2020 21:39
@EngHabu EngHabu changed the title Delete CRDs on abort for K8s plugins Delete K8s Resources on abort for K8s plugins Apr 22, 2020
Copy link
Contributor

@kumare3 kumare3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will have impact on k8s logs disappearing, but i think that is fine!

@EngHabu EngHabu merged commit 2d29bfb into master Apr 22, 2020
kumare3 pushed a commit to nuclyde-io/flytepropeller that referenced this pull request Feb 4, 2021
GOPATH is not mandatory to have now and the source code may not be
stored under GOPATH.
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants