lensapp/lens

Support options like propagationPolicy as part of removing kube items

Open

#478 aperta il 16 giu 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (1433 fork)batch import
area/uienhancementhacktoberfest

Metriche repository

Star
 (22.003 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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:

Guida contributor