Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrations are started twice #90

Closed
nicolaferraro opened this issue Sep 18, 2018 · 0 comments
Closed

Integrations are started twice #90

nicolaferraro opened this issue Sep 18, 2018 · 0 comments
Labels
kind/bug Something isn't working

Comments

@nicolaferraro
Copy link
Member

Now that we can run kamel run runtime/examples/routes.js -w --logs, I see that we create two pods each time we deploy a integration, not just one.

The output of each pod is prefixed with a progressive number in brackets (e.g. [1]):

integration "routes" created
integration "routes" in phase Building
integration "routes" in phase Deploying
integration "routes" in phase Running
[1] Monitoring pod routes-577bbd8f65-kl7mq[2] Monitoring pod routes-79c97fdbb-pxcnk[2] Starting the Java application using /opt/run-java/run-java.sh ...
[2] exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* org.apache.camel.k.jvm.Application
[1] Starting the Java application using /opt/run-java/run-java.sh ...
[1] exec java -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties -javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=9779:/opt/prometheus/prometheus-config.yml -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -cp .:/deployments/* org.apache.camel.k.jvm.Application
[1] I> No access restrictor found, access to any MBean is allowed
@nicolaferraro nicolaferraro added the kind/bug Something isn't working label Sep 18, 2018
@nicolaferraro nicolaferraro added this to To do in One second to deploy and redeploy via automation Sep 18, 2018
One second to deploy and redeploy automation moved this from To do to Done Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

1 participant