Skip to content

Commit

Permalink
lobby
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Dec 24, 2023
1 parent 95ada85 commit 2da089c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
image: busybox:1.36.1
env:
- name: JMX_EXPORTER_URL
value: "https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/jmx_prometheus_javaagent-0.16.1.jar"
value: "https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.20.0/jmx_prometheus_javaagent-0.20.0.jar"
volumeMounts:
- name: jmx-exporter-download-volume
mountPath: /root/jmx-exporter-download
Expand Down Expand Up @@ -100,6 +100,7 @@ spec:
https://github.com/ucchyocean/LunaChat/releases/download/v3.0.16/LunaChat.jar,
https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar,
https://github.com/DmitryRendov/BungeePortals/releases/download/1.2.3/BungeePortals-1.2.3.jar,
https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5.0/minecraft-prometheus-exporter-2.5.0.jar,
- name: JVM_OPTS
value: >-
Expand Down Expand Up @@ -212,6 +213,11 @@ spec:
mountPath: /plugins/LunaChat/config.yml
subPath: LunaChat-config.yml

# PrometheusExporter プラグインの設定ファイル
- name: common-mcserver-plugin-configs
mountPath: /plugins/PrometheusExporter/config.yml
subPath: PrometheusExporter-config.yml

# JMX exporter 周りのファイルが入ったボリューム達のマウント設定
- name: jmx-exporter-download-volume
mountPath: /jmx-exporter/jmx-exporter-javaagent.jar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spec:
endpoints:
- interval: 30s
port: jmx-metrics
- interval: 30s
port: prometheus
selector:
matchLabels:
app: mcserver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ spec:
port: 18321
protocol: TCP
targetPort: jmx-metrics
- name: prometheus
port: 9225
protocol: TCP
targetPort: prometheus
selector:
mcserver: debug-lobby

0 comments on commit 2da089c

Please sign in to comment.