Skip to content

Commit 520f8a0

Browse files
authored
fix(minecraft): enforce runtime keepalive policy
Move Vanilla Minecraft idle policy to the runtime procedure and document keepAliveTraffic enforcement.
1 parent ad9004b commit 520f8a0

21 files changed

Lines changed: 26 additions & 40 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
# Scrolls Registry
2+
3+
## keepAliveTraffic
4+
5+
On Kubernetes runtimes, `keepAliveTraffic` is an enforcement rule for job procedures. If the configured Hubble traffic window elapses with no observed flow for the expected port, druid stops that procedure cleanly and lets the command run mode decide what runs next.
6+
7+
For Minecraft coldstarter scrolls, attach `keepAliveTraffic` to the real runtime procedure's `main` expected port. Do not attach it to the coldstarter procedure; the standby listener must remain available while idle.

scrolls/minecraft/minecraft-vanilla/1.17.1/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.17/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.18.1/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.18.2/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.18/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.19.1/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.19.2/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.19.3/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

scrolls/minecraft/minecraft-vanilla/1.19.4/scroll.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ commands:
1919
image: artifacts.druid.gg/druid-team/druid:stable
2020
expectedPorts:
2121
- name: main
22-
keepAliveTraffic: 10kb/5m
2322
- name: rcon
2423
mounts:
2524
- path: "/runtime"
@@ -35,7 +34,7 @@ commands:
3534
image: eclipse-temurin:17-jre
3635
expectedPorts:
3736
- name: main
38-
keepAliveTraffic: 10kb/5m
37+
keepAliveTraffic: 1b/60m
3938
- name: rcon
4039
mounts:
4140
- path: "/server"

0 commit comments

Comments
 (0)