STRIMZI_NAMESPACE
-
A comma-separated list of namespaces that the operator should operate in.
When not set, set to empty string, or to *
the Cluster Operator will operate in all namespaces.
The Cluster Operator deployment might use the Kubernetes Downward API
to set this automatically to the namespace the Cluster Operator is deployed in. See the example below:
env:
- name: STRIMZI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
-
STRIMZI_FULL_RECONCILIATION_INTERVAL_MS
-
Optional, default is 120000 ms. The interval between periodic reconciliations, in milliseconds.
STRIMZI_LOG_LEVEL
-
Optional, default INFO
.
The level for printing logging messages. The value can be set to: ERROR
, WARNING
, INFO
, DEBUG
, and TRACE
.
STRIMZI_OPERATION_TIMEOUT_MS
-
Optional, default 300000 ms.
The timeout for internal operations, in milliseconds. This value should be
increased when using Strimzi on clusters where regular Kubernetes operations take longer than usual (because of slow downloading of Docker images, for example).
STRIMZI_KAFKA_IMAGES
-
Required.
This provides a mapping from Kafka version to the corresponding Docker image containing a Kafka broker of that version.
The required syntax is whitespace or comma separated <version>=<image>
pairs.
For example 2.4.1=strimzi/kafka:0.18.0-kafka-2.4.1, 2.5.0=strimzi/kafka:0.18.0-kafka-2.5.0
.
This is used when a Kafka.spec.kafka.version
property is specified but not the Kafka.spec.kafka.image
, as described in Container images.
STRIMZI_DEFAULT_KAFKA_INIT_IMAGE
-
Optional, default strimzi/operator:0.18.0
.
The image name to use as default for the init container started before the broker for initial configuration work (that is, rack support), if no image is specified as the kafka-init-image
in the Container images.
STRIMZI_DEFAULT_TLS_SIDECAR_KAFKA_IMAGE
-
Optional, default strimzi/kafka:0.18.0-kafka-2.5.0
.
The image name to use as the default when deploying the sidecar container which provides TLS support for Kafka,
if no image is specified as the Kafka.spec.kafka.tlsSidecar.image
in the Container images.
STRIMZI_KAFKA_CONNECT_IMAGES
-
Required.
This provides a mapping from the Kafka version to the corresponding Docker image containing a Kafka connect of that version.
The required syntax is whitespace or comma separated <version>=<image>
pairs.
For example 2.4.1=strimzi/kafka:0.18.0-kafka-2.4.1, 2.5.0=strimzi/kafka:0.18.0-kafka-2.5.0
.
This is used when a KafkaConnect.spec.version
property is specified but not the KafkaConnect.spec.image
, as described in Container images.
STRIMZI_KAFKA_CONNECT_S2I_IMAGES
-
Required.
This provides a mapping from the Kafka version to the corresponding Docker image containing a Kafka connect of that version.
The required syntax is whitespace or comma separated <version>=<image>
pairs.
For example 2.4.1=strimzi/kafka:0.18.0-kafka-2.4.1, 2.5.0=strimzi/kafka:0.18.0-kafka-2.5.0
.
This is used when a KafkaConnectS2I.spec.version
property is specified but not the KafkaConnectS2I.spec.image
, as described in Container images.
STRIMZI_KAFKA_MIRROR_MAKER_IMAGES
-
Required.
This provides a mapping from the Kafka version to the corresponding Docker image containing a Kafka mirror maker of that version.
The required syntax is whitespace or comma separated <version>=<image>
pairs.
For example 2.4.1=strimzi/kafka:0.18.0-kafka-2.4.1, 2.5.0=strimzi/kafka:0.18.0-kafka-2.5.0
.
This is used when a KafkaMirrorMaker.spec.version
property is specified but not the KafkaMirrorMaker.spec.image
, as described in Container images.
STRIMZI_DEFAULT_TOPIC_OPERATOR_IMAGE
-
Optional, default strimzi/operator:0.18.0
.
The image name to use as the default when deploying the topic operator,
if no image is specified as the Kafka.spec.entityOperator.topicOperator.image
in the Container images of the Kafka
resource.
STRIMZI_DEFAULT_USER_OPERATOR_IMAGE
-
Optional, default strimzi/operator:0.18.0
.
The image name to use as the default when deploying the user operator,
if no image is specified as the Kafka.spec.entityOperator.userOperator.image
in the Container images of the Kafka
resource.
STRIMZI_DEFAULT_TLS_SIDECAR_ENTITY_OPERATOR_IMAGE
-
Optional, default strimzi/kafka:0.18.0-kafka-2.5.0
.
The image name to use as the default when deploying the sidecar container which provides TLS support for the Entity Operator, if
no image is specified as the Kafka.spec.entityOperator.tlsSidecar.image
in the Container images.
STRIMZI_IMAGE_PULL_POLICY
-
Optional.
The ImagePullPolicy
which will be applied to containers in all pods managed by Strimzi Cluster Operator.
The valid values are Always
, IfNotPresent
, and Never
.
If not specified, the Kubernetes defaults will be used.
Changing the policy will result in a rolling update of all your Kafka, Kafka Connect, and Kafka MirrorMaker clusters.
STRIMZI_IMAGE_PULL_SECRETS
-
Optional.
A comma-separated list of Secret
names.
The secrets referenced here contain the credentials to the container registries where the container images are pulled from.
The secrets are used in the imagePullSecrets
field for all Pods
created by the Cluster Operator.
Changing this list results in a rolling update of all your Kafka, Kafka Connect, and Kafka MirrorMaker clusters.
STRIMZI_KUBERNETES_VERSION
-
Optional.
Overrides the Kubernetes version information detected from the API server.
See the example below:
env:
- name: STRIMZI_KUBERNETES_VERSION
value: |
major=1
minor=16
gitVersion=v1.16.2
gitCommit=c97fe5036ef3df2967d086711e6c0c405941e14b
gitTreeState=clean
buildDate=2019-10-15T19:09:08Z
goVersion=go1.12.10
compiler=gc
platform=linux/amd64
KUBERNETES_SERVICE_DNS_DOMAIN
-
Optional.
Overrides the default Kubernetes DNS domain name suffix.
By default, services assigned in the Kubernetes cluster have a DNS domain name that uses the default suffix cluster.local
.
For example, for broker kafka-0:
<cluster-name>-kafka-0.<cluster-name>-kafka-brokers.<namespace>.svc.cluster.local
The DNS domain name is added to the Kafka broker certificates used for hostname verification.
If you are using a different DNS domain name suffix in your cluster, change the KUBERNETES_SERVICE_DNS_DOMAIN
environment variable from the default to the one you are using in order to establish a connection with the Kafka brokers.