Skip to content

Commit 7aa3f29

Browse files
authored
fix(minecraft): tighten vanilla keepalive policy (#25)
* fix(minecraft): tighten vanilla keepalive policy * docs: describe pod stats keepalive
1 parent 520f8a0 commit 7aa3f29

21 files changed

Lines changed: 23 additions & 21 deletions

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## keepAliveTraffic
44

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.
5+
On Kubernetes runtimes, `keepAliveTraffic` is an enforcement rule for job procedures. If the configured pod RX-byte window elapses below the expected traffic threshold, druid stops that procedure cleanly and lets the command run mode decide what runs next.
66

77
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.
8+
9+
Minecraft scrolls should use `10kb/5m` on the real runtime `main` port. Server-list pings are small and should not keep a runtime warm; active clients generate recurring keep-alive/play traffic and should keep the runtime alive.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
image: eclipse-temurin:17-jre
3535
expectedPorts:
3636
- name: main
37-
keepAliveTraffic: 1b/60m
37+
keepAliveTraffic: 10kb/5m
3838
- name: rcon
3939
mounts:
4040
- path: "/server"

0 commit comments

Comments
 (0)