fix(felis): 启动失败的服可在面板重试或停止,玩家入服时直接告知启动失败

This commit is contained in:
Lemon-miaow committed 2026-09-26 22:08:29 +08:00
1 parent c1025274e1
commit 22d1e834ad
28 files changed
+775 -75

No files matched your search

@@ -31,6 +31,13 @@ const (
// server; and felis-api never writes it, so marking a server takes kubectl on
// the cluster, which fits a switch that drops the forwarding secret.
LabelForwarding = GroupName + "/forwarding"
// AnnotationStartRetry is felis-api asking the operator to start a Failed
// server over: its value is the request time (RFC 3339). Re-patching
// desiredState to the Running it already holds changes nothing the operator
// can see, so a person pressing "retry" in the panel had no way through once
// the automatic restarts were spent. The operator takes the request once —
// fresh restart budget, new start anchor, pod recreated — and removes it.
AnnotationStartRetry = GroupName + "/start-retry"
)
// ForwardingLegacy is the LabelForwarding value that selects legacy forwarding.