Replies: 1 comment 3 replies
-
Strimzi does not schedule any pods or schedule any PVs. This is done by Kubernetes and the rest of your infrastructure (in this case probably OpenEBS). Strimzi just passes the information from the configuration into the PVC and into the StatefulSet / Pod definition. So there is not much Strimzi can do about this, you need to confgure your infrastructure components to match the architecture you want to use. If needed, you can consider:
But the details might depend on your infrastructure. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please use this to only for bug reports. For questions or when you need help, you can use the GitHub Discussions, our #strimzi Slack channel or out user mailing list.
Describe the bug
When creating a 3 replica cluster on OpenEBS StorageClass with AntiAffinity, the PVCs are created on the same node, which prevents 2nd and 3rd Pods from starting.
To Reproduce
Steps to reproduce the behavior:
Following Kafka Definition are used to create a cluster.
The Pod creation never completes
3 PVCs are created
Inspect the PVs are created on same worker node
Here is StatefulSet created by operator
Expected behavior
The operator should not pre-allocate PVC on the same worker node.
Environment (please complete the following information):
YAML files and logs
Attach or copy paste the custom resources you used to deploy the Kafka cluster and the relevant YAMLs created by the Cluster Operator.
Attach or copy and paste also the relevant logs.
To easily collect all YAMLs and logs, you can use our report script which will automatically collect all files and prepare a ZIP archive which can be easily attached to this issue.
The usage of this script is:
./report.sh --namespace <string> --cluster <string> [--bridge <string>] [--connect <string>] [--mm2 <string>]
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions