senthilrch / kube-fledged

A kubernetes operator for creating and managing a cache of container images directly on the cluster worker nodes, so application pods start almost instantly
Apache License 2.0
1.24k stars 118 forks source link

feat(ImageManager): add --job-retention-policy flag to the controller #160

Closed niladrih closed 2 years ago

niladrih commented 2 years ago

Signed-off-by: Niladri Halder niladri.halder26@gmail.com

Resolves #101

This PR adds the '--job-retention-policy' flag to the controller. Possible values for this flag are 'delete' and 'retain'.

delete behavior:

retain behavior:

niladrih commented 2 years ago

I've built and tested on k8s 1.23.3 (linux/arm64) @senthilrch PTAL. Thanks.

niladrih commented 2 years ago

@senthilrch -- Made the changes. PTAL. Thanks