kubernaut icon indicating copy to clipboard operation
kubernaut copied to clipboard

lifecycle management scenarios

Open rhs opened this issue 7 years ago • 2 comments

  • ability to specify up front that a claim should automatically expire after a specified time would be handy for CI
  • ability to "group" claims somehow and delete the whole group

rhs avatar Oct 30 '18 19:10 rhs

  1. Yea the expiration system needs to be implemented. I have wanted exactly what you described. Right now claims never expire at all and really there needs to be user-configurable ones as well system-imposed ones.

  2. The UX for this could be better, but some combination of kubernaut claims list, grep and kubernaut claims delete <claim names...> can handle this if you use a common naming strategy.

plombardi89 avatar Nov 01 '18 18:11 plombardi89

Good point on (2), I hadn't thought about that.

FYI, the main context for this is that I want to have an idiot proof way to avoid "leaking" resources from CI. My strategy for doing that right now works, but I wouldn't call it idiot proof.

rhs avatar Nov 01 '18 18:11 rhs