-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(gameserver): split sample for JDK versions
- Loading branch information
1 parent
a464125
commit 63d28f2
Showing
3 changed files
with
80 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: "3" | ||
services: | ||
gameserver-jdk17: | ||
depends_on: | ||
cryostat: | ||
condition: service_healthy | ||
image: ${GAMESERVER_JDK17_TEST_IMAGE:-quay.io/redhat-java-monitoring/gameserver-cryostat-agent:latest-jdk17} | ||
hostname: gameserver-jdk17 | ||
ports: | ||
- "7092" | ||
- "9495" | ||
environment: | ||
CRYOSTAT_AGENT_APP_NAME: gameserver-jdk17 | ||
CRYOSTAT_AGENT_WEBSERVER_HOST: gameserver-jdk17 | ||
CRYOSTAT_AGENT_WEBSERVER_PORT: 9495 | ||
CRYOSTAT_AGENT_CALLBACK: http://gameserver-jdk17:9495/ | ||
CRYOSTAT_AGENT_BASEURI: ${CRYOSTAT_PROXY_PROTOCOL}://${CRYOSTAT_HTTP_HOST}:${CRYOSTAT_PROXY_PORT}/ | ||
CRYOSTAT_AGENT_BASEURI_RANGE: public | ||
CRYOSTAT_AGENT_WEBCLIENT_TLS_TRUST_ALL: "true" | ||
CRYOSTAT_AGENT_WEBCLIENT_TLS_VERIFY_HOSTNAME: "false" | ||
CRYOSTAT_AGENT_AUTHORIZATION_TYPE: basic | ||
CRYOSTAT_AGENT_AUTHORIZATION_VALUE: user:pass | ||
CRYOSTAT_AGENT_API_WRITES_ENABLED: "true" | ||
CRYOSTAT_AGENT_HARVESTER_TEMPLATE: Profiling | ||
CRYOSTAT_AGENT_HARVESTER_PERIOD_MS: 300000 | ||
CRYOSTAT_AGENT_HARVESTER_MAX_FILES: 3 | ||
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_AGE_MS: 60000 | ||
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_SIZE_B: 153600 # "$(echo 1024*150 | bc)" | ||
VERSION: 1.20.4 | ||
EULA: "true" | ||
ONLINE_MODE: "false" | ||
OVERRIDE_SERVER_PROPERTIES: "true" | ||
ENABLE_JMX: "true" | ||
JMX_HOST: gameserver-jdk17 | ||
JMX_PORT: "7092" | ||
JVM_OPTS: -javaagent:/opt/cryostat/agent.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: "3" | ||
services: | ||
gameserver-jdk21: | ||
depends_on: | ||
cryostat: | ||
condition: service_healthy | ||
image: ${GAMESERVER_JDK21_TEST_IMAGE:-quay.io/redhat-java-monitoring/gameserver-cryostat-agent:latest-jdk21} | ||
hostname: gameserver-jdk21 | ||
ports: | ||
- "7093" | ||
- "9496" | ||
environment: | ||
CRYOSTAT_AGENT_APP_NAME: gameserver-jdk21 | ||
CRYOSTAT_AGENT_WEBSERVER_HOST: gameserver-jdk21 | ||
CRYOSTAT_AGENT_WEBSERVER_PORT: 9496 | ||
CRYOSTAT_AGENT_CALLBACK: http://gameserver-jdk21:9496/ | ||
CRYOSTAT_AGENT_BASEURI: ${CRYOSTAT_PROXY_PROTOCOL}://${CRYOSTAT_HTTP_HOST}:${CRYOSTAT_PROXY_PORT}/ | ||
CRYOSTAT_AGENT_BASEURI_RANGE: public | ||
CRYOSTAT_AGENT_WEBCLIENT_TLS_TRUST_ALL: "true" | ||
CRYOSTAT_AGENT_WEBCLIENT_TLS_VERIFY_HOSTNAME: "false" | ||
CRYOSTAT_AGENT_AUTHORIZATION_TYPE: basic | ||
CRYOSTAT_AGENT_AUTHORIZATION_VALUE: user:pass | ||
CRYOSTAT_AGENT_API_WRITES_ENABLED: "true" | ||
CRYOSTAT_AGENT_HARVESTER_TEMPLATE: Profiling | ||
CRYOSTAT_AGENT_HARVESTER_PERIOD_MS: 300000 | ||
CRYOSTAT_AGENT_HARVESTER_MAX_FILES: 3 | ||
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_AGE_MS: 60000 | ||
CRYOSTAT_AGENT_HARVESTER_EXIT_MAX_SIZE_B: 153600 # "$(echo 1024*150 | bc)" | ||
VERSION: 1.20.5 | ||
EULA: "true" | ||
ONLINE_MODE: "false" | ||
OVERRIDE_SERVER_PROPERTIES: "true" | ||
ENABLE_JMX: "true" | ||
JMX_HOST: gameserver-jdk21 | ||
JMX_PORT: "7093" | ||
JVM_OPTS: -javaagent:/opt/cryostat/agent.jar |