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.26k stars 119 forks source link

Feature: Fine grained node selection #207

Open 81887821 opened 1 year ago

81887821 commented 1 year ago

Hi! We want to cache images to nodes where only pods can be scheduled. It would be better if ImageCache CR support node affinity and tolerations just as pods do. Besides, the current generic toleration causes caching jobs run even on cordoned nodes. This disrupts the cluster autoscaler and slows down the process of scaling in.