From 3c614eedd808aa9162943c506d425321b3be1d1e Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 10 May 2023 14:38:56 -0400 Subject: [PATCH] docs(getting-started): update sample app example (#115) --- get-started/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/get-started/index.md b/get-started/index.md index 495d3464..2ef83fe3 100644 --- a/get-started/index.md +++ b/get-started/index.md @@ -123,13 +123,13 @@ deployed Cryostat into a namespace where you are already running other applications, feel free to continue to the next step. ```bash -$ oc new-app --docker-image=quay.io/andrewazores/quarkus-test:0.0.2 -$ oc patch svc/quarkus-test -p '{"spec":{"$setElementOrder/ports":[{"port":9096},{"port":9999}],"ports":[{"name":"jfr-jmx","port":9096}]}}' +$ oc new-app --docker-image=quay.io/andrewazores/quarkus-test:0.0.10 +$ oc patch svc/quarkus-test -p '{"spec":{"$setElementOrder/ports":[{"port":9097},{"port":8080}],"ports":[{"name":"jfr-jmx","port":9097}]}}' ``` This is a Quarkus container in JVM mode with JMX enabled and pre-configured to -listen on port 9096. After deploying the container we patch its service to -name the 9096 service port `jfr-jmx`. Cryostat will detect and use this port +listen on port 9097. After deploying the container we patch its service to +name the 9097 service port `jfr-jmx`. Cryostat will detect and use this port to determine that this is a compatible Java application that it should monitor. ### Open the Cryostat Web UI