diff --git a/deploy/artifact-catalog.d601-v03.json b/deploy/artifact-catalog.d601-v03.json index a663012e..df00df2f 100644 --- a/deploy/artifact-catalog.d601-v03.json +++ b/deploy/artifact-catalog.d601-v03.json @@ -5,12 +5,12 @@ "profile": "v03", "namespace": "hwlab-v03", "endpoint": "https://hwlab.pikapython.com", - "commitId": "d70b66317fc633fdaf1efd067d6d1833c30fa354", + "commitId": "d60e6df485c728915330f9876a834f8970076b04", "artifactState": "published", "publish": { "ciPublished": true, "registryVerified": true, - "provenance": "node-ci-artifact:hwlab-v03-ci-poll-d70b66317fc6-collect", + "provenance": "node-ci-artifact:hwlab-v03-ci-poll-d60e6df485c7-collect", "note": "Digest fields were copied from a successful DEV artifact publish report for this source commit." }, "healthContract": { @@ -84,7 +84,7 @@ "buildArgsHash": "445d32282d642d5089290ffe5f621ccea3206cf1d9f11b24091f82a4434cbcd5", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -147,7 +147,7 @@ "buildArgsHash": "4269b9316d150facffb495f7c4900ee56af391c071b86063ae850defa7e64e99", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -210,7 +210,7 @@ "buildArgsHash": "490a070de1a6975b4935670478f0e64345d20e1aa9b80096b1318106b25d9310", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -244,7 +244,7 @@ "runtimeMode": "env-reuse-git-mirror-checkout", "envReuse": true, "envChanged": false, - "codeChanged": true, + "codeChanged": false, "environmentImage": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env:env-cdc3b090d795", "environmentDigest": "sha256:19cc59d8935d71507f594b2b419708047870ba15d8683f935238d6cc4f95856a", "environmentInputHash": "cdc3b090d79582bf9a871de3a13d0c6757a6c08a9d960e9422734725e21288f5", @@ -271,10 +271,9 @@ "baseImageReference": "127.0.0.1:5000/hwlab/hwlab-node20-base:20-bookworm-slim", "baseImageDigest": null, "buildArgsHash": "39effb18af665e5e286cca9f84ef2a30f577ad11c9acca098589b7ee37f6950c", - "ciAffected": true, + "ciAffected": false, "ciReason": [ - "code-input-changed", - "component-path-changed" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -337,7 +336,7 @@ "buildArgsHash": "3fed509f00ba3448138a999f51dad3d38b822bb4a5c152011e3e57526972fd41", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -400,7 +399,7 @@ "buildArgsHash": "68746696603227763e5768f8daf45d31331f4c8425e6d756b21482ad104e6183", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", @@ -463,7 +462,7 @@ "buildArgsHash": "d5e50a18e70c6a8b4896e527fa07b5dd2c85458ed9ef512c1d46775ef4e40a10", "ciAffected": false, "ciReason": [ - "component-inputs-unchanged" + "gitops-only-no-image-build" ], "reuse": { "status": "ready", diff --git a/deploy/gitops/node/d601/runtime-v03/deepseek-proxy.yaml b/deploy/gitops/node/d601/runtime-v03/deepseek-proxy.yaml index f553fc5a..ed1fe45d 100644 --- a/deploy/gitops/node/d601/runtime-v03/deepseek-proxy.yaml +++ b/deploy/gitops/node/d601/runtime-v03/deepseek-proxy.yaml @@ -12,7 +12,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/service-id: hwlab-deepseek-proxy - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/monitoring: disabled data: render-config.sh: > @@ -132,7 +132,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/service-id: hwlab-deepseek-proxy - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/moonbridge-source-ref: 1b99888d3dae889b79ee602cb875c7907f7e76f2 @@ -312,7 +312,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/service-id: hwlab-deepseek-proxy - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/monitoring: disabled spec: type: ClusterIP diff --git a/deploy/gitops/node/d601/runtime-v03/external-postgres.yaml b/deploy/gitops/node/d601/runtime-v03/external-postgres.yaml index 48468f68..581187d7 100644 --- a/deploy/gitops/node/d601/runtime-v03/external-postgres.yaml +++ b/deploy/gitops/node/d601/runtime-v03/external-postgres.yaml @@ -13,7 +13,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 annotations: hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs spec: @@ -35,7 +35,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 kubernetes.io/service-name: pk01-platform-postgres annotations: hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs diff --git a/deploy/gitops/node/d601/runtime-v03/health-contract.yaml b/deploy/gitops/node/d601/runtime-v03/health-contract.yaml index aed1f291..96ca67a7 100644 --- a/deploy/gitops/node/d601/runtime-v03/health-contract.yaml +++ b/deploy/gitops/node/d601/runtime-v03/health-contract.yaml @@ -10,7 +10,7 @@ items: app.kubernetes.io/name: hwlab-v03-health-contract hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 annotations: hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs diff --git a/deploy/gitops/node/d601/runtime-v03/kustomization.yaml b/deploy/gitops/node/d601/runtime-v03/kustomization.yaml index fb3ada56..5af2affb 100644 --- a/deploy/gitops/node/d601/runtime-v03/kustomization.yaml +++ b/deploy/gitops/node/d601/runtime-v03/kustomization.yaml @@ -8,5 +8,6 @@ resources: - workloads.yaml - deepseek-proxy.yaml - external-postgres.yaml + - workbench-redis.yaml - openfga.yaml - node-frpc.yaml diff --git a/deploy/gitops/node/d601/runtime-v03/namespace.yaml b/deploy/gitops/node/d601/runtime-v03/namespace.yaml index 45568433..d2b482ba 100644 --- a/deploy/gitops/node/d601/runtime-v03/namespace.yaml +++ b/deploy/gitops/node/d601/runtime-v03/namespace.yaml @@ -7,7 +7,7 @@ "app.kubernetes.io/part-of": "hwlab", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/gitops-target": "v03", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04", "hwlab.pikastech.local/environment": "v03" }, "annotations": { diff --git a/deploy/gitops/node/d601/runtime-v03/node-frpc.yaml b/deploy/gitops/node/d601/runtime-v03/node-frpc.yaml index c69557a2..d26e1802 100644 --- a/deploy/gitops/node/d601/runtime-v03/node-frpc.yaml +++ b/deploy/gitops/node/d601/runtime-v03/node-frpc.yaml @@ -12,7 +12,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 data: frpc.toml: | serverAddr = "82.156.23.220" @@ -44,7 +44,7 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/gitops-target: v03 hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: diff --git a/deploy/gitops/node/d601/runtime-v03/openfga.yaml b/deploy/gitops/node/d601/runtime-v03/openfga.yaml index 9e4e5f30..6fbeabd0 100644 --- a/deploy/gitops/node/d601/runtime-v03/openfga.yaml +++ b/deploy/gitops/node/d601/runtime-v03/openfga.yaml @@ -16,7 +16,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-openfga", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354" + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -37,7 +37,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-openfga", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354" + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" @@ -113,7 +113,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-openfga", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354" + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -137,7 +137,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-openfga", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354" + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" @@ -248,7 +248,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-openfga", - "hwlab.pikastech.local/source-commit": "d70b66317fc633fdaf1efd067d6d1833c30fa354" + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", diff --git a/deploy/gitops/node/d601/runtime-v03/services.yaml b/deploy/gitops/node/d601/runtime-v03/services.yaml index 51a99b7d..acd2a331 100644 --- a/deploy/gitops/node/d601/runtime-v03/services.yaml +++ b/deploy/gitops/node/d601/runtime-v03/services.yaml @@ -10,7 +10,7 @@ items: app.kubernetes.io/name: hwlab-cloud-api hwlab.pikastech.local/service-id: hwlab-cloud-api hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled @@ -36,7 +36,7 @@ items: app.kubernetes.io/name: hwlab-workbench-runtime hwlab.pikastech.local/service-id: hwlab-workbench-runtime hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled @@ -62,7 +62,7 @@ items: app.kubernetes.io/name: hwlab-user-billing hwlab.pikastech.local/service-id: hwlab-user-billing hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled @@ -88,7 +88,7 @@ items: app.kubernetes.io/name: hwlab-cloud-web hwlab.pikastech.local/service-id: hwlab-cloud-web hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled @@ -115,7 +115,7 @@ items: hwlab.pikastech.local/service-id: hwlab-gateway hwlab.pikastech.local/activation: manual hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 annotations: @@ -137,7 +137,7 @@ items: app.kubernetes.io/name: hwlab-agent-skills hwlab.pikastech.local/service-id: hwlab-agent-skills hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled @@ -163,7 +163,7 @@ items: app.kubernetes.io/name: hwlab-edge-proxy hwlab.pikastech.local/service-id: hwlab-edge-proxy hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/monitoring: disabled diff --git a/deploy/gitops/node/d601/runtime-v03/workbench-redis.yaml b/deploy/gitops/node/d601/runtime-v03/workbench-redis.yaml new file mode 100644 index 00000000..9da1ed6b --- /dev/null +++ b/deploy/gitops/node/d601/runtime-v03/workbench-redis.yaml @@ -0,0 +1,243 @@ +{ + "apiVersion": "v1", + "kind": "List", + "items": [ + { + "apiVersion": "v1", + "kind": "ConfigMap", + "metadata": { + "name": "hwlab-workbench-redis-config", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-redis", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/cache-role": "workbench-derived-read", + "hwlab.pikastech.local/component": "workbench-runtime-cache", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "argocd.argoproj.io/sync-wave": "2" + } + }, + "data": { + "redis.conf": "save \"\"\nappendonly no\nmaxmemory 192mb\nmaxmemory-policy allkeys-lru\n" + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-workbench-redis", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-redis", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/cache-role": "workbench-derived-read", + "hwlab.pikastech.local/component": "workbench-runtime-cache", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "argocd.argoproj.io/sync-wave": "2" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-workbench-redis" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-redis", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/cache-role": "workbench-derived-read", + "hwlab.pikastech.local/component": "workbench-runtime-cache", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "argocd.argoproj.io/sync-wave": "2" + } + }, + "spec": { + "containers": [ + { + "name": "redis", + "image": "redis:7.2-alpine", + "imagePullPolicy": "IfNotPresent", + "args": [ + "redis-server", + "/usr/local/etc/redis/redis.conf" + ], + "ports": [ + { + "name": "redis", + "containerPort": 6379 + } + ], + "readinessProbe": { + "exec": { + "command": [ + "redis-cli", + "-p", + "6379", + "ping" + ] + }, + "initialDelaySeconds": 3, + "periodSeconds": 10, + "timeoutSeconds": 2, + "failureThreshold": 3 + }, + "livenessProbe": { + "exec": { + "command": [ + "redis-cli", + "-p", + "6379", + "ping" + ] + }, + "initialDelaySeconds": 15, + "periodSeconds": 20, + "timeoutSeconds": 3, + "failureThreshold": 3 + }, + "resources": { + "requests": { + "cpu": "50m", + "memory": "64Mi" + }, + "limits": { + "cpu": "250m", + "memory": "256Mi" + } + }, + "volumeMounts": [ + { + "name": "config", + "mountPath": "/usr/local/etc/redis", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "config", + "configMap": { + "name": "hwlab-workbench-redis-config" + } + } + ] + } + } + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-workbench-redis", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-redis", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/cache-role": "workbench-derived-read", + "hwlab.pikastech.local/component": "workbench-runtime-cache", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "argocd.argoproj.io/sync-wave": "2" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-workbench-redis" + }, + "ports": [ + { + "name": "redis", + "port": 6379, + "targetPort": "redis", + "protocol": "TCP" + } + ] + } + }, + { + "apiVersion": "networking.k8s.io/v1", + "kind": "NetworkPolicy", + "metadata": { + "name": "hwlab-workbench-redis-ingress", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-redis", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/cache-role": "workbench-derived-read", + "hwlab.pikastech.local/component": "workbench-runtime-cache", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", + "hwlab.pikastech.local/source-commit": "d60e6df485c728915330f9876a834f8970076b04" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "argocd.argoproj.io/sync-wave": "2" + } + }, + "spec": { + "podSelector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-workbench-redis" + } + }, + "policyTypes": [ + "Ingress" + ], + "ingress": [ + { + "from": [ + { + "podSelector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-workbench-runtime" + } + } + } + ], + "ports": [ + { + "protocol": "TCP", + "port": 6379 + } + ] + } + ] + } + } + ] +} diff --git a/deploy/gitops/node/d601/runtime-v03/workloads.yaml b/deploy/gitops/node/d601/runtime-v03/workloads.yaml index e7618a42..33ed6e4d 100644 --- a/deploy/gitops/node/d601/runtime-v03/workloads.yaml +++ b/deploy/gitops/node/d601/runtime-v03/workloads.yaml @@ -11,15 +11,15 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" name: hwlab-user-skills namespace: hwlab-v03 annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: accessModes: - ReadWriteOnce @@ -38,14 +38,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: @@ -63,14 +63,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 152a6b2590a684224b0dc6f04987ee44eea7a5e6 hwlab.pikastech.local/artifact-source-commit: 152a6b2590a684224b0dc6f04987ee44eea7a5e6 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: 152a6b2590a684224b0dc6f04987ee44eea7a5e6 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 152a6b2590a684224b0dc6f04987ee44eea7a5e6 hwlab.pikastech.local/artifact-source-commit: 152a6b2590a684224b0dc6f04987ee44eea7a5e6 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -93,6 +93,40 @@ items: value: "6671" - name: TZ value: Asia/Shanghai + - name: HWLAB_WORKBENCH_CACHE_REDIS_ENABLED + value: "1" + - name: HWLAB_WORKBENCH_CACHE_REDIS_NAMESPACE + value: hwlab-v03 + - name: HWLAB_WORKBENCH_CACHE_REDIS_SERVICE_NAME + value: hwlab-workbench-redis + - name: HWLAB_WORKBENCH_CACHE_REDIS_PORT + value: "6379" + - name: HWLAB_WORKBENCH_CACHE_REDIS_URL + value: redis://hwlab-workbench-redis.hwlab-v03.svc.cluster.local:6379/0 + - name: HWLAB_WORKBENCH_CACHE_REDIS_TTL_SESSIONS_SUMMARY_MS + value: "30000" + - name: HWLAB_WORKBENCH_CACHE_REDIS_TTL_TERMINAL_TURN_MS + value: "300000" + - name: HWLAB_WORKBENCH_CACHE_REDIS_TTL_TERMINAL_TRACE_PAGE_MS + value: "300000" + - name: HWLAB_WORKBENCH_CACHE_REDIS_TTL_RUNNING_PAGE_MS + value: "5000" + - name: HWLAB_WORKBENCH_CACHE_REDIS_MAX_KEY_BYTES + value: "512" + - name: HWLAB_WORKBENCH_CACHE_REDIS_MAX_PAYLOAD_BYTES + value: "262144" + - name: HWLAB_WORKBENCH_CACHE_REDIS_CONNECT_TIMEOUT_MS + value: "200" + - name: HWLAB_WORKBENCH_CACHE_REDIS_OPERATION_TIMEOUT_MS + value: "100" + - name: HWLAB_WORKBENCH_CACHE_REDIS_METRICS_LABELS + value: '{"lane":"v03","service":"hwlab-workbench-runtime","cacheKeyClass":"workbench-derived-read"}' + - name: HWLAB_WORKBENCH_CACHE_REDIS_UNAVAILABLE_LIVENESS_FAILURE + value: "0" + - name: HWLAB_WORKBENCH_CACHE_REDIS_UNAVAILABLE_READ_MODE + value: db-or-degraded + - name: HWLAB_WORKBENCH_CACHE_REDIS_UNAVAILABLE_FALLBACK_STATE_SOURCE + value: "0" - name: HWLAB_WORKBENCH_RUNTIME_DB_URL valueFrom: secretKeyRef: @@ -175,14 +209,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 strategy: @@ -202,14 +236,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 0be7db01007813ea81f39e3aa19c9f6ab2d55804 hwlab.pikastech.local/artifact-source-commit: 0be7db01007813ea81f39e3aa19c9f6ab2d55804 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: 0be7db01007813ea81f39e3aa19c9f6ab2d55804 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 0be7db01007813ea81f39e3aa19c9f6ab2d55804 hwlab.pikastech.local/artifact-source-commit: 0be7db01007813ea81f39e3aa19c9f6ab2d55804 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -758,14 +792,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: @@ -783,14 +817,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -905,14 +939,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: @@ -930,14 +964,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 hwlab.pikastech.local/artifact-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 hwlab.pikastech.local/artifact-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -1041,13 +1075,13 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 0 selector: @@ -1065,13 +1099,13 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -1159,14 +1193,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: @@ -1184,14 +1218,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: e7b6fb9639f980f9789964a378f5ea1687e88a76 hwlab.pikastech.local/artifact-source-commit: e7b6fb9639f980f9789964a378f5ea1687e88a76 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: e7b6fb9639f980f9789964a378f5ea1687e88a76 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: e7b6fb9639f980f9789964a378f5ea1687e88a76 hwlab.pikastech.local/artifact-source-commit: e7b6fb9639f980f9789964a378f5ea1687e88a76 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs @@ -1293,14 +1327,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 unidesk.ai/node-staging: "false" hwlab.pikastech.local/monitoring: disabled annotations: hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 - hwlab.pikastech.local/source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 + hwlab.pikastech.local/source-commit: d60e6df485c728915330f9876a834f8970076b04 spec: replicas: 1 selector: @@ -1318,14 +1352,14 @@ items: hwlab.pikastech.local/environment: v03 hwlab.pikastech.local/profile: v03 hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/monitoring: disabled hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout hwlab.pikastech.local/boot-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 annotations: - hwlab.pikastech.local/gitops-render-source-commit: d70b66317fc633fdaf1efd067d6d1833c30fa354 + hwlab.pikastech.local/gitops-render-source-commit: d60e6df485c728915330f9876a834f8970076b04 hwlab.pikastech.local/source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/artifact-source-commit: 350bfede1a332d8d8e92d36108e4bf1c277d6657 hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs