Camunda kubernates部署失败

时间:2020-04-28 13:13:17

标签: tomcat kubernetes deployment kubernetes-helm camunda

我们正在尝试使用舵图在我们的Kubernetes集群中部署Camunda。在我们的开发框中,我们设法成功安装了它,但是现在,当我们尝试在质量检查环境中进行部署时,它会在下面的日志中停止并重新启动Pod。

注意:我们将Camunda 7.12.0 docker映像与外部PostgreSQL数据库一起使用。

Configure database
Read-only file system: /camunda/conf/server.xml
Read-only file system: /camunda/conf/server.xml
Enabling debug mode, JPDA accesible under port 8000
Enabling Prometheus JMX Exporter on port 9404
wait-for-it.sh: waiting 30 seconds for glsdvlpgdb170.logistics.corp:5432
wait-for-it.sh: glsdvlpgdb170.logistics.corp:5432 is available after 0 seconds
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Listening for transport dt_socket at address: 8000
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version name:   Apache Tomcat/9.0.24
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Aug 14 2019 21:16:42 UTC
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version number: 9.0.24.0
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.16.18-041618-generic
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-11-openjdk
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           11.0.4+4-alpine-r1
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Alpine
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /camunda
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /camunda
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dnop
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx768m
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxMetaspaceSize=256m
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,address=0.0.0.0:8000,server=y,suspend=n
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -javaagent:/camunda/javaagent/jmx_prometheus_javaagent.jar=9404:/camunda/javaagent/prometheus-jmx.yml
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dignore.endorsed.dirs=
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/camunda
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/camunda
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/camunda/temp
Apr 28, 2020 8:57:18 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/lib/jvm/java-11-openjdk/lib/server:/usr/lib/jvm/java-11-openjdk/lib:/usr/lib/jvm/java-11-openjdk/../lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
Apr 28, 2020 8:57:18 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Apr 28, 2020 8:57:18 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Apr 28, 2020 8:57:18 AM org.apache.catalina.startup.Catalina load
INFO: Server initialization in [1,002] milliseconds

任何使tomcat能够调试日志的指针,以便我们可以检查其失败原因,如下所示,日志没有给出失败的正确原因?

0 个答案:

没有答案