apache / rocketmq-operator

Apache RocketMQ Operator
https://rocketmq.apache.org/
Apache License 2.0
314 stars 127 forks source link

deploy the RocketMQ broker clusters error #19

Closed hppx5456 closed 4 years ago

hppx5456 commented 4 years ago

when i use command kubectl apply -f example/rocketmq_v1alpha1_broker_cr.yaml kubectl get pods -owide my clusters status is: broker-0-master-0 0/1 CrashLoopBackOff 6 11m 10.244.1.7 k8s-node1 broker-0-replica-1-0 0/1 CrashLoopBackOff 6 11m 10.244.1.6 k8s-node1 curl-69c656fd45-94qbj 1/1 Running 1 107m 10.244.0.4 k8s-master name-service-0 1/1 Running 0 12m 30.26.223.45 k8s-node1 rocketmq-operator-648b54b558-tgb72 1/1 Running 1 81m 10.244.1.2 k8s-node1

vongosling commented 4 years ago

This issue has been closed because it has not had activity in the last 30 days. If this issue is still valid, please ping a committer and ask them to label it as "help wanted". Thank you for your contributions.

walk1ng commented 4 years ago

Hi @vongosling , I have the same issue. the broker pods were terminated by reason of OOMKilled. I have try to provide more memory with spec.resources.limits.memory but still failed, could you please help? Thanks.

liuruiyiyang commented 4 years ago

@walk1ng Try to set spec.resources.limits.memory more than 10GB and see if it works. In the current master branch we set memory resource limit to 12GB in broker CRD example yaml config. Read the README doc and there is a notice about this problem, which may help you.

walk1ng commented 4 years ago

@walk1ng Try to set spec.resources.limits.memory more than 10GB and see if it works. In the current master branch we set memory resource limit to 12GB in broker CRD example yaml config. Read the README doc and there is a notice about this problem, which may help you.

ok, thanks!