Skip to content

Strimzi operator gets OOMKilled in Kind and Minikube. #4547

@twoGiants

Description

@twoGiants

Describe the bug

After deploying the Kafka cluster using ./hack/run.sh deploy-kafka the Strimzi operator gets OOMKilled after a while and then every few minutes.

The number of nodes not matter and if it is Kind or Minikube. It fails on both.

Here is a kubectl -n kafka describe pod strimzi-cluster-operator-... excerpt:

    State:          Running
      Started:      Tue, 30 Sep 2025 09:42:19 +0200
    Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    137
      Started:      Tue, 30 Sep 2025 09:41:45 +0200
      Finished:     Tue, 30 Sep 2025 09:42:02 +0200
    Ready:          False
    Restart Count:  22
    Limits:
      cpu:     1
      memory:  384Mi
    Requests:
      cpu:      200m
      memory:   384Mi
    Liveness:   http-get http://:http/healthy delay=10s timeout=1s period=30s #success=1 #failure=3
    Readiness:  http-get http://:http/ready delay=10s timeout=1s period=30s #success=1 #failure=3

Expected behavior
The Strimzi operator is expected to run without being OOMKilled.

To Reproduce

  1. Create Kind or Minikube cluster with one or multiple nodes.
  2. Important: Deploy cert-manager => either manually from the eventing repository third_party/cert-manager/* OR via ./hack/run.sh deploy-infra => it will deploy Eventing, Kafka and publish test images.
  3. If you used ./hack/run.sh deploy-infra you're done, now just wait and it will start to crash after a while. If you deployed the cert-manager manually run ./hack/run.sh deploy-kafka to deploy the Kafka cluster and then wait again a bit.

Knative release version && Environment

  • OS: Fedora 42
  • Docker:
docker version
Client: Docker Engine - Community
 Version:           28.4.0
 API version:       1.51
 Go version:        go1.24.7
 Git commit:        d8eb465
 Built:             Wed Sep  3 21:00:00 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.4.0
  API version:      1.51 (minimum version 1.24)
  Go version:       go1.24.7
  Git commit:       249d679
  Built:            Wed Sep  3 20:56:56 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.27
  GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
 runc:
  Version:          1.2.5
  GitCommit:        v1.2.5-0-g59923ef
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Kind: kind v0.30.0 go1.25.0 linux/amd64
  • k8: same issue with v1.33.0 and v1.34.0
k get nodes
NAME                    STATUS   ROLES           AGE   VERSION
knative-control-plane   Ready    control-plane   22h   v1.32.7
knative-worker          Ready    <none>          22h   v1.32.7
knative-worker2         Ready    <none>          22h   v1.32.7
Image

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions