Chapter 51. TlsSidecar schema reference
Used in: CruiseControlSpec
, EntityOperatorSpec
Full list of TlsSidecar
schema properties
Configures a TLS sidecar, which is a container that runs in a pod, but serves a supporting purpose. In Streams for Apache Kafka, the TLS sidecar uses TLS to encrypt and decrypt communication between components and ZooKeeper.
The TLS sidecar is used in the Entity Operator.
The TLS sidecar is configured using the tlsSidecar
property in Kafka.spec.entityOperator
.
The TLS sidecar supports the following additional options:
-
image
-
resources
-
logLevel
-
readinessProbe
-
livenessProbe
The resources
property specifies the memory and CPU resources allocated for the TLS sidecar.
The image
property configures the container image which will be used.
The readinessProbe
and livenessProbe
properties configure healthcheck probes for the TLS sidecar.
The logLevel
property specifies the logging level. The following logging levels are supported:
- emerg
- alert
- crit
- err
- warning
- notice
- info
- debug
The default value is notice.
Example TLS sidecar configuration
apiVersion: kafka.strimzi.io/v1beta2 kind: Kafka metadata: name: my-cluster spec: # ... entityOperator: # ... tlsSidecar: resources: requests: cpu: 200m memory: 64Mi limits: cpu: 500m memory: 128Mi # ...
51.1. TlsSidecar
schema properties
Property | Property type | Description |
---|---|---|
image | string | The docker image for the container. |
livenessProbe | Pod liveness checking. | |
logLevel | string (one of [emerg, debug, crit, err, alert, warning, notice, info]) |
The log level for the TLS sidecar. Default value is |
readinessProbe | Pod readiness checking. | |
resources | CPU and memory resources to reserve. |