// This assembly is included in the following assemblies:
//
// assembly-customizing-deployments.adoc

[id='con-customizing-image-pull-policy-{context}']
= Customizing the image pull policy

{ProductName} allows you to customize the image pull policy for containers in all pods deployed by the Cluster Operator.
The image pull policy is configured using the environment variable `STRIMZI_IMAGE_PULL_POLICY` in the Cluster Operator deployment.
The `STRIMZI_IMAGE_PULL_POLICY` environment variable can be set to three different values:

`Always`::
Container images are pulled from the registry every time the pod is started or restarted.

`IfNotPresent`::
Container images are pulled from the registry only when they were not pulled before.

`Never`::
Container images are never pulled from the registry.

The image pull policy can be currently customized only for all Kafka, Kafka Connect, and Kafka Mirror Maker clusters at once.
Changing the policy will result in a rolling update of all your Kafka, Kafka Connect, and Kafka Mirror Maker clusters.

.Additional resources

* For more information about Cluster Operator configuration, see xref:assembly-operators-cluster-operator-{context}[].
* For more information about Image Pull Policies, see {K8sImagePullPolicies}.
