apache / apache/rocketmq-docker
it is not useful in 1.18.18
- Dominant language
- Shell
- Stars
- 706
- Forks
- 246
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.