fix(deploy): constrain DEV workloads to worker nodes
Foundation / checks (checks) (push) Successful in 4s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 4m24s
Foundation / postgres-tools (push) Successful in 6s
Foundation / server-image (push) Successful in 5s
Foundation / image (push) Successful in 6s
Foundation / checks (checks) (push) Successful in 4s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 4m24s
Foundation / postgres-tools (push) Successful in 6s
Foundation / server-image (push) Successful in 5s
Foundation / image (push) Successful in 6s
This commit is contained in:
@@ -10,6 +10,10 @@ treated as a request to replace the current automation.
|
||||
|
||||
DEV workloads use `evolution-dev`, run on worker nodes rather than the control
|
||||
plane, and retain the existing PostgreSQL server, network structure and URLs.
|
||||
The full DEV and standalone region/store overlays enforce both standard
|
||||
control-plane role exclusions through `worker-only-dev`; rendered policy checks
|
||||
every required alternative and refuses a direct `nodeName` bypass. See
|
||||
[placement evidence](../docs/engineering/M12_DEV_WORKER_PLACEMENT.md).
|
||||
Qualification data must remain isolated from existing worlds. Immediately before
|
||||
each push refresh `REGION_SESSION_WINDOW` in
|
||||
`kubernetes/region/dev-session-route/listener.yaml` with a unique activation and
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: evolution-dev
|
||||
components:
|
||||
- ../worker-only-dev
|
||||
resources:
|
||||
- serviceaccount.yaml
|
||||
- networkpolicy.yaml
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
env:
|
||||
- {name: REGION_SESSION, value: "dev"}
|
||||
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
|
||||
- {name: REGION_SESSION_WINDOW, value: "dev-20261019T190609-a14a1852:1792451169"}
|
||||
- {name: REGION_SESSION_WINDOW, value: "dev-20261019T190730-815046b1:1792451250"}
|
||||
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
|
||||
ports:
|
||||
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
|
||||
|
||||
@@ -9,6 +9,7 @@ resources:
|
||||
components:
|
||||
- ../dev-session-route
|
||||
- ../../grant-broker-dev
|
||||
- ../../worker-only-dev
|
||||
images:
|
||||
- name: aevolution-server
|
||||
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: evolution-dev
|
||||
components:
|
||||
- ../../worker-only-dev
|
||||
resources:
|
||||
- ../base
|
||||
images:
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
# Maintainer requirement: DEV workloads must never schedule on the control plane.
|
||||
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||
kind: Component
|
||||
patches:
|
||||
- target:
|
||||
kind: Deployment
|
||||
patch: |-
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: worker-only
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- {key: node-role.kubernetes.io/control-plane, operator: DoesNotExist}
|
||||
- {key: node-role.kubernetes.io/master, operator: DoesNotExist}
|
||||
- target:
|
||||
kind: Job
|
||||
patch: |-
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: worker-only
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- {key: node-role.kubernetes.io/control-plane, operator: DoesNotExist}
|
||||
- {key: node-role.kubernetes.io/master, operator: DoesNotExist}
|
||||
Reference in New Issue
Block a user