diff --git a/examples/backups/kafka-metadata/00-helpers.sh b/examples/backups/kafka-metadata/00-helpers.sh index 08a44b8bc..c4ef501c8 100755 --- a/examples/backups/kafka-metadata/00-helpers.sh +++ b/examples/backups/kafka-metadata/00-helpers.sh @@ -63,7 +63,7 @@ export CA_MOUNT_DIR="${CA_MOUNT_DIR:-/etc/ssl/kafka-backup-ca}" # the target broker's own image at reconcile time and renders it as the # strategy's .ClientImage. Override this only to match your operator's image if # the CLI it carries differs. -export KAFKA_IMAGE="${KAFKA_IMAGE:-quay.io/strimzi/kafka:1.2.0-kafka-4.3.1@sha256:fef34b5438e8556cc08c01f3e254e47346f061b53a4e38d4289853777e0ea7f1}" +export KAFKA_IMAGE="${KAFKA_IMAGE:-quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1@sha256:a15f05b54941937d3bc6881985679d9f429f7af2025bcbcc045c069cf9a48905}" export KAFKA_BIN="${KAFKA_BIN:-/opt/kafka/bin}" # Name of that long-lived CLI Pod; cleanup.sh removes it. export KAFKA_CLI_POD="${KAFKA_CLI_POD:-kafka-cli}" diff --git a/examples/backups/kafka/00-helpers.sh b/examples/backups/kafka/00-helpers.sh index 5ae81170a..f9cd30070 100755 --- a/examples/backups/kafka/00-helpers.sh +++ b/examples/backups/kafka/00-helpers.sh @@ -92,8 +92,8 @@ resolve_kafka_image() { # is being assumed. On an air-gapped or operator-less cluster - the persona # the README's override note is for - that literal is unreachable, so the # run must set KAFKA_IMAGE to an image the nodes can actually pull. - echo "! could not read STRIMZI_KAFKA_IMAGES from deploy/strimzi-cluster-operator in cozy-kafka-operator; assuming quay.io/strimzi/kafka:1.2.0-kafka-4.3.1. Set KAFKA_IMAGE explicitly if that image is wrong or unreachable (e.g. air-gapped)." >&2 - echo "quay.io/strimzi/kafka:1.2.0-kafka-4.3.1" + echo "! could not read STRIMZI_KAFKA_IMAGES from deploy/strimzi-cluster-operator in cozy-kafka-operator; assuming quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1. Set KAFKA_IMAGE explicitly if that image is wrong or unreachable (e.g. air-gapped)." >&2 + echo "quay.io/strimzi/kafka:1.3.1-1-kafka-4.3.1" } export KAFKA_IMAGE="${KAFKA_IMAGE:-$(resolve_kafka_image)}" export KAFKA_BIN="${KAFKA_BIN:-/opt/kafka/bin}" diff --git a/packages/system/kafka-operator/Makefile b/packages/system/kafka-operator/Makefile index 592b653a3..47aae1a62 100644 --- a/packages/system/kafka-operator/Makefile +++ b/packages/system/kafka-operator/Makefile @@ -5,4 +5,4 @@ include ../../../hack/package.mk update: rm -rf charts - helm pull oci://quay.io/strimzi-helm/strimzi-kafka-operator --untar --untardir charts --version 1.2.0 + helm pull oci://quay.io/strimzi-helm/strimzi-kafka-operator --untar --untardir charts --version 1.3.1 diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/Chart.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/Chart.yaml index 25b6afc8b..74ce97882 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/Chart.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.2.0 +appVersion: 1.3.1 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 @@ -18,4 +18,4 @@ maintainers: name: strimzi-kafka-operator sources: - https://github.com/strimzi/strimzi-kafka-operator -version: 1.2.0 +version: 1.3.1 diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/README.md b/packages/system/kafka-operator/charts/strimzi-kafka-operator/README.md index 2ef5cb42b..5f9109c5d 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/README.md +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/README.md @@ -6,6 +6,9 @@ See our [website](https://strimzi.io) for more details about the project. **!!! IMPORTANT !!!** +**From Strimzi 1.3.0 on, we support only Kubernetes 1.32 and newer.** +Kubernetes 1.30 and 1.31 are not supported anymore. + **From Strimzi 1.2.0, the Helm Chart uses the default container security context that matches the [Restricted Kubernetes Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/).** ```yaml securityContext: @@ -75,7 +78,7 @@ Strimzi is licensed under the [Apache License, Version 2.0](https://github.com/s ## Prerequisites -- Kubernetes 1.30+ +- Kubernetes 1.32+ ## Installing the Chart @@ -112,7 +115,7 @@ See 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 | `1.2.0` | +| `defaultImageTag` | Default image tag for all the images except Kafka Bridge | `1.3.1` | | `deploymentAnnotations` | Annotations for the operator deployment | `{}` | | `deploymentLabels` | Labels for the operator deployment | `{}` | | `image.registry` | Override default Cluster Operator image registry | `nil` | @@ -176,7 +179,7 @@ See 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 | `1.1.0` | +| `kafkaBridge.image.tag` | Override default Kafka Bridge image tag | `1.2.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` | @@ -190,11 +193,6 @@ See the documentation for more details. | `kafkaMirrorMaker2.image.tagPrefix` | Override default Kafka Mirror Maker 2 image tag prefix | `nil` | | `kafkaMirrorMaker2.image.tag` | Override default Kafka Mirror Maker 2 image tag and ignore suffix | `nil` | | `kafkaMirrorMaker2.image.digest` | Override Kafka Mirror Maker 2 image tag with digest | `nil` | -| `kanikoExecutor.image.registry` | Override default Kaniko Executor image registry | `nil` | -| `kanikoExecutor.image.repository` | Override default Kaniko Executor image repository | `nil` | -| `kanikoExecutor.image.name` | Kaniko Executor image name | `kaniko-executor` | -| `kanikoExecutor.image.tag` | Override default Kaniko Executor image tag | `nil` | -| `kanikoExecutor.image.digest` | Override Kaniko Executor image tag with digest | `nil` | | `buildah.image.registry` | Override default Buildah image registry | `nil` | | `buildah.image.repository` | Override default Buildah image repository | `nil` | | `buildah.image.name` | Buildah image name | `buildah` | diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/040-Crd-kafka.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/040-Crd-kafka.yaml index c2edb2f9a..eee1f6c9a 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/040-Crd-kafka.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/040-Crd-kafka.yaml @@ -1181,26 +1181,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1213,6 +1194,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1266,6 +1274,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -1274,6 +1307,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. templatedVolumes: type: array @@ -1288,26 +1322,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1320,6 +1335,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1684,6 +1726,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -1827,6 +1873,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -2920,26 +2970,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -2952,6 +2983,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -3005,6 +3063,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -3013,6 +3096,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -3145,6 +3229,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -3288,6 +3376,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -3406,6 +3498,12 @@ spec: generateCertificateAuthority: type: boolean description: If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true. + type: + type: string + enum: + - strimzi + - cert-manager + description: The type of certificate manager. The available types are `strimzi` and `cert-manager`. Default is `strimzi`. generateSecretOwnerReference: type: boolean description: "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`." @@ -3416,20 +3514,72 @@ spec: renewalDays: type: integer minimum: 1 - description: "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." + description: "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is false, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." certificateExpirationPolicy: type: string enum: - renew-certificate - replace-key description: How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key. + certManager: + type: object + properties: + issuerRef: + type: object + properties: + name: + type: string + description: The name of the cert-manager issuer. Required. + kind: + type: string + enum: + - Issuer + - ClusterIssuer + description: The kind of the cert-manager issuer. Must be either `Issuer` or `ClusterIssuer`. Required. + group: + type: string + description: The group of the cert-manager issuer. Default is `cert-manager.io`. + required: + - name + - kind + description: Reference to the cert-manager issuer to use for issuing certificates. Required. + caCertRef: + type: object + properties: + secretName: + type: string + description: The name of the Secret. Required. + certificate: + type: string + description: The key under which the CA certificate is stored in the Secret. Required. + required: + - secretName + - certificate + description: Reference to the Secret containing the CA certificate (public key) that trusts certificates issued by cert-manager. Required. + required: + - issuerRef + - caCertRef + description: Configuration for using cert-manager to issue certificates. This only applies if the CA type is set to `cert-manager`. description: Configuration of the cluster certificate authority. + x-kubernetes-validations: + - rule: (has(self.type) && self.type != 'strimzi') || !has(self.certManager) + message: "'certManager' cannot be configured with 'type: strimzi'" + - rule: '!has(self.type) || self.type != ''cert-manager'' || has(self.certManager)' + message: "'certManager' must be set for 'type: cert-manager'" + - rule: '!has(self.type) || self.type != ''cert-manager'' || (has(self.generateCertificateAuthority) && !self.generateCertificateAuthority)' + message: "'generateCertificateAuthority' must be set to false for 'type: cert-manager'" clientsCa: type: object properties: generateCertificateAuthority: type: boolean description: If true then Certificate Authority certificates will be generated automatically. Otherwise the user will need to provide a Secret with the CA certificate. Default is true. + type: + type: string + enum: + - strimzi + - cert-manager + description: The type of certificate manager. The available types are `strimzi` and `cert-manager`. Default is `strimzi`. generateSecretOwnerReference: type: boolean description: "If `true`, the Cluster and Client CA Secrets are configured with the `ownerReference` set to the `Kafka` resource. If the `Kafka` resource is deleted when `true`, the CA Secrets are also deleted. If `false`, the `ownerReference` is disabled. If the `Kafka` resource is deleted when `false`, the CA Secrets are retained and available for reuse. Default is `true`." @@ -3440,14 +3590,60 @@ spec: renewalDays: type: integer minimum: 1 - description: "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is true, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." + description: "The number of days in the certificate renewal period. This is the number of days before the a certificate expires during which renewal actions may be performed. When `generateCertificateAuthority` is true, this will cause the generation of a new certificate. When `generateCertificateAuthority` is false, this will cause extra logging at WARN level about the pending certificate expiry. Default is 30." certificateExpirationPolicy: type: string enum: - renew-certificate - replace-key description: How should CA certificate expiration be handled when `generateCertificateAuthority=true`. The default is for a new CA certificate to be generated reusing the existing private key. + certManager: + type: object + properties: + issuerRef: + type: object + properties: + name: + type: string + description: The name of the cert-manager issuer. Required. + kind: + type: string + enum: + - Issuer + - ClusterIssuer + description: The kind of the cert-manager issuer. Must be either `Issuer` or `ClusterIssuer`. Required. + group: + type: string + description: The group of the cert-manager issuer. Default is `cert-manager.io`. + required: + - name + - kind + description: Reference to the cert-manager issuer to use for issuing certificates. Required. + caCertRef: + type: object + properties: + secretName: + type: string + description: The name of the Secret. Required. + certificate: + type: string + description: The key under which the CA certificate is stored in the Secret. Required. + required: + - secretName + - certificate + description: Reference to the Secret containing the CA certificate (public key) that trusts certificates issued by cert-manager. Required. + required: + - issuerRef + - caCertRef + description: Configuration for using cert-manager to issue certificates. This only applies if the CA type is set to `cert-manager`. description: Configuration of the clients certificate authority. + x-kubernetes-validations: + - rule: (has(self.type) && self.type != 'strimzi') || !has(self.certManager) + message: "'certManager' cannot be configured with 'type: strimzi'" + - rule: '!has(self.type) || self.type != ''cert-manager'' || has(self.certManager)' + message: "'certManager' must be set for 'type: cert-manager'" + - rule: '!has(self.type) || self.type != ''cert-manager'' || (has(self.generateCertificateAuthority) && !self.generateCertificateAuthority)' + message: "'generateCertificateAuthority' must be set to false for 'type: cert-manager'" cruiseControl: type: object properties: @@ -4171,26 +4367,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -4203,6 +4380,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -4256,6 +4460,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -4264,6 +4493,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -4451,6 +4681,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -4530,7 +4764,7 @@ spec: config: x-kubernetes-preserve-unknown-fields: true type: object - description: "The Cruise Control configuration. For a full list of configuration options refer to https://github.com/linkedin/cruise-control/wiki/Configurations. Note that properties with the following prefixes cannot be set: bootstrap.servers, client.id, zookeeper., network., security., failed.brokers.zk.path,webserver.http., webserver.api.urlprefix, webserver.session.path, webserver.accesslog., two.step., request.reason.required,metric.reporter.sampler.bootstrap.servers, capacity.config.file, self.healing., ssl., kafka.broker.failure.detection.enable, topic.config.provider.class (with the exception of: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, webserver.http.cors.enabled, webserver.http.cors.origin, webserver.http.cors.exposeheaders, webserver.security.enable, webserver.ssl.enable)." + description: "The Cruise Control configuration. For a full list of configuration options refer to https://github.com/linkedin/cruise-control/wiki/Configurations. Note that properties with the following prefixes cannot be set: bootstrap.servers, client.id, zookeeper., network., security., failed.brokers.zk.path,webserver.http., webserver.ssl., webserver.api.urlprefix, webserver.session.path, webserver.accesslog., two.step., request.reason.required,metric.reporter.sampler.bootstrap.servers, capacity.config.file, self.healing., ssl., kafka.broker.failure.detection.enable, topic.config.provider.class (with the exception of: ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, webserver.http.cors.enabled, webserver.http.cors.origin, webserver.http.cors.exposeheaders, webserver.security.enable)." metricsConfig: type: object properties: @@ -5300,26 +5534,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -5332,6 +5547,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -5385,6 +5627,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -5393,6 +5660,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -5525,6 +5793,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -5701,7 +5973,6 @@ spec: description: The status of an auto-rebalancing triggered by a cluster scaling request. clusterSecurity: type: object - properties: {} x-kubernetes-preserve-unknown-fields: true description: The current security configuration of the Kafka cluster. description: The status of the Kafka cluster. diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml index 2f546f518..c7c7921c8 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/041-Crd-kafkaconnect.yaml @@ -166,7 +166,7 @@ spec: config: x-kubernetes-preserve-unknown-fields: true type: object - description: "The Kafka Connect configuration. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes, prometheus.metrics.reporter. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + description: "The Kafka Connect configuration. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes, prometheus.metrics.reporter. (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, rest.extension.classes)." resources: type: object properties: @@ -967,26 +967,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -999,6 +980,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1052,6 +1060,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -1060,6 +1093,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. templatedVolumes: type: array @@ -1074,26 +1108,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1106,6 +1121,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1322,6 +1364,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -1465,6 +1511,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -2089,26 +2139,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -2121,6 +2152,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -2174,6 +2232,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -2182,6 +2265,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -2314,6 +2398,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -2398,7 +2486,7 @@ spec: type: array items: type: string - description: "Configures additional options to pass to the `build` command of either Kaniko or Buildah (depending on the feature gate setting) when building a new Kafka Connect image. Allowed Kaniko options: --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, --ignore-path. Allowed Buildah `build` options: --authfile, --cert-dir, --creds, --decryption-key, --retry, --retry-delay, --tls-verify. Those options are used only on Kubernetes, where Kaniko and Buildah are available. They are ignored on OpenShift. For more information, see the link:https://github.com/GoogleContainerTools/kaniko[Kaniko GitHub repository^] or the link:https://github.com/containers/buildah/blob/main/docs/buildah-build.1.md[Buildah build document^]. Changing this field does not trigger a rebuild of the Kafka Connect image." + description: "Configures additional options to pass to the `build` command of Buildah when building a new Kafka Connect image. Allowed Buildah `build` options: --authfile, --cert-dir, --creds, --decryption-key, --retry, --retry-delay, --tls-verify. Those options are used only on Kubernetes, where Buildah is available. They are ignored on OpenShift. For more information, see the link:https://github.com/containers/buildah/blob/main/docs/buildah-build.1.md[Buildah build document^]. Changing this field does not trigger a rebuild of the Kafka Connect image." additionalPushOptions: type: array items: diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/045-Crd-kafkanodepool.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/045-Crd-kafkanodepool.yaml index 25e729af2..89337a812 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/045-Crd-kafkanodepool.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/045-Crd-kafkanodepool.yaml @@ -789,26 +789,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -821,6 +802,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -874,6 +882,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -882,6 +915,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. templatedVolumes: type: array @@ -896,26 +930,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -928,6 +943,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1150,6 +1192,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -1293,6 +1339,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml index f54a5a0ff..5903fa65b 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/046-Crd-kafkabridge.yaml @@ -1019,26 +1019,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1051,6 +1032,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1104,6 +1112,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -1112,6 +1145,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -1299,6 +1333,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -1478,6 +1516,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml index b3c0c57f6..2a5becfdc 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/crds/048-Crd-kafkamirrormaker2.yaml @@ -173,7 +173,7 @@ spec: config: x-kubernetes-preserve-unknown-fields: true type: object - description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, rest.extension.classes)." required: - alias - bootstrapServers @@ -285,7 +285,7 @@ spec: config: x-kubernetes-preserve-unknown-fields: true type: object - description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols)." + description: "The MirrorMaker 2 cluster config. Properties with the following prefixes cannot be set: group.id, config.storage.topic, offset.storage.topic, status.storage.topic, ssl., sasl., security., listeners, plugin.path, rest., bootstrap.servers, consumer.interceptor.classes, producer.interceptor.classes (with the exception of: ssl.endpoint.identification.algorithm, ssl.cipher.suites, ssl.protocol, ssl.enabled.protocols, rest.extension.classes)." required: - alias - bootstrapServers @@ -1217,26 +1217,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1249,6 +1230,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1302,6 +1310,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -1310,6 +1343,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. templatedVolumes: type: array @@ -1324,26 +1358,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -1356,6 +1371,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: "`Secret` to use to populate the volume. The name of the Secret and the items key and path fields can use placeholders that would be replaced for every individual node. Valid placeholders that you can use in the template are `{nodeId}` and `{nodePodName}`." + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -1572,6 +1614,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -1715,6 +1761,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: @@ -2339,26 +2389,7 @@ spec: properties: defaultMode: type: integer - items: - type: array - items: - type: object - properties: - key: - type: string - mode: - type: integer - path: - type: string - optional: - type: boolean - secretName: - type: string - description: '`Secret` to use to populate the volume.' - configMap: - type: object - properties: - defaultMode: + defaultUser: type: integer items: type: array @@ -2371,6 +2402,33 @@ spec: type: integer path: type: string + user: + type: integer + optional: + type: boolean + secretName: + type: string + description: '`Secret` to use to populate the volume.' + configMap: + type: object + properties: + defaultMode: + type: integer + defaultUser: + type: integer + items: + type: array + items: + type: object + properties: + key: + type: string + mode: + type: integer + path: + type: string + user: + type: integer name: type: string optional: @@ -2424,6 +2482,31 @@ spec: reference: type: string description: '`ImageVolumeSource` object to use to populate the volume.' + projected: + type: object + properties: + sources: + type: array + items: + type: object + properties: + serviceAccountToken: + type: object + properties: + audience: + type: string + expirationSeconds: + type: integer + path: + type: string + user: + type: integer + description: Information about the serviceAccountToken data to project. + oneOf: + - properties: + serviceAccountToken: {} + description: "List of projections that are part of this projected volumes. Currently, only Service Account projection is supported." + description: '`ProjectedVolume` object to use volume projection.' oneOf: - properties: secret: {} @@ -2432,6 +2515,7 @@ spec: persistentVolumeClaim: {} csi: {} image: {} + projected: {} description: Additional volumes that can be mounted to the pod. hostUsers: type: boolean @@ -2564,6 +2648,10 @@ spec: items: type: object properties: + bindMountOptions: + type: array + items: + type: string mountPath: type: string mountPropagation: diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/files/grafana-dashboards/strimzi-kafka.json b/packages/system/kafka-operator/charts/strimzi-kafka-operator/files/grafana-dashboards/strimzi-kafka.json index 62fbf4946..949d07f25 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/files/grafana-dashboards/strimzi-kafka.json +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/files/grafana-dashboards/strimzi-kafka.json @@ -669,6 +669,326 @@ "title": "Offline Partitions Count", "type": "stat" }, + { + "datasource": "${DS_PROMETHEUS}", + "description": "Number of brokers fenced by the controller. A fenced broker cannot host partition leaders or be in the ISR", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#508642", + "value": null + }, + { + "color": "#ef843c", + "value": 1 + }, + { + "color": "#bf1b00", + "value": 1 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 0, + "y": 4 + }, + "id": 109, + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "datasource": "${DS_PROMETHEUS}", + "expr": "max(kafka_controller_kafkacontroller_fencedbrokercount{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"})", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "refId": "A" + } + ], + "title": "Fenced Brokers", + "type": "stat" + }, + { + "datasource": "${DS_PROMETHEUS}", + "description": "Number of partition replicas that are offline, for example because of a failed log directory", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#508642", + "value": null + }, + { + "color": "#ef843c", + "value": 1 + }, + { + "color": "#bf1b00", + "value": 1 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 6, + "y": 4 + }, + "id": 110, + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "datasource": "${DS_PROMETHEUS}", + "expr": "sum(kafka_server_replicamanager_offlinereplicacount{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"})", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "refId": "A" + } + ], + "title": "Offline Replicas", + "type": "stat" + }, + { + "datasource": "${DS_PROMETHEUS}", + "description": "Rate at which partition leaders shrink or expand their in-sync replica set. Frequent changes point to followers falling behind or brokers going up and down", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 2 + }, + { + "color": "#d44a3a" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 12, + "y": 4 + }, + "id": 111, + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "datasource": "${DS_PROMETHEUS}", + "expr": "sum(irate(kafka_server_replicamanager_isrshrinks_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "refId": "A", + "legendFormat": "Shrinks" + }, + { + "datasource": "${DS_PROMETHEUS}", + "expr": "sum(irate(kafka_server_replicamanager_isrexpands_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "refId": "B", + "legendFormat": "Expands" + } + ], + "title": "ISR Shrink / Expand Rate", + "type": "stat" + }, + { + "datasource": "${DS_PROMETHEUS}", + "description": "Rate of failed attempts by partition leaders to update the in-sync replica set", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 2 + }, + { + "color": "#d44a3a" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 6, + "x": 18, + "y": 4 + }, + "id": 112, + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "datasource": "${DS_PROMETHEUS}", + "expr": "sum(irate(kafka_server_replicamanager_failedisrupdates_total{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}[5m]))", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "refId": "A" + } + ], + "title": "Failed ISR Update Rate", + "type": "stat" + }, { "collapsed": false, "datasource": { @@ -679,7 +999,7 @@ "h": 1, "w": 24, "x": 0, - "y": 4 + "y": 8 }, "id": 28, "panels": [], @@ -757,7 +1077,7 @@ "h": 7, "w": 6, "x": 0, - "y": 5 + "y": 9 }, "id": 82, "options": { @@ -849,7 +1169,7 @@ "h": 7, "w": 6, "x": 6, - "y": 5 + "y": 9 }, "id": 81, "options": { @@ -941,7 +1261,7 @@ "h": 7, "w": 6, "x": 12, - "y": 5 + "y": 9 }, "id": 83, "options": { @@ -1033,7 +1353,7 @@ "h": 7, "w": 6, "x": 18, - "y": 5 + "y": 9 }, "id": 107, "options": { @@ -1124,7 +1444,7 @@ "h": 7, "w": 6, "x": 0, - "y": 12 + "y": 16 }, "id": 93, "options": { @@ -1214,7 +1534,7 @@ "h": 7, "w": 6, "x": 6, - "y": 12 + "y": 16 }, "id": 95, "options": { @@ -1304,7 +1624,7 @@ "h": 7, "w": 6, "x": 12, - "y": 12 + "y": 16 }, "id": 97, "options": { @@ -1395,7 +1715,7 @@ "h": 7, "w": 6, "x": 18, - "y": 12 + "y": 16 }, "id": 108, "options": { @@ -1469,7 +1789,7 @@ "h": 4, "w": 6, "x": 0, - "y": 19 + "y": 23 }, "id": 98, "maxDataPoints": 100, @@ -1550,7 +1870,7 @@ "h": 4, "w": 6, "x": 6, - "y": 19 + "y": 23 }, "id": 99, "maxDataPoints": 100, @@ -1631,7 +1951,7 @@ "h": 4, "w": 6, "x": 12, - "y": 19 + "y": 23 }, "id": 100, "maxDataPoints": 100, @@ -1712,7 +2032,7 @@ "h": 4, "w": 6, "x": 18, - "y": 19 + "y": 23 }, "id": 101, "maxDataPoints": 100, @@ -1810,7 +2130,7 @@ "h": 8, "w": 12, "x": 0, - "y": 23 + "y": 27 }, "id": 44, "options": { @@ -1912,7 +2232,7 @@ "h": 8, "w": 12, "x": 12, - "y": 23 + "y": 27 }, "id": 58, "options": { @@ -2003,7 +2323,7 @@ "h": 8, "w": 12, "x": 0, - "y": 31 + "y": 35 }, "id": 50, "options": { @@ -2103,7 +2423,7 @@ "h": 8, "w": 12, "x": 12, - "y": 31 + "y": 35 }, "id": 56, "options": { @@ -2202,7 +2522,7 @@ "h": 8, "w": 12, "x": 0, - "y": 39 + "y": 43 }, "id": 60, "options": { @@ -2293,7 +2613,7 @@ "h": 8, "w": 12, "x": 12, - "y": 39 + "y": 43 }, "id": 62, "options": { @@ -2385,7 +2705,7 @@ "h": 8, "w": 12, "x": 0, - "y": 47 + "y": 51 }, "id": 104, "options": { @@ -2477,7 +2797,7 @@ "h": 8, "w": 12, "x": 12, - "y": 47 + "y": 51 }, "id": 105, "options": { @@ -2569,7 +2889,7 @@ "h": 8, "w": 12, "x": 0, - "y": 55 + "y": 59 }, "id": 106, "options": { @@ -2637,7 +2957,7 @@ "h": 8, "w": 12, "x": 12, - "y": 55 + "y": 59 }, "id": 91, "links": [], diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/020-ClusterRole-strimzi-cluster-operator-role.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/020-ClusterRole-strimzi-cluster-operator-role.yaml index 8ccd010ce..9cf5b2aeb 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/020-ClusterRole-strimzi-cluster-operator-role.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/020-ClusterRole-strimzi-cluster-operator-role.yaml @@ -72,6 +72,13 @@ rules: verbs: - patch - update +- apiGroups: + - "" + resources: + # For Service Account based authentication + - serviceaccounts/token + verbs: + - create - apiGroups: - "apps" resources: @@ -181,4 +188,15 @@ rules: - delete - patch - update +- apiGroups: + - "cert-manager.io" + resources: + - certificates + verbs: + - get + - watch + - create + - delete + - patch + - update {{- end -}} diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml index 8e5a1676d..851988979 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml @@ -137,8 +137,6 @@ spec: value: {{ template "strimzi.image" (set . "key" "kafkaInit") }} - name: STRIMZI_DEFAULT_KAFKA_BRIDGE_IMAGE value: {{ template "strimzi.image" (set . "key" "kafkaBridge") }} - - name: STRIMZI_DEFAULT_KANIKO_EXECUTOR_IMAGE - value: {{ template "strimzi.image" (set . "key" "kanikoExecutor") }} - name: STRIMZI_DEFAULT_BUILDAH_IMAGE value: {{ template "strimzi.image" (set . "key" "buildah") }} - name: STRIMZI_DEFAULT_MAVEN_BUILDER diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/_kafka_image_map.tpl b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/_kafka_image_map.tpl index 599dab86a..417cd2e85 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/_kafka_image_map.tpl +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/templates/_kafka_image_map.tpl @@ -6,25 +6,31 @@ {{/* 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-4.3.1")) }} + value: {{ template "strimzi.image" (merge . (dict "key" "kafkaExporter" "tagSuffix" "-kafka-4.3.2")) }} - name: STRIMZI_DEFAULT_CRUISE_CONTROL_IMAGE - value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-4.3.1")) }} + value: {{ template "strimzi.image" (merge . (dict "key" "cruiseControl" "tagSuffix" "-kafka-4.3.2")) }} - name: STRIMZI_KAFKA_IMAGES value: | 4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.0")) }} 4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.1")) }} + 4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.2.2")) }} 4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.0")) }} 4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.1")) }} + 4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafka" "tagSuffix" "-kafka-4.3.2")) }} - name: STRIMZI_KAFKA_CONNECT_IMAGES value: | 4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.0")) }} 4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.1")) }} + 4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.2.2")) }} 4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.0")) }} 4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.1")) }} + 4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafkaConnect" "tagSuffix" "-kafka-4.3.2")) }} - name: STRIMZI_KAFKA_MIRROR_MAKER_2_IMAGES value: | 4.2.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.0")) }} 4.2.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.1")) }} + 4.2.2={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.2.2")) }} 4.3.0={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.0")) }} 4.3.1={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.1")) }} + 4.3.2={{ template "strimzi.image" (merge . (dict "key" "kafkaMirrorMaker2" "tagSuffix" "-kafka-4.3.2")) }} {{- end -}} diff --git a/packages/system/kafka-operator/charts/strimzi-kafka-operator/values.yaml b/packages/system/kafka-operator/charts/strimzi-kafka-operator/values.yaml index c6009aaa3..15378b018 100644 --- a/packages/system/kafka-operator/charts/strimzi-kafka-operator/values.yaml +++ b/packages/system/kafka-operator/charts/strimzi-kafka-operator/values.yaml @@ -9,7 +9,7 @@ watchAnyNamespace: false defaultImageRegistry: quay.io defaultImageRepository: strimzi -defaultImageTag: 1.2.0 +defaultImageTag: 1.3.1 image: registry: "" @@ -160,7 +160,7 @@ kafkaBridge: registry: "" repository: name: kafka-bridge - tag: 1.1.0 + tag: 1.2.1 kafkaExporter: image: registry: "" @@ -179,12 +179,6 @@ cruiseControl: repository: "" name: kafka tagPrefix: "" -kanikoExecutor: - image: - registry: "" - repository: "" - name: kaniko-executor - tag: "" buildah: image: registry: "" diff --git a/packages/system/kafka-operator/values.yaml b/packages/system/kafka-operator/values.yaml index ddfa2c9b8..b73ef9cf6 100644 --- a/packages/system/kafka-operator/values.yaml +++ b/packages/system/kafka-operator/values.yaml @@ -2,6 +2,13 @@ strimzi-kafka-operator: watchAnyNamespace: true generateNetworkPolicy: false kubernetesServiceDnsDomain: cozy.local + # Strimzi rebuilt 1.3.1 on a patched OpenJDK and moved the 1.3.1 tags onto + # the rebuild, keeping the first build as 1.3.1-0. The suffixed tags do not + # move, so a node that cached the first build cannot keep running it. + defaultImageTag: 1.3.1-1 + kafkaBridge: + image: + tag: 1.2.1-1 resources: limits: memory: 512Mi