feat: prepare v1.1 deploy and presenter load test
- build and push v1.1 images from the service main worktrees - switch manifests to :v1.1; add web control Secret refs - configure API BOOTSTRAP_REFRESH=60s and remove unused DATA_DIR - add k6 presenter scenario with a mid-run control POST - require control credentials in make load; update runbook and drills
This commit is contained in:
1 parent
40bc8e47d0
commit
b98a1bab42
12 files changed
+264
-117
No files matched your search
+20
-3
@@ -39,9 +39,9 @@ spec:
|
||||
containers:
|
||||
- name: web
|
||||
# Replace owner/package only if your Gitea layout differs. Keep the tag in sync with `make build`.
|
||||
image: git.noelsabia.dev/noel/pulsecast-web:gate1
|
||||
# Gate 1 reuses the `gate1` tag while iterating; Always makes a re-push visible.
|
||||
# Switch to an immutable tag + IfNotPresent at deploy freeze.
|
||||
image: git.noelsabia.dev/noel/pulsecast-web:v1.1
|
||||
# v1.1 may be re-pushed during the demo run-up; Always makes a re-push visible.
|
||||
# Switch back to IfNotPresent once the tag is frozen.
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
@@ -58,6 +58,23 @@ spec:
|
||||
# Nuxt/Nitro may use a temp dir; keep it on the writable emptyDir.
|
||||
- name: NITRO_TEMP_DIR
|
||||
value: /tmp
|
||||
# The web server validates /control and POST /api/scenario itself
|
||||
# and attaches these same credentials to Go control calls.
|
||||
- name: CONTROL_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: control-auth
|
||||
key: CONTROL_USER
|
||||
- name: CONTROL_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: control-auth
|
||||
key: CONTROL_PASS
|
||||
- name: CONTROL_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: control-auth
|
||||
key: CONTROL_TOKEN
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
||||
Reference in new issue
Block a user