When will the kubelet pull this image?
containers: - name: api image: registry.example.com/api:1.4.2 imagePullPolicy: IfNotPresent
- Each time any pod using it starts
- Never; nodes must be preloaded
- Only if the node lacks that image
- Once a day, to look for updates
IfNotPresent uses a cached copy when the node already has it and pulls only when it does not. Always pulls on every start; Never relies entirely on preloaded images.
Play DevOps ▸