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 2021/05/09 12:08:01 UTC

[GitHub] [rocketmq-docker] dengbuliduo opened a new issue #34: it is not useful in 1.18.18

dengbuliduo opened a new issue #34:
URL: https://github.com/apache/rocketmq-docker/issues/34


   In,1.18.18,deployment.yaml is not work and I suggest to take a change like this:
   1.apiVersion change to apps/v1
   2.add the code
   `selector:
      matchLabels:
        app: rocketmq`
   in the field 'spec'
   3.because of the openjdk,you need to add `/usr/lib/jvm/jre-1.8.0-openjdk/lib/ext` in bin/tools.sh,like this:
   `JAVA_OPT="${JAVA_OPT} -server -Xms1g -Xmx1g -Xmn256m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m"
   JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${BASE_DIR}/lib:${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:/usr/lib/jvm/jre-1.8.0-openjdk/lib/ext"
   JAVA_OPT="${JAVA_OPT} -cp ${CLASSPATH}"`
   
   Maybe it is not serious to the hacker,but it spent me some day to fix it.So please fix in the document or the code


-- 
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.

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