kruise
kruise copied to clipboard
[feature request] run image pull job in some condition
What would you like to be added:
Introduce additional fields to the image pull job functionality to specify conditional execution criteria.
Why is this needed:
use case scenario:
- We utilize an image pull job with a completionPolicy set to 'Never' to pre-download images on newly joined nodes.
- We deploy a peer-to-peer (P2P) service using a DaemonSet
Upon the addition of a new node to the cluster, it is imperative that the image pull job is executed subsequent to the initiation of the P2P service.