openkruise / kruise

Automated management of large-scale applications on Kubernetes (incubating project under CNCF)
https://openkruise.io
Other
4.58k stars 754 forks source link

[feature request] run image pull job in some condition #1679

Open ABNER-1 opened 1 month ago

ABNER-1 commented 1 month ago

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:

  1. We utilize an image pull job with a completionPolicy set to 'Never' to pre-download images on newly joined nodes.
  2. 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.

ABNER-1 commented 1 month ago

/unassign FillZpp