Operator up but can't get cluster pod up #11442
Replies: 1 comment 10 replies
-
What Strimzi does, is that it creates the PVC with the corresponding storage class (if you configured it in the Strimzi custom resource). The rest is up to your infrastructure. In your case, it seems the PVC got assigned the storage class |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm on an EKS cluster with all the right policies. Using Kubernetes 1.32
I did this to get the operator up
kubectl create -f 'https://strimzi.io/install/latest?namespace=default'
then when I try to apply the this yaml file to get the cluster up https://strimzi.io/examples/latest/kafka/kafka-single-node.yaml
but it hangs in pending.
when I check
I see at the bottom
Then when I check it's not marked as default but I thought if it's the only one it should be used (but it's not)
I patched it to be marked as default doing
I can't trigger a restart, so I deleted the pod and it triggers a restart but still in PENDING
but now when I check
I don't see any event but now, checking
and
I see this event
Summarizing, the problem seems to be:
The Kafka pod (kafka-cluster-dual-role-0) is stuck in a Pending state because it cannot find a matching Persistent Volume (PV) for the PVC (data-0-kafka-cluster-dual-role-0).
The PVC is using the gp2 StorageClass, which is configured with the in-tree AWS EBS provisioner (kubernetes.io/aws-ebs).
However, my PVC has an annotation that expects the CSI AWS EBS provisioner (ebs.csi.aws.com), which it seems to be incompatible with the in-tree provisioner.
I'm fairly new to kubernetes and strimzi so I'm not sure how to solve this. Does anyone know why this happen and how can I solve this?
Beta Was this translation helpful? Give feedback.
All reactions