lensapp/lens

Support options like propagationPolicy as part of removing kube items

Open

#478 opened on Jun 16, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (1,433 forks)batch import
area/uienhancementhacktoberfest

Repository metrics

Stars
 (22,003 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What would you like to be added: When removing a Job resource the user should be able to specify the propagationPolicy, which determines if the Pod(s) related to the Job should also be removed (and in what fashion, i.e Foreground or Background)

This may require UX design. One solution could involve option checkbox(es) or dropdown on the ConfirmDialog, where the user is asked to confirm removal of the item(s).

Other kube objects should also be considered candidates for removal options, like ReplicaSets and Deployments.

Why is this needed: job removal doesn't delete corresponding pods changes the default behaviour for removing jobs from orphaning the Pod(s) to removing them along with the Job. But it is possible the user wants to keep the Pod(s) around in some circumstances. This will afford the user this flexibility.

Environment you are Lens application on:

  • Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...]
  • Desktop OS:

Contributor guide