You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/07/06 07:45:06 UTC

[GitHub] [rocketmq-operator] kangzemin opened a new issue, #109: After create cluster, pod/broker can not running

kangzemin opened a new issue, #109:
URL: https://github.com/apache/rocketmq-operator/issues/109

   when I deploy rocketmq cluster,pod/broker is not ready,and restart always.
   1. deploy step:
     1.1 git clone https://github.com/apache/rocketmq-operator.git
     1.2 cd rocketmq-operator
     1.3 checkout 0.2.1
     1.4 deployed ./deploy/crds/*
           deployed ./role & ./role_binding  & ./serviceaccount
           deployed ./operator
           waiting operator is running ,after: 
     1.5 deployed ./example/rocketmq_v1alpha1_rocketmq_cluster.yaml
           pod/name-service is running
           **but broker-0-master-0 is not ready,this is log:**
          
   ![image](https://user-images.githubusercontent.com/40269690/177495899-dcbcaabe-9937-43c7-a433-1804d4bc49c6.png)
   ![image](https://user-images.githubusercontent.com/40269690/177496092-ffb81df2-16d0-4fcd-8e58-fcc1cd4d3a9e.png)
   2. Please tell us about your environment:
     kubernetes-version v1.20.0
     
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] kangzemin closed issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
kangzemin closed issue #109: After create cluster, pod/broker can not running
URL: https://github.com/apache/rocketmq-operator/issues/109


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] kangzemin commented on issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
kangzemin commented on issue #109:
URL: https://github.com/apache/rocketmq-operator/issues/109#issuecomment-1176100199

   > @kangzemin IMO configurations in example need to be modified. Please try setting `BROKER_MEM` to " -Xms1g -Xmx1g -Xmn512m " in the following files:
   > 
   > https://github.com/apache/rocketmq-operator/blob/f904c6604a58880d83444b25c4a331092737770a/example/rocketmq_v1alpha1_broker_cr.yaml#L21
   
   ok,thinks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] caigy commented on issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #109:
URL: https://github.com/apache/rocketmq-operator/issues/109#issuecomment-1176091585

   @kangzemin IMO configurations in example need to be modified. Please try setting `BROKER_MEM` to " -Xms1g -Xmx1g -Xmn512m " in the following files:
   https://github.com/apache/rocketmq-operator/blob/f904c6604a58880d83444b25c4a331092737770a/example/rocketmq_v1alpha1_broker_cr.yaml#L21
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] kangzemin commented on issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
kangzemin commented on issue #109:
URL: https://github.com/apache/rocketmq-operator/issues/109#issuecomment-1176090653

   > @kangzemin Please provide the output of `kubectl describe po broker-0-master-0 -n mq`, let's check what was wrong. It seems that the pod was killed due to OOM.
   
   ok,I set memory limit to 10Gi,pod is running.
   just empty cluster broker used  memory is 8417Mi.Is this normal?
   ![image](https://user-images.githubusercontent.com/40269690/177536782-e2f71a71-af9b-4a37-9214-535c6d8db03c.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] kangzemin commented on issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
kangzemin commented on issue #109:
URL: https://github.com/apache/rocketmq-operator/issues/109#issuecomment-1176035602

   > @kangzemin Please provide the output of `kubectl describe po broker-0-master-0 -n mq`, let's check what was wrong. It seems that the pod was killed due to OOM.
   Thinks for your reply! this is output:
   ![image](https://user-images.githubusercontent.com/40269690/177525065-f48ae7ec-1e13-40df-99b5-4126cb67322b.png)
   It looks like you're right.but why need so much resources?just a empty cluster, no data.
   and, How can I solve this problem?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-operator] caigy commented on issue #109: After create cluster, pod/broker can not running

Posted by GitBox <gi...@apache.org>.
caigy commented on issue #109:
URL: https://github.com/apache/rocketmq-operator/issues/109#issuecomment-1175937150

   @kangzemin Please provide the output of `kubectl describe po broker-0-master-0 -n mq`, let's check what was wrong. It seems that the pod was killed due to OOM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org