Add M8.4 region host deployment, provisioning hook and drill
Deploy evo-region per environment (ADR-0071): one replica with the Recreate strategy (a rolling update would deadlock on the lease), /readyz readiness, /livez liveness, no CPU limit and a drain inside the grace period, with the image digest doubling as the build identity. A new idempotent evo-world-clone provision subcommand creates genesis from development_opening (byte-identical to the qualification fixture) as a Sync hook after the migration. Dev and stage paths include their region; a dev AppProject allows Deployment and Service; region-drill.sh times rollout and forced-deletion recovery; the policy check enforces the host's invariants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Region identity and build (the server image digest without "sha256:").
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: evo-region
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: evo-server
|
||||
env:
|
||||
- {name: REGION_WORLD, value: "100"}
|
||||
- {name: REGION_ID, value: "1"}
|
||||
- {name: REGION_BUILD, value: 661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075}
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: aevolution-region-provision
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: provision
|
||||
env:
|
||||
- {name: REGION_WORLD, value: "100"}
|
||||
- {name: REGION_ID, value: "1"}
|
||||
- {name: REGION_BUILD, value: 661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075}
|
||||
Reference in New Issue
Block a user