Replies: 5 comments 6 replies
-
You should be able to do that by setting the content for |
Beta Was this translation helpful? Give feedback.
-
Hi, The resources set in the Kafka object are set to the Kafka pods, The init container has its own. |
Beta Was this translation helpful? Give feedback.
-
Just to add to what @ppatierno said -> it does not seem to fail on my M2-based Macbook. So I wonder why it happens in the first place in your environment. I usually use Minikube. |
Beta Was this translation helpful? Give feedback.
-
Hi, This is what I set in the Kafka object under
Here is my pod YAML with two different resources:
|
Beta Was this translation helpful? Give feedback.
-
Yes, Sorry, once I saw your Yaml I figured out it's probably an old operator issue. Thank you. The one thing I do not get is why the limits that as you confirmed now are hardcoded are not enough just on a M2 CPU but not my I7. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to set resource limits to the Kafka init container?
For some reason, the default resource limit of 512 MB causes OOM on Apple M2 computers.
The same setup works well on Apple I7 Macs but not on M2 not sure why.
I have manually changed the stateful set init container limit to 1GB and Kafka booted past the init container phase
but a couple of minutes later the configuration was reset by the operator.
Thanks and any advise or pointers are appreciated.
Beta Was this translation helpful? Give feedback.
All reactions