mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 10:18:42 +00:00
Merge pull request #625 from klinch0/feature/add-kafka-monitoring
feature/add-kafka-monitoring
This commit is contained in:
2940
dashboards/kafka/strimzi-kafka.json
Normal file
2940
dashboards/kafka/strimzi-kafka.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -80,6 +80,7 @@ modules/340-monitoring-kubernetes/monitoring/grafana-dashboards//main/namespace/
|
||||
modules/340-monitoring-kubernetes/monitoring/grafana-dashboards//main/capacity-planning/capacity-planning.json
|
||||
modules/340-monitoring-kubernetes/monitoring/grafana-dashboards//flux/flux-control-plane.json
|
||||
modules/340-monitoring-kubernetes/monitoring/grafana-dashboards//flux/flux-stats.json
|
||||
modules/340-monitoring-kubernetes/monitoring/grafana-dashboards//kafka/strimzi-kafka.json
|
||||
EOT
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.3.1
|
||||
version: 0.3.2
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
|
||||
@@ -57,6 +57,12 @@ spec:
|
||||
class: {{ . }}
|
||||
{{- end }}
|
||||
deleteClaim: true
|
||||
metricsConfig:
|
||||
type: jmxPrometheusExporter
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-metrics
|
||||
key: kafka-metrics-config.yml
|
||||
zookeeper:
|
||||
replicas: {{ .Values.zookeeper.replicas }}
|
||||
storage:
|
||||
@@ -68,6 +74,12 @@ spec:
|
||||
class: {{ . }}
|
||||
{{- end }}
|
||||
deleteClaim: false
|
||||
metricsConfig:
|
||||
type: jmxPrometheusExporter
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .Release.Name }}-metrics
|
||||
key: kafka-metrics-config.yml
|
||||
entityOperator:
|
||||
topicOperator: {}
|
||||
userOperator: {}
|
||||
|
||||
198
packages/apps/kafka/templates/metrics-configmap.yaml
Normal file
198
packages/apps/kafka/templates/metrics-configmap.yaml
Normal file
@@ -0,0 +1,198 @@
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-metrics
|
||||
data:
|
||||
kafka-metrics-config.yml: |
|
||||
# See https://github.com/prometheus/jmx_exporter for more info about JMX Prometheus Exporter metrics
|
||||
lowercaseOutputName: true
|
||||
rules:
|
||||
# Special cases and very specific rules
|
||||
- pattern: kafka.server<type=(.+), name=(.+), clientId=(.+), topic=(.+), partition=(.*)><>Value
|
||||
name: kafka_server_$1_$2
|
||||
type: GAUGE
|
||||
labels:
|
||||
clientId: "$3"
|
||||
topic: "$4"
|
||||
partition: "$5"
|
||||
- pattern: kafka.server<type=(.+), name=(.+), clientId=(.+), brokerHost=(.+), brokerPort=(.+)><>Value
|
||||
name: kafka_server_$1_$2
|
||||
type: GAUGE
|
||||
labels:
|
||||
clientId: "$3"
|
||||
broker: "$4:$5"
|
||||
- pattern: kafka.server<type=(.+), cipher=(.+), protocol=(.+), listener=(.+), networkProcessor=(.+)><>connections
|
||||
name: kafka_server_$1_connections_tls_info
|
||||
type: GAUGE
|
||||
labels:
|
||||
cipher: "$2"
|
||||
protocol: "$3"
|
||||
listener: "$4"
|
||||
networkProcessor: "$5"
|
||||
- pattern: kafka.server<type=(.+), clientSoftwareName=(.+), clientSoftwareVersion=(.+), listener=(.+), networkProcessor=(.+)><>connections
|
||||
name: kafka_server_$1_connections_software
|
||||
type: GAUGE
|
||||
labels:
|
||||
clientSoftwareName: "$2"
|
||||
clientSoftwareVersion: "$3"
|
||||
listener: "$4"
|
||||
networkProcessor: "$5"
|
||||
- pattern: "kafka.server<type=(.+), listener=(.+), networkProcessor=(.+)><>(.+-total):"
|
||||
name: kafka_server_$1_$4
|
||||
type: COUNTER
|
||||
labels:
|
||||
listener: "$2"
|
||||
networkProcessor: "$3"
|
||||
- pattern: "kafka.server<type=(.+), listener=(.+), networkProcessor=(.+)><>(.+):"
|
||||
name: kafka_server_$1_$4
|
||||
type: GAUGE
|
||||
labels:
|
||||
listener: "$2"
|
||||
networkProcessor: "$3"
|
||||
- pattern: kafka.server<type=(.+), listener=(.+), networkProcessor=(.+)><>(.+-total)
|
||||
name: kafka_server_$1_$4
|
||||
type: COUNTER
|
||||
labels:
|
||||
listener: "$2"
|
||||
networkProcessor: "$3"
|
||||
- pattern: kafka.server<type=(.+), listener=(.+), networkProcessor=(.+)><>(.+)
|
||||
name: kafka_server_$1_$4
|
||||
type: GAUGE
|
||||
labels:
|
||||
listener: "$2"
|
||||
networkProcessor: "$3"
|
||||
# Some percent metrics use MeanRate attribute
|
||||
# Ex) kafka.server<type=(KafkaRequestHandlerPool), name=(RequestHandlerAvgIdlePercent)><>MeanRate
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)Percent\w*><>MeanRate
|
||||
name: kafka_$1_$2_$3_percent
|
||||
type: GAUGE
|
||||
# Generic gauges for percents
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)Percent\w*><>Value
|
||||
name: kafka_$1_$2_$3_percent
|
||||
type: GAUGE
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)Percent\w*, (.+)=(.+)><>Value
|
||||
name: kafka_$1_$2_$3_percent
|
||||
type: GAUGE
|
||||
labels:
|
||||
"$4": "$5"
|
||||
# Generic per-second counters with 0-2 key/value pairs
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*, (.+)=(.+), (.+)=(.+)><>Count
|
||||
name: kafka_$1_$2_$3_total
|
||||
type: COUNTER
|
||||
labels:
|
||||
"$4": "$5"
|
||||
"$6": "$7"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*, (.+)=(.+)><>Count
|
||||
name: kafka_$1_$2_$3_total
|
||||
type: COUNTER
|
||||
labels:
|
||||
"$4": "$5"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)PerSec\w*><>Count
|
||||
name: kafka_$1_$2_$3_total
|
||||
type: COUNTER
|
||||
# Generic gauges with 0-2 key/value pairs
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+), (.+)=(.+)><>Value
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
labels:
|
||||
"$4": "$5"
|
||||
"$6": "$7"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+)><>Value
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
labels:
|
||||
"$4": "$5"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>Value
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
# Emulate Prometheus 'Summary' metrics for the exported 'Histogram's.
|
||||
# Note that these are missing the '_sum' metric!
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+), (.+)=(.+)><>Count
|
||||
name: kafka_$1_$2_$3_count
|
||||
type: COUNTER
|
||||
labels:
|
||||
"$4": "$5"
|
||||
"$6": "$7"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.*), (.+)=(.+)><>(\d+)thPercentile
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
labels:
|
||||
"$4": "$5"
|
||||
"$6": "$7"
|
||||
quantile: "0.$8"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.+)><>Count
|
||||
name: kafka_$1_$2_$3_count
|
||||
type: COUNTER
|
||||
labels:
|
||||
"$4": "$5"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+), (.+)=(.*)><>(\d+)thPercentile
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
labels:
|
||||
"$4": "$5"
|
||||
quantile: "0.$6"
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>Count
|
||||
name: kafka_$1_$2_$3_count
|
||||
type: COUNTER
|
||||
- pattern: kafka.(\w+)<type=(.+), name=(.+)><>(\d+)thPercentile
|
||||
name: kafka_$1_$2_$3
|
||||
type: GAUGE
|
||||
labels:
|
||||
quantile: "0.$4"
|
||||
# KRaft overall related metrics
|
||||
# distinguish between always increasing COUNTER (total and max) and variable GAUGE (all others) metrics
|
||||
- pattern: "kafka.server<type=raft-metrics><>(.+-total|.+-max):"
|
||||
name: kafka_server_raftmetrics_$1
|
||||
type: COUNTER
|
||||
- pattern: "kafka.server<type=raft-metrics><>(current-state): (.+)"
|
||||
name: kafka_server_raftmetrics_$1
|
||||
value: 1
|
||||
type: UNTYPED
|
||||
labels:
|
||||
$1: "$2"
|
||||
- pattern: "kafka.server<type=raft-metrics><>(.+):"
|
||||
name: kafka_server_raftmetrics_$1
|
||||
type: GAUGE
|
||||
# KRaft "low level" channels related metrics
|
||||
# distinguish between always increasing COUNTER (total and max) and variable GAUGE (all others) metrics
|
||||
- pattern: "kafka.server<type=raft-channel-metrics><>(.+-total|.+-max):"
|
||||
name: kafka_server_raftchannelmetrics_$1
|
||||
type: COUNTER
|
||||
- pattern: "kafka.server<type=raft-channel-metrics><>(.+):"
|
||||
name: kafka_server_raftchannelmetrics_$1
|
||||
type: GAUGE
|
||||
# Broker metrics related to fetching metadata topic records in KRaft mode
|
||||
- pattern: "kafka.server<type=broker-metadata-metrics><>(.+):"
|
||||
name: kafka_server_brokermetadatametrics_$1
|
||||
type: GAUGE
|
||||
zookeeper-metrics-config.yml: |
|
||||
# See https://github.com/prometheus/jmx_exporter for more info about JMX Prometheus Exporter metrics
|
||||
lowercaseOutputName: true
|
||||
rules:
|
||||
# replicated Zookeeper
|
||||
- pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+)><>(\\w+)"
|
||||
name: "zookeeper_$2"
|
||||
type: GAUGE
|
||||
- pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+), name1=replica.(\\d+)><>(\\w+)"
|
||||
name: "zookeeper_$3"
|
||||
type: GAUGE
|
||||
labels:
|
||||
replicaId: "$2"
|
||||
- pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+), name1=replica.(\\d+), name2=(\\w+)><>(Packets\\w+)"
|
||||
name: "zookeeper_$4"
|
||||
type: COUNTER
|
||||
labels:
|
||||
replicaId: "$2"
|
||||
memberType: "$3"
|
||||
- pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+), name1=replica.(\\d+), name2=(\\w+)><>(\\w+)"
|
||||
name: "zookeeper_$4"
|
||||
type: GAUGE
|
||||
labels:
|
||||
replicaId: "$2"
|
||||
memberType: "$3"
|
||||
- pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+), name1=replica.(\\d+), name2=(\\w+), name3=(\\w+)><>(\\w+)"
|
||||
name: "zookeeper_$4_$5"
|
||||
type: GAUGE
|
||||
labels:
|
||||
replicaId: "$2"
|
||||
memberType: "$3"
|
||||
40
packages/apps/kafka/templates/podscrape.yaml
Normal file
40
packages/apps/kafka/templates/podscrape.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMPodScrape
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
spec:
|
||||
podMetricsEndpoints:
|
||||
- port: tcp-prometheus
|
||||
scheme: http
|
||||
relabelConfigs:
|
||||
- separator: ;
|
||||
regex: __meta_kubernetes_pod_label_(strimzi_io_.+)
|
||||
replacement: $1
|
||||
action: labelmap
|
||||
- sourceLabels: [__meta_kubernetes_namespace]
|
||||
separator: ;
|
||||
regex: (.*)
|
||||
targetLabel: namespace
|
||||
replacement: $1
|
||||
action: replace
|
||||
- sourceLabels: [__meta_kubernetes_pod_name]
|
||||
separator: ;
|
||||
regex: (.*)
|
||||
targetLabel: pod
|
||||
replacement: $1
|
||||
action: replace
|
||||
- sourceLabels: [__meta_kubernetes_pod_node_name]
|
||||
separator: ;
|
||||
regex: (.*)
|
||||
targetLabel: node
|
||||
replacement: $1
|
||||
action: replace
|
||||
- sourceLabels: [__meta_kubernetes_pod_host_ip]
|
||||
separator: ;
|
||||
regex: (.*)
|
||||
targetLabel: node_ip
|
||||
replacement: $1
|
||||
action: replace
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
@@ -23,7 +23,8 @@ kafka 0.2.1 3ac17018
|
||||
kafka 0.2.2 d0758692
|
||||
kafka 0.2.3 5ca8823
|
||||
kafka 0.3.0 c07c4bbd
|
||||
kafka 0.3.1 HEAD
|
||||
kafka 0.3.1 b7375f73
|
||||
kafka 0.3.2 HEAD
|
||||
kubernetes 0.1.0 f642698
|
||||
kubernetes 0.2.0 7cd7de73
|
||||
kubernetes 0.3.0 7caccec1
|
||||
|
||||
@@ -34,3 +34,4 @@ control-plane/kube-etcd
|
||||
kubevirt/kubevirt-control-plane
|
||||
flux/flux-control-plane
|
||||
flux/flux-stats
|
||||
kafka/strimzi-kafka
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: v2
|
||||
appVersion: 0.43.0
|
||||
appVersion: 0.45.0
|
||||
description: 'Strimzi: Apache Kafka running on Kubernetes'
|
||||
home: https://strimzi.io/
|
||||
icon: https://raw.githubusercontent.com/strimzi/strimzi-kafka-operator/main/documentation/logo/strimzi_logo.png
|
||||
@@ -24,4 +24,4 @@ maintainers:
|
||||
name: strimzi-kafka-operator
|
||||
sources:
|
||||
- https://github.com/strimzi/strimzi-kafka-operator
|
||||
version: 0.43.0
|
||||
version: 0.45.0
|
||||
|
||||
@@ -5,12 +5,15 @@ Strimzi provides a way to run an [Apache Kafka®](https://kafka.apache.org) clus
|
||||
See our [website](https://strimzi.io) for more details about the project.
|
||||
|
||||
**!!! IMPORTANT !!!**
|
||||
Upgrading to Strimzi 0.32 and newer directly from Strimzi 0.22 and earlier is no longer possible.
|
||||
Please follow the [documentation](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-upgrade-str) for more details.
|
||||
|
||||
**!!! IMPORTANT !!!**
|
||||
Strimzi 0.43.0 (and any of its patch releases) is the last Strimzi version with support for Kubernetes 1.23 and 1.24.
|
||||
From Strimzi 0.44.0 on, Strimzi will support only Kubernetes 1.25 and newer.
|
||||
* **Strimzi 0.45 is the last Strimzi version with support for ZooKeeper-based Apache Kafka clusters and MirrorMaker 1 deployments.**
|
||||
**Please make sure to [migrate to KRaft](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-kraft-mode-str) and MirrorMaker 2 before upgrading to Strimzi 0.46 or newer.**
|
||||
* Strimzi 0.45 is the last Strimzi version to include the [Strimzi EnvVar Configuration Provider](https://github.com/strimzi/kafka-env-var-config-provider) (deprecated in Strimzi 0.38.0) and [Strimzi MirrorMaker 2 Extensions](https://github.com/strimzi/mirror-maker-2-extensions) (deprecated in Strimzi 0.28.0).
|
||||
Please use the Apache Kafka [EnvVarConfigProvider](https://github.com/strimzi/kafka-env-var-config-provider?tab=readme-ov-file#deprecation-notice) and [Identity Replication Policy](https://github.com/strimzi/mirror-maker-2-extensions?tab=readme-ov-file#identity-replication-policy) instead.
|
||||
* From Strimzi 0.44.0 on, we support only Kubernetes 1.25 and newer.
|
||||
Kubernetes 1.23 and 1.24 are not supported anymore.
|
||||
* Upgrading to Strimzi 0.32 and newer directly from Strimzi 0.22 and earlier is no longer possible.
|
||||
Please follow the [documentation](https://strimzi.io/docs/operators/latest/full/deploying.html#assembly-upgrade-str) for more details.
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -21,14 +24,16 @@ cluster using the [Helm](https://helm.sh) package manager.
|
||||
### Supported Features
|
||||
|
||||
* **Manages the Kafka Cluster** - Deploys and manages all of the components of this complex application, including dependencies like Apache ZooKeeper® that are traditionally hard to administer.
|
||||
* **KRaft support** - Allows running Apache Kafka clusters in the KRaft mode (without ZooKeeper).
|
||||
* **KRaft support** - Allows running Apache Kafka clusters in the KRaft mode (without ZooKeeper).
|
||||
* **Includes Kafka Connect** - Allows for configuration of common data sources and sinks to move data into and out of the Kafka cluster.
|
||||
* **Topic Management** - Creates and manages Kafka Topics within the cluster.
|
||||
* **User Management** - Creates and manages Kafka Users within the cluster.
|
||||
* **Connector Management** - Creates and manages Kafka Connect connectors.
|
||||
* **Includes Kafka Mirror Maker 1 and 2** - Allows for mirroring data between different Apache Kafka® clusters.
|
||||
* **Includes Kafka MirrorMaker** - Allows for mirroring data between different Apache Kafka® clusters.
|
||||
* **Includes HTTP Kafka Bridge** - Allows clients to send and receive messages through an Apache Kafka® cluster via the HTTP protocol.
|
||||
* **Includes Cruise Control** - Automates the process of balancing partitions across an Apache Kafka® cluster.
|
||||
* **Auto-rebalancing when scaling** - Automatically rebalance the Kafka cluster after a scale-up or before a scale-down.
|
||||
* **Tiered storage** - Offloads older, less critical data to a lower-cost, lower-performance storage tier, such as object storage.
|
||||
* **Prometheus monitoring** - Built-in support for monitoring using Prometheus.
|
||||
* **Grafana Dashboards** - Built-in support for loading Grafana® dashboards via the grafana_sidecar
|
||||
|
||||
@@ -60,7 +65,7 @@ Strimzi is licensed under the [Apache License, Version 2.0](https://github.com/s
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.23+
|
||||
- Kubernetes 1.25+
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
@@ -97,7 +102,7 @@ the documentation for more details.
|
||||
| `watchAnyNamespace` | Watch the whole Kubernetes cluster (all namespaces) | `false` |
|
||||
| `defaultImageRegistry` | Default image registry for all the images | `quay.io` |
|
||||
| `defaultImageRepository` | Default image registry for all the images | `strimzi` |
|
||||
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `0.43.0` |
|
||||
| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `0.45.0` |
|
||||
| `image.registry` | Override default Cluster Operator image registry | `nil` |
|
||||
| `image.repository` | Override default Cluster Operator image repository | `nil` |
|
||||
| `image.name` | Cluster Operator image name | `cluster-operator` |
|
||||
@@ -161,7 +166,7 @@ the documentation for more details.
|
||||
| `kafkaBridge.image.registry` | Override default Kafka Bridge image registry | `quay.io` |
|
||||
| `kafkaBridge.image.repository` | Override default Kafka Bridge image repository | `strimzi` |
|
||||
| `kafkaBridge.image.name` | Kafka Bridge image name | `kafka-bridge` |
|
||||
| `kafkaBridge.image.tag` | Override default Kafka Bridge image tag | `0.30.0` |
|
||||
| `kafkaBridge.image.tag` | Override default Kafka Bridge image tag | `0.31.1` |
|
||||
| `kafkaBridge.image.digest` | Override Kafka Bridge image tag with digest | `nil` |
|
||||
| `kafkaExporter.image.registry` | Override default Kafka Exporter image registry | `nil` |
|
||||
| `kafkaExporter.image.repository` | Override default Kafka Exporter image repository | `nil` |
|
||||
|
||||
@@ -480,6 +480,18 @@ spec:
|
||||
publishNotReadyAddresses:
|
||||
type: boolean
|
||||
description: Configures whether the service endpoints are considered "ready" even if the Pods themselves are not. Defaults to `false`. This field can not be used with `internal` listeners.
|
||||
hostTemplate:
|
||||
type: string
|
||||
description: "Configures the template for generating the hostnames of the individual brokers. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
advertisedHostTemplate:
|
||||
type: string
|
||||
description: "Configures the template for generating the advertised hostnames of the individual brokers. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`."
|
||||
allocateLoadBalancerNodePorts:
|
||||
type: boolean
|
||||
description: |-
|
||||
Configures whether to allocate NodePort automatically for the `Service` with type `LoadBalancer`.
|
||||
This is a one to one with the `spec.allocateLoadBalancerNodePorts` configuration in the `Service` type
|
||||
For `loadbalancer` listeners only.
|
||||
description: Additional listener configuration.
|
||||
networkPolicyPeers:
|
||||
type: array
|
||||
@@ -1561,13 +1573,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka `Pods`.
|
||||
bootstrapService:
|
||||
@@ -1798,6 +1829,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -1899,6 +1972,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -3012,13 +3127,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for ZooKeeper `Pods`.
|
||||
clientService:
|
||||
@@ -3141,6 +3275,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -4319,13 +4495,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Entity Operator `Pods`.
|
||||
topicOperatorContainer:
|
||||
@@ -4342,6 +4537,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -4443,6 +4680,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -4544,6 +4823,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -5593,13 +5914,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Cruise Control `Pods`.
|
||||
apiService:
|
||||
@@ -5671,6 +6011,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -5772,6 +6154,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -5984,6 +6408,27 @@ spec:
|
||||
- type
|
||||
- valueFrom
|
||||
description: Configuration of the Cruise Control REST API users.
|
||||
autoRebalance:
|
||||
type: array
|
||||
minItems: 1
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
enum:
|
||||
- add-brokers
|
||||
- remove-brokers
|
||||
description: "Specifies the mode for automatically rebalancing when brokers are added or removed. Supported modes are `add-brokers` and `remove-brokers`. \n"
|
||||
template:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the KafkaRebalance custom resource to be used as the configuration template for the auto-rebalancing on scaling when running for the corresponding mode.
|
||||
required:
|
||||
- mode
|
||||
description: "Auto-rebalancing on scaling related configuration listing the modes, when brokers are added or removed, with the corresponding rebalance template configurations.If this field is set, at least one mode has to be defined."
|
||||
description: Configuration for Cruise Control deployment. Deploys a Cruise Control instance when specified.
|
||||
jmxTrans:
|
||||
type: object
|
||||
@@ -6675,13 +7120,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for JmxTrans `Pods`.
|
||||
container:
|
||||
@@ -6698,6 +7162,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -7512,13 +8018,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Exporter `Pods`.
|
||||
service:
|
||||
@@ -7553,6 +8078,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -7763,4 +8330,35 @@ spec:
|
||||
- PreKRaft
|
||||
- KRaft
|
||||
description: "Defines where cluster metadata are stored. Possible values are: ZooKeeper if the metadata are stored in ZooKeeper; KRaftMigration if the controllers are connected to ZooKeeper, brokers are being rolled with Zookeeper migration enabled and connection information to controllers, and the metadata migration process is running; KRaftDualWriting if the metadata migration process finished and the cluster is in dual-write mode; KRaftPostMigration if the brokers are fully KRaft-based but controllers being rolled to disconnect from ZooKeeper; PreKRaft if brokers and controller are fully KRaft-based, metadata are stored in KRaft, but ZooKeeper must be deleted; KRaft if the metadata are stored in KRaft."
|
||||
autoRebalance:
|
||||
type: object
|
||||
properties:
|
||||
state:
|
||||
type: string
|
||||
enum:
|
||||
- Idle
|
||||
- RebalanceOnScaleDown
|
||||
- RebalanceOnScaleUp
|
||||
description: "The current state of an auto-rebalancing operation. Possible values are: \n\n* `Idle` as the initial state when an auto-rebalancing is requested or as final state when it completes or fails.\n* `RebalanceOnScaleDown` if an auto-rebalance related to a scale-down operation is running.\n* `RebalanceOnScaleUp` if an auto-rebalance related to a scale-up operation is running."
|
||||
lastTransitionTime:
|
||||
type: string
|
||||
description: The timestamp of the latest auto-rebalancing state update.
|
||||
modes:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
mode:
|
||||
type: string
|
||||
enum:
|
||||
- add-brokers
|
||||
- remove-brokers
|
||||
description: "Mode for which there is an auto-rebalancing operation in progress or queued, when brokers are added or removed. The possible modes are `add-brokers` and `remove-brokers`."
|
||||
brokers:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
description: "List of broker IDs involved in an auto-rebalancing operation related to the current mode. \nThe list contains one of the following: \n\n* Broker IDs for a current auto-rebalance. \n* Broker IDs for a queued auto-rebalance (if a previous auto-rebalance is still in progress). \n"
|
||||
description: "List of modes where an auto-rebalancing operation is either running or queued. \nEach mode entry (`add-brokers` or `remove-brokers`) includes one of the following: \n\n* Broker IDs for a current auto-rebalance. \n* Broker IDs for a queued auto-rebalance (if a previous rebalance is still in progress)."
|
||||
description: The status of an auto-rebalancing triggered by a cluster scaling request.
|
||||
description: "The status of the Kafka and ZooKeeper clusters, and Topic Operator."
|
||||
|
||||
@@ -1103,13 +1103,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Connect `Pods`.
|
||||
apiService:
|
||||
@@ -1192,6 +1211,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -1293,6 +1354,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -2013,13 +2116,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.
|
||||
buildContainer:
|
||||
@@ -2036,6 +2158,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -2215,6 +2379,15 @@ spec:
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a ConfigMap.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.
|
||||
required:
|
||||
- name
|
||||
@@ -2270,6 +2443,15 @@ spec:
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
required:
|
||||
- secret
|
||||
- properties:
|
||||
configMap: {}
|
||||
required:
|
||||
- configMap
|
||||
required:
|
||||
- name
|
||||
description: Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes.
|
||||
@@ -2284,7 +2466,7 @@ spec:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: "Configures additional options which will be passed to the Kaniko executor when building the new Connect image. Allowed options are: --customPlatform, --insecure, --insecure-pull, --insecure-registry, --log-format, --log-timestamp, --registry-mirror, --reproducible, --single-snapshot, --skip-tls-verify, --skip-tls-verify-pull, --skip-tls-verify-registry, --verbosity, --snapshotMode, --use-new-run. These options will be used only on Kubernetes where the Kaniko executor is used. They will be ignored on OpenShift. The options are described in the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^]. Changing this field does not trigger new build of the Kafka Connect image."
|
||||
description: "Configures additional options which will be passed to the Kaniko executor when building the new Connect image. Allowed options are: --customPlatform, --custom-platform, --insecure, --insecure-pull, --insecure-registry, --log-format, --log-timestamp, --registry-mirror, --reproducible, --single-snapshot, --skip-tls-verify, --skip-tls-verify-pull, --skip-tls-verify-registry, --verbosity, --snapshotMode, --use-new-run, --registry-certificate, --registry-client-cert. These options will be used only on Kubernetes where the Kaniko executor is used. They will be ignored on OpenShift. The options are described in the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^]. Changing this field does not trigger new build of the Kafka Connect image."
|
||||
image:
|
||||
type: string
|
||||
description: The name of the image which will be built. Required.
|
||||
|
||||
@@ -1268,13 +1268,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka MirrorMaker `Pods`.
|
||||
podDisruptionBudget:
|
||||
@@ -1313,6 +1332,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
|
||||
@@ -1092,13 +1092,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Bridge `Pods`.
|
||||
apiService:
|
||||
@@ -1170,6 +1189,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -1307,6 +1368,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
|
||||
@@ -92,6 +92,30 @@ spec:
|
||||
- stopped
|
||||
- running
|
||||
description: The state the connector should be in. Defaults to running.
|
||||
listOffsets:
|
||||
type: object
|
||||
properties:
|
||||
toConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the list of offsets will be written to.
|
||||
required:
|
||||
- toConfigMap
|
||||
description: Configuration for listing offsets.
|
||||
alterOffsets:
|
||||
type: object
|
||||
properties:
|
||||
fromConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the new offsets are stored.
|
||||
required:
|
||||
- fromConfigMap
|
||||
description: Configuration for altering offsets.
|
||||
description: The specification of the Kafka Connector.
|
||||
status:
|
||||
type: object
|
||||
|
||||
@@ -337,6 +337,30 @@ spec:
|
||||
type: integer
|
||||
description: "The maximum number of connector restarts that the operator will try. If the connector remains in a failed state after reaching this limit, it must be restarted manually by the user. Defaults to an unlimited number of restarts."
|
||||
description: Automatic restart of connector and tasks configuration.
|
||||
listOffsets:
|
||||
type: object
|
||||
properties:
|
||||
toConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the list of offsets will be written to.
|
||||
required:
|
||||
- toConfigMap
|
||||
description: Configuration for listing offsets.
|
||||
alterOffsets:
|
||||
type: object
|
||||
properties:
|
||||
fromConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the new offsets are stored.
|
||||
required:
|
||||
- fromConfigMap
|
||||
description: Configuration for altering offsets.
|
||||
description: The specification of the Kafka MirrorMaker 2 source connector.
|
||||
heartbeatConnector:
|
||||
type: object
|
||||
@@ -369,6 +393,30 @@ spec:
|
||||
type: integer
|
||||
description: "The maximum number of connector restarts that the operator will try. If the connector remains in a failed state after reaching this limit, it must be restarted manually by the user. Defaults to an unlimited number of restarts."
|
||||
description: Automatic restart of connector and tasks configuration.
|
||||
listOffsets:
|
||||
type: object
|
||||
properties:
|
||||
toConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the list of offsets will be written to.
|
||||
required:
|
||||
- toConfigMap
|
||||
description: Configuration for listing offsets.
|
||||
alterOffsets:
|
||||
type: object
|
||||
properties:
|
||||
fromConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the new offsets are stored.
|
||||
required:
|
||||
- fromConfigMap
|
||||
description: Configuration for altering offsets.
|
||||
description: The specification of the Kafka MirrorMaker 2 heartbeat connector.
|
||||
checkpointConnector:
|
||||
type: object
|
||||
@@ -401,6 +449,30 @@ spec:
|
||||
type: integer
|
||||
description: "The maximum number of connector restarts that the operator will try. If the connector remains in a failed state after reaching this limit, it must be restarted manually by the user. Defaults to an unlimited number of restarts."
|
||||
description: Automatic restart of connector and tasks configuration.
|
||||
listOffsets:
|
||||
type: object
|
||||
properties:
|
||||
toConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the list of offsets will be written to.
|
||||
required:
|
||||
- toConfigMap
|
||||
description: Configuration for listing offsets.
|
||||
alterOffsets:
|
||||
type: object
|
||||
properties:
|
||||
fromConfigMap:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: Reference to the ConfigMap where the new offsets are stored.
|
||||
required:
|
||||
- fromConfigMap
|
||||
description: Configuration for altering offsets.
|
||||
description: The specification of the Kafka MirrorMaker 2 checkpoint connector.
|
||||
topicsPattern:
|
||||
type: string
|
||||
@@ -1248,13 +1320,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Connect `Pods`.
|
||||
apiService:
|
||||
@@ -1337,6 +1428,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -1438,6 +1571,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -2158,13 +2333,32 @@ spec:
|
||||
readOnly:
|
||||
type: boolean
|
||||
description: PersistentVolumeClaim object to use to populate the volume.
|
||||
csi:
|
||||
type: object
|
||||
properties:
|
||||
driver:
|
||||
type: string
|
||||
fsType:
|
||||
type: string
|
||||
nodePublishSecretRef:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
readOnly:
|
||||
type: boolean
|
||||
volumeAttributes:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
description: CSIVolumeSource object to use to populate the volume.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
configMap: {}
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim: {}
|
||||
required: []
|
||||
csi: {}
|
||||
description: Additional volumes that can be mounted to the pod.
|
||||
description: Template for Kafka Connect Build `Pods`. The build pod is used only on Kubernetes.
|
||||
buildContainer:
|
||||
@@ -2181,6 +2375,48 @@ spec:
|
||||
value:
|
||||
type: string
|
||||
description: The environment variable value.
|
||||
valueFrom:
|
||||
type: object
|
||||
properties:
|
||||
secretKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a secret.
|
||||
configMapKeyRef:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a config map.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Reference to the secret or config map property to which the environment variable is set.
|
||||
oneOf:
|
||||
- properties:
|
||||
value: {}
|
||||
required:
|
||||
- value
|
||||
- properties:
|
||||
valueFrom: {}
|
||||
required:
|
||||
- valueFrom
|
||||
description: Environment variables which should be applied to the container.
|
||||
securityContext:
|
||||
type: object
|
||||
@@ -2360,6 +2596,15 @@ spec:
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a ConfigMap.
|
||||
oneOf:
|
||||
- properties:
|
||||
secretKeyRef: {}
|
||||
required:
|
||||
- secretKeyRef
|
||||
- properties:
|
||||
configMapKeyRef: {}
|
||||
required:
|
||||
- configMapKeyRef
|
||||
description: Value of the environment variable which will be passed to the Kafka Connect pods. It can be passed either as a reference to Secret or ConfigMap field. The field has to specify exactly one Secret or ConfigMap.
|
||||
required:
|
||||
- name
|
||||
@@ -2415,6 +2660,15 @@ spec:
|
||||
optional:
|
||||
type: boolean
|
||||
description: Reference to a key in a ConfigMap. Exactly one Secret or ConfigMap has to be specified.
|
||||
oneOf:
|
||||
- properties:
|
||||
secret: {}
|
||||
required:
|
||||
- secret
|
||||
- properties:
|
||||
configMap: {}
|
||||
required:
|
||||
- configMap
|
||||
required:
|
||||
- name
|
||||
description: Makes data from a Secret or ConfigMap available in the Kafka Connect pods as volumes.
|
||||
|
||||
@@ -31,29 +31,13 @@ spec:
|
||||
description: The name of the Kafka cluster this resource rebalances
|
||||
jsonPath: .metadata.labels.strimzi\.io/cluster
|
||||
type: string
|
||||
- name: PendingProposal
|
||||
description: A proposal has been requested from Cruise Control
|
||||
jsonPath: ".status.conditions[?(@.type==\"PendingProposal\")].status"
|
||||
- name: Template
|
||||
description: If this rebalance resource is a template
|
||||
jsonPath: .metadata.annotations.strimzi\.io/rebalance-template
|
||||
type: string
|
||||
- name: ProposalReady
|
||||
description: A proposal is ready and waiting for approval
|
||||
jsonPath: ".status.conditions[?(@.type==\"ProposalReady\")].status"
|
||||
type: string
|
||||
- name: Rebalancing
|
||||
description: Cruise Control is doing the rebalance
|
||||
jsonPath: ".status.conditions[?(@.type==\"Rebalancing\")].status"
|
||||
type: string
|
||||
- name: Ready
|
||||
description: The rebalance is complete
|
||||
jsonPath: ".status.conditions[?(@.type==\"Ready\")].status"
|
||||
type: string
|
||||
- name: NotReady
|
||||
description: There is an error on the custom resource
|
||||
jsonPath: ".status.conditions[?(@.type==\"NotReady\")].status"
|
||||
type: string
|
||||
- name: Stopped
|
||||
description: Processing the proposal or running rebalancing was stopped
|
||||
jsonPath: ".status.conditions[?(@.type==\"Stopped\")].status"
|
||||
- name: Status
|
||||
description: Status of the current rebalancing operation
|
||||
jsonPath: ".status.conditions[*].type"
|
||||
type: string
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
@@ -76,7 +60,8 @@ spec:
|
||||
- full
|
||||
- add-brokers
|
||||
- remove-brokers
|
||||
description: "Mode to run the rebalancing. The supported modes are `full`, `add-brokers`, `remove-brokers`.\nIf not specified, the `full` mode is used by default. \n\n* `full` mode runs the rebalancing across all the brokers in the cluster.\n* `add-brokers` mode can be used after scaling up the cluster to move some replicas to the newly added brokers.\n* `remove-brokers` mode can be used before scaling down the cluster to move replicas out of the brokers to be removed.\n"
|
||||
- remove-disks
|
||||
description: "Mode to run the rebalancing. The supported modes are `full`, `add-brokers`, `remove-brokers`.\nIf not specified, the `full` mode is used by default. \n\n* `full` mode runs the rebalancing across all the brokers in the cluster.\n* `add-brokers` mode can be used after scaling up the cluster to move some replicas to the newly added brokers.\n* `remove-brokers` mode can be used before scaling down the cluster to move replicas out of the brokers to be removed.\n* `remove-disks` mode can be used to move data across the volumes within the same broker\n."
|
||||
brokers:
|
||||
type: array
|
||||
items:
|
||||
@@ -117,6 +102,22 @@ spec:
|
||||
items:
|
||||
type: string
|
||||
description: "A list of strategy class names used to determine the execution order for the replica movements in the generated optimization proposal. By default BaseReplicaMovementStrategy is used, which will execute the replica movements in the order that they were generated."
|
||||
moveReplicasOffVolumes:
|
||||
type: array
|
||||
minItems: 1
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
brokerId:
|
||||
type: integer
|
||||
description: ID of the broker that contains the disk from which you want to move the partition replicas.
|
||||
volumeIds:
|
||||
type: array
|
||||
minItems: 1
|
||||
items:
|
||||
type: integer
|
||||
description: IDs of the disks from which the partition replicas need to be moved.
|
||||
description: List of brokers and their corresponding volumes from which replicas need to be moved.
|
||||
description: The specification of the Kafka rebalance.
|
||||
status:
|
||||
type: object
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1073,6 +1073,89 @@
|
||||
"title": "Metadata Records Commit Latency",
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "The role of the node in KRaft",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"custom": {
|
||||
"align": null,
|
||||
"filterable": false
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "red",
|
||||
"value": 80
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "short"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 6,
|
||||
"x": 0,
|
||||
"y": 23
|
||||
},
|
||||
"id": 122,
|
||||
"options": {
|
||||
"showHeader": true,
|
||||
"sortBy": [
|
||||
{
|
||||
"desc": false,
|
||||
"displayName": "Pod Name"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pluginVersion": "7.4.5",
|
||||
"targets": [
|
||||
{
|
||||
"expr": "max(kafka_server_raftmetrics_current_state) by (kubernetes_pod_name, current_state)",
|
||||
"format": "table",
|
||||
"instant": true,
|
||||
"interval": "",
|
||||
"legendFormat": "",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Current Raft State",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "organize",
|
||||
"options": {
|
||||
"excludeByName": {
|
||||
"Time": true,
|
||||
"Value": true
|
||||
},
|
||||
"indexByName": {
|
||||
"Time": 0,
|
||||
"Value": 3,
|
||||
"current_state": 2,
|
||||
"kubernetes_pod_name": 1
|
||||
},
|
||||
"renameByName": {
|
||||
"current_state": "Current State",
|
||||
"kubernetes_pod_name": "Pod Name"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "table"
|
||||
},
|
||||
{
|
||||
"datasource": "${DS_PROMETHEUS}",
|
||||
"description": "The current quorum leader's id; -1 indicates unknown",
|
||||
@@ -1134,8 +1217,8 @@
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 8,
|
||||
"x": 0,
|
||||
"w": 6,
|
||||
"x": 6,
|
||||
"y": 23
|
||||
},
|
||||
"id": 104,
|
||||
@@ -1228,8 +1311,8 @@
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 8,
|
||||
"x": 8,
|
||||
"w": 6,
|
||||
"x": 12,
|
||||
"y": 23
|
||||
},
|
||||
"id": 105,
|
||||
@@ -1322,8 +1405,8 @@
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 8,
|
||||
"x": 16,
|
||||
"w": 6,
|
||||
"x": 18,
|
||||
"y": 23
|
||||
},
|
||||
"id": 113,
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
{{- $root := . -}}
|
||||
{{- range append .Values.watchNamespaces .Release.Namespace }}
|
||||
{{- $watchNamespaces := .Values.watchNamespaces -}}
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
{{- $watchNamespaces = list -}}
|
||||
{{- end }}
|
||||
{{- range append $watchNamespaces .Release.Namespace }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
|
||||
@@ -79,4 +79,11 @@ rules:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- "kafka.strimzi.io"
|
||||
resources:
|
||||
# The Cluster Operator needs deletion for KafkaRebalance only (during auto-rebalancing)
|
||||
- kafkarebalances
|
||||
verbs:
|
||||
- delete
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{{- if .Values.rbac.create }}
|
||||
{{- if .Values.rbac.create -}}
|
||||
{{- $root := . -}}
|
||||
{{- range append .Values.watchNamespaces .Release.Namespace }}
|
||||
{{- $watchNamespaces := .Values.watchNamespaces -}}
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
{{- $watchNamespaces = list -}}
|
||||
{{- end }}
|
||||
{{- range append $watchNamespaces .Release.Namespace }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{{- if .Values.rbac.create }}
|
||||
{{- if .Values.rbac.create -}}
|
||||
{{- $root := . -}}
|
||||
{{- range append .Values.watchNamespaces .Release.Namespace }}
|
||||
{{- $watchNamespaces := .Values.watchNamespaces -}}
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
{{- $watchNamespaces = list -}}
|
||||
{{- end }}
|
||||
{{- range append $watchNamespaces .Release.Namespace }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
{{- if $root.Values.watchAnyNamespace }}
|
||||
|
||||
@@ -140,6 +140,10 @@ spec:
|
||||
- name: STRIMZI_CONNECT_BUILD_TIMEOUT_MS
|
||||
value: {{ .Values.connectBuildTimeoutMs | quote }}
|
||||
{{- end }}
|
||||
{{- if ne .Values.generatePodDisruptionBudget true}}
|
||||
- name: STRIMZI_POD_DISRUPTION_BUDGET_GENERATION
|
||||
value: {{ .Values.generatePodDisruptionBudget | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraEnvs }}
|
||||
{{ toYaml .Values.extraEnvs | indent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -6,27 +6,27 @@
|
||||
{{/* Generate the kafka image map */}}
|
||||
{{- define "strimzi.kafka.image.map" }}
|
||||
- name: STRIMZI_DEFAULT_KAFKA_EXPORTER_IMAGE
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "kafkaExporter" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "kafkaExporter" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
- name: STRIMZI_DEFAULT_CRUISE_CONTROL_IMAGE
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
- name: STRIMZI_KAFKA_IMAGES
|
||||
value: |
|
||||
3.7.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-3.7.0")) }}
|
||||
3.7.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-3.7.1")) }}
|
||||
3.8.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
3.8.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-3.8.1")) }}
|
||||
3.9.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
- name: STRIMZI_KAFKA_CONNECT_IMAGES
|
||||
value: |
|
||||
3.7.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-3.7.0")) }}
|
||||
3.7.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-3.7.1")) }}
|
||||
3.8.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
3.8.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-3.8.1")) }}
|
||||
3.9.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
- name: STRIMZI_KAFKA_MIRROR_MAKER_IMAGES
|
||||
value: |
|
||||
3.7.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker" "tagSuffix" "-kafka-3.7.0")) }}
|
||||
3.7.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker" "tagSuffix" "-kafka-3.7.1")) }}
|
||||
3.8.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
3.8.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker" "tagSuffix" "-kafka-3.8.1")) }}
|
||||
3.9.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
- name: STRIMZI_KAFKA_MIRROR_MAKER_2_IMAGES
|
||||
value: |
|
||||
3.7.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-3.7.0")) }}
|
||||
3.7.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-3.7.1")) }}
|
||||
3.8.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-3.8.0")) }}
|
||||
3.8.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-3.8.1")) }}
|
||||
3.9.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-3.9.0")) }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -10,7 +10,7 @@ watchAnyNamespace: false
|
||||
|
||||
defaultImageRegistry: quay.io
|
||||
defaultImageRepository: strimzi
|
||||
defaultImageTag: 0.43.0
|
||||
defaultImageTag: 0.45.0
|
||||
|
||||
image:
|
||||
registry: ""
|
||||
@@ -126,7 +126,7 @@ kafkaBridge:
|
||||
registry: ""
|
||||
repository:
|
||||
name: kafka-bridge
|
||||
tag: 0.30.0
|
||||
tag: 0.31.1
|
||||
kafkaExporter:
|
||||
image:
|
||||
registry: ""
|
||||
@@ -180,4 +180,6 @@ labelsExclusionPattern: ""
|
||||
# Controls whether Strimzi generates network policy resources (By default true)
|
||||
generateNetworkPolicy: true
|
||||
# Override the value for Connect build timeout
|
||||
connectBuildTimeoutMs: 300000
|
||||
connectBuildTimeoutMs: 300000
|
||||
# Controls whether Strimzi generates pod disruption budget resources (By default true)
|
||||
generatePodDisruptionBudget: true
|
||||
275
packages/system/kafka-operator/templates/prometheus-rules.yaml
Normal file
275
packages/system/kafka-operator/templates/prometheus-rules.yaml
Normal file
@@ -0,0 +1,275 @@
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
metadata:
|
||||
labels:
|
||||
role: alert-rules
|
||||
app: strimzi
|
||||
name: prometheus-kafka-rules
|
||||
spec:
|
||||
groups:
|
||||
- name: kafka
|
||||
rules:
|
||||
- alert: KafkaRunningOutOfSpace
|
||||
expr: kubelet_volume_stats_available_bytes{persistentvolumeclaim=~"data(-[0-9]+)?-(.+)-kafka-[0-9]+"} * 100 / kubelet_volume_stats_capacity_bytes{persistentvolumeclaim=~"data(-[0-9]+)?-(.+)-kafka-[0-9]+"} < 15
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka is running out of free disk space'
|
||||
description: 'There are only {{ $value }} percent available at {{ $labels.persistentvolumeclaim }} PVC'
|
||||
- alert: UnderReplicatedPartitions
|
||||
expr: kafka_server_replicamanager_underreplicatedpartitions > 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka under replicated partitions'
|
||||
description: 'There are {{ $value }} under replicated partitions on {{ $labels.pod }}'
|
||||
- alert: AbnormalControllerState
|
||||
expr: sum(kafka_controller_kafkacontroller_activecontrollercount) by (strimzi_io_name) != 1
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka abnormal controller state'
|
||||
description: 'There are {{ $value }} active controllers in the cluster'
|
||||
- alert: OfflinePartitions
|
||||
expr: sum(kafka_controller_kafkacontroller_offlinepartitionscount) > 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka offline partitions'
|
||||
description: 'One or more partitions have no leader'
|
||||
- alert: UnderMinIsrPartitionCount
|
||||
expr: kafka_server_replicamanager_underminisrpartitioncount > 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka under min ISR partitions'
|
||||
description: 'There are {{ $value }} partitions under the min ISR on {{ $labels.pod }}'
|
||||
- alert: OfflineLogDirectoryCount
|
||||
expr: kafka_log_logmanager_offlinelogdirectorycount > 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka offline log directories'
|
||||
description: 'There are {{ $value }} offline log directories on {{ $labels.pod }}'
|
||||
- alert: ScrapeProblem
|
||||
expr: up{kubernetes_namespace!~"openshift-.+",pod=~".+-kafka-[0-9]+"} == 0
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Prometheus unable to scrape metrics from {{ $labels.pod }}/{{ $labels.instance }}'
|
||||
description: 'Prometheus was unable to scrape metrics from {{ $labels.pod }}/{{ $labels.instance }} for more than 3 minutes'
|
||||
- alert: ClusterOperatorContainerDown
|
||||
expr: count((container_last_seen{container="strimzi-cluster-operator"} > (time() - 90))) < 1 or absent(container_last_seen{container="strimzi-cluster-operator"})
|
||||
for: 1m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Cluster Operator down'
|
||||
description: 'The Cluster Operator has been down for longer than 90 seconds'
|
||||
- alert: KafkaBrokerContainersDown
|
||||
expr: absent(container_last_seen{container="kafka",pod=~".+-kafka-[0-9]+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'All `kafka` containers down or in CrashLookBackOff status'
|
||||
description: 'All `kafka` containers have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- alert: KafkaContainerRestartedInTheLast5Minutes
|
||||
expr: count(count_over_time(container_last_seen{container="kafka"}[5m])) > 2 * count(container_last_seen{container="kafka",pod=~".+-kafka-[0-9]+"})
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'One or more Kafka containers restarted too often'
|
||||
description: 'One or more Kafka containers were restarted too often within the last 5 minutes'
|
||||
- name: zookeeper
|
||||
rules:
|
||||
- alert: AvgRequestLatency
|
||||
expr: zookeeper_avgrequestlatency > 10
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Zookeeper average request latency'
|
||||
description: 'The average request latency is {{ $value }} on {{ $labels.pod }}'
|
||||
- alert: OutstandingRequests
|
||||
expr: zookeeper_outstandingrequests > 10
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Zookeeper outstanding requests'
|
||||
description: 'There are {{ $value }} outstanding requests on {{ $labels.pod }}'
|
||||
- alert: ZookeeperRunningOutOfSpace
|
||||
expr: kubelet_volume_stats_available_bytes{persistentvolumeclaim=~"data-(.+)-zookeeper-[0-9]+"} < 5368709120
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Zookeeper is running out of free disk space'
|
||||
description: 'There are only {{ $value }} bytes available at {{ $labels.persistentvolumeclaim }} PVC'
|
||||
- alert: ZookeeperContainerRestartedInTheLast5Minutes
|
||||
expr: count(count_over_time(container_last_seen{container="zookeeper"}[5m])) > 2 * count(container_last_seen{container="zookeeper",pod=~".+-zookeeper-[0-9]+"})
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'One or more Zookeeper containers were restarted too often'
|
||||
description: 'One or more Zookeeper containers were restarted too often within the last 5 minutes. This alert can be ignored when the Zookeeper cluster is scaling up'
|
||||
- alert: ZookeeperContainersDown
|
||||
expr: absent(container_last_seen{container="zookeeper",pod=~".+-zookeeper-[0-9]+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'All `zookeeper` containers in the Zookeeper pods down or in CrashLookBackOff status'
|
||||
description: 'All `zookeeper` containers in the Zookeeper pods have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- name: entityOperator
|
||||
rules:
|
||||
- alert: TopicOperatorContainerDown
|
||||
expr: absent(container_last_seen{container="topic-operator",pod=~".+-entity-operator-.+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Container topic-operator in Entity Operator pod down or in CrashLookBackOff status'
|
||||
description: 'Container topic-operator in Entity Operator pod has been or in CrashLookBackOff status for 3 minutes'
|
||||
- alert: UserOperatorContainerDown
|
||||
expr: absent(container_last_seen{container="user-operator",pod=~".+-entity-operator-.+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Container user-operator in Entity Operator pod down or in CrashLookBackOff status'
|
||||
description: 'Container user-operator in Entity Operator pod have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- name: connect
|
||||
rules:
|
||||
- alert: ConnectContainersDown
|
||||
expr: absent(container_last_seen{container=~".+-connect",pod=~".+-connect-.+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'All Kafka Connect containers down or in CrashLookBackOff status'
|
||||
description: 'All Kafka Connect containers have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- alert: ConnectFailedConnector
|
||||
expr: sum(kafka_connect_connector_status{status="failed"}) > 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Kafka Connect Connector Failure'
|
||||
description: 'One or more connectors have been in failed state for 5 minutes,'
|
||||
- alert: ConnectFailedTask
|
||||
expr: sum(kafka_connect_worker_connector_failed_task_count) > 0
|
||||
for: 5m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'Kafka Connect Task Failure'
|
||||
description: 'One or more tasks have been in failed state for 5 minutes.'
|
||||
- name: bridge
|
||||
rules:
|
||||
- alert: BridgeContainersDown
|
||||
expr: absent(container_last_seen{container=~".+-bridge",pod=~".+-bridge-.+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'All Kafka Bridge containers down or in CrashLookBackOff status'
|
||||
description: 'All Kafka Bridge containers have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- alert: AvgProducerLatency
|
||||
expr: strimzi_bridge_kafka_producer_request_latency_avg > 10
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka Bridge producer average request latency'
|
||||
description: 'The average producer request latency is {{ $value }} on {{ $labels.clientId }}'
|
||||
- alert: AvgConsumerFetchLatency
|
||||
expr: strimzi_bridge_kafka_consumer_fetch_latency_avg > 500
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka Bridge consumer average fetch latency'
|
||||
description: 'The average consumer fetch latency is {{ $value }} on {{ $labels.clientId }}'
|
||||
- alert: AvgConsumerCommitLatency
|
||||
expr: strimzi_bridge_kafka_consumer_commit_latency_avg > 200
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka Bridge consumer average commit latency'
|
||||
description: 'The average consumer commit latency is {{ $value }} on {{ $labels.clientId }}'
|
||||
- alert: Http4xxErrorRate
|
||||
expr: strimzi_bridge_http_server_requestCount_total{code=~"^4..$", container=~"^.+-bridge", path !="/favicon.ico"} > 10
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka Bridge returns code 4xx too often'
|
||||
description: 'Kafka Bridge returns code 4xx too much ({{ $value }}) for the path {{ $labels.path }}'
|
||||
- alert: Http5xxErrorRate
|
||||
expr: strimzi_bridge_http_server_requestCount_total{code=~"^5..$", container=~"^.+-bridge"} > 10
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Kafka Bridge returns code 5xx too often'
|
||||
description: 'Kafka Bridge returns code 5xx too much ({{ $value }}) for the path {{ $labels.path }}'
|
||||
- name: mirrorMaker
|
||||
rules:
|
||||
- alert: MirrorMakerContainerDown
|
||||
expr: absent(container_last_seen{container=~".+-mirror-maker",pod=~".+-mirror-maker-.+"})
|
||||
for: 3m
|
||||
labels:
|
||||
severity: major
|
||||
annotations:
|
||||
summary: 'All Kafka Mirror Maker containers down or in CrashLookBackOff status'
|
||||
description: 'All Kafka Mirror Maker containers have been down or in CrashLookBackOff status for 3 minutes'
|
||||
- name: kafkaExporter
|
||||
rules:
|
||||
- alert: UnderReplicatedPartition
|
||||
expr: kafka_topic_partition_under_replicated_partition > 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Topic has under-replicated partitions'
|
||||
description: 'Topic {{ $labels.topic }} has {{ $value }} under-replicated partition {{ $labels.partition }}'
|
||||
- alert: TooLargeConsumerGroupLag
|
||||
expr: kafka_consumergroup_lag > 1000
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Consumer group lag is too big'
|
||||
description: 'Consumer group {{ $labels.consumergroup}} lag is too big ({{ $value }}) on topic {{ $labels.topic }}/partition {{ $labels.partition }}'
|
||||
- alert: NoMessageForTooLong
|
||||
expr: changes(kafka_topic_partition_current_offset[10m]) == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'No message for 10 minutes'
|
||||
description: 'There is no messages in topic {{ $labels.topic}}/partition {{ $labels.partition }} for 10 minutes'
|
||||
- name: certificates
|
||||
interval: 1m0s
|
||||
rules:
|
||||
- alert: CertificateExpiration
|
||||
expr: |
|
||||
strimzi_certificate_expiration_timestamp_ms/1000 - time() < 30 * 24 * 60 * 60
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: 'Certificate will expire in less than 30 days'
|
||||
description: 'Certificate of type {{ $labels.type }} in cluster {{ $labels.cluster }} in namespace {{ $labels.resource_namespace }} will expire in less than 30 days'
|
||||
Reference in New Issue
Block a user