diff --git a/deploy/artifact-catalog.nc01-v03.json b/deploy/artifact-catalog.nc01-v03.json index 81ca8949..c3ba4b8a 100644 --- a/deploy/artifact-catalog.nc01-v03.json +++ b/deploy/artifact-catalog.nc01-v03.json @@ -5,12 +5,12 @@ "profile": "v03", "namespace": "hwlab-v03", "endpoint": "https://hwlab.pikapython.com", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "artifactState": "published", "publish": { "ciPublished": true, "registryVerified": true, - "provenance": "node-ci-artifact:hwlab-nc01-v03-ci-poll-37239ccff43f-rmrd4c1w2-collect", + "provenance": "node-ci-artifact:hwlab-nc01-v03-ci-poll-bpznr-collect", "note": "Digest fields were copied from a successful DEV artifact publish report for this source commit." }, "healthContract": { @@ -33,8 +33,8 @@ "services": [ { "serviceId": "hwlab-cloud-api", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -50,29 +50,29 @@ "buildCreatedAt": "2026-07-08T01:39:47.076Z", "buildSource": "gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB@env:5294e425c43f3d7905d4bdcf469944168afae18305dc487a9b913cc4a858fa88", "buildBackend": "reused-env-catalog", - "componentCommitId": "8d6409dc9d41e9159a4c8b81efab25a03ecccd50", - "componentInputHash": "797c0dc7d3526fa358c5776e82aa71dbe9f3d18fca350e33a3d47dd04fd49e7b", + "componentCommitId": "b450cc8dc713dc61faeb0edcb4ef006f19336ec4", + "componentInputHash": "57ef8cef75142fc3036a47a03c7b36d92d1073924cd7b314bdf7eced17f3bbd6", "runtimeMode": "env-reuse-git-mirror-checkout", "envReuse": true, "envChanged": false, - "codeChanged": false, + "codeChanged": true, "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", - "codeInputHash": "03519eb7294275aaefd9a512f2973bf76608bffe0cc4dabf242049e3be07b059", + "codeInputHash": "e2f975516ef74c41b53d1f93b22ce0bdb33d904f740e1d6738c170ab36c50fbe", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-cloud-api.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-cloud-api.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-cloud-api.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" @@ -82,9 +82,10 @@ "baseImageReference": "127.0.0.1:5000/hwlab/hwlab-node20-base:20-bookworm-slim", "baseImageDigest": null, "buildArgsHash": "445d32282d642d5089290ffe5f621ccea3206cf1d9f11b24091f82a4434cbcd5", - "ciAffected": false, + "ciAffected": true, "ciReason": [ - "component-inputs-unchanged" + "code-input-changed", + "component-path-changed" ], "reuse": { "status": "ready", @@ -96,8 +97,8 @@ }, { "serviceId": "hwlab-workbench-runtime", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "imageTag": "env-6d50571be334", "digest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", @@ -124,18 +125,18 @@ "environmentInputHash": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445", "codeInputHash": "e242d6bce649c8422e458fc30b3e3ef00721b15d067c7f55f9898b2771b83838", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-workbench-runtime.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-workbench-runtime.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-workbench-runtime.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "HWLAB_ENVIRONMENT_DIGEST": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" @@ -159,8 +160,8 @@ }, { "serviceId": "hwlab-user-billing", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "imageTag": "env-6d50571be334", "digest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", @@ -187,18 +188,18 @@ "environmentInputHash": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445", "codeInputHash": "09a0983dcc5525d93de6ab636a9de686739625d5549f108f366c44cae7835d69", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-user-billing.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-user-billing.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-user-billing.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334", "HWLAB_ENVIRONMENT_DIGEST": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" @@ -222,8 +223,8 @@ }, { "serviceId": "hwlab-project-management", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -250,18 +251,18 @@ "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", "codeInputHash": "4cbd4e24c3020037d215271ed248ac38d5a1c385855443ffe5c112b1a04118f6", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-project-management.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-project-management.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-project-management.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" @@ -285,8 +286,8 @@ }, { "serviceId": "hwlab-cloud-web", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -302,8 +303,8 @@ "buildCreatedAt": "2026-07-08T01:39:47.076Z", "buildSource": "gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB@env:5294e425c43f3d7905d4bdcf469944168afae18305dc487a9b913cc4a858fa88", "buildBackend": "reused-env-catalog", - "componentCommitId": "ac412b557ca6f4f44aa94d373b74a288caee42c8", - "componentInputHash": "5b1aa758ecf8778d0b840dd0f7bc8c7d2a9d0666262c84bcf9bb0ab3cd6b42ad", + "componentCommitId": "b450cc8dc713dc61faeb0edcb4ef006f19336ec4", + "componentInputHash": "f6a898a677d882e525aed86467c6217207caac606aa7e3e42a2137974d1b5c6a", "runtimeMode": "env-reuse-git-mirror-checkout", "envReuse": true, "envChanged": false, @@ -311,20 +312,20 @@ "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", - "codeInputHash": "2f028ec847be1500ca51bb9f92f6a2bbcce682c04b7138f79682a0fb1cb637d3", + "codeInputHash": "71863318c4826fa5939feed6519d176a0e2d01dc894429c0214554ece73b0404", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-cloud-web.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-cloud-web.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-cloud-web.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" @@ -349,8 +350,8 @@ }, { "serviceId": "hwlab-gateway", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -377,18 +378,18 @@ "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", "codeInputHash": "25f753b252593891ed7b03b53a69d266e7a324728cf83fea8654bab4196fa399", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-gateway.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-gateway.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-gateway.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" @@ -412,8 +413,8 @@ }, { "serviceId": "hwlab-edge-proxy", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -440,18 +441,18 @@ "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", "codeInputHash": "c97d19939c872e128a6931bdf73f28a75a684948a76a2b1af37508dd47481544", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-edge-proxy.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-edge-proxy.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-edge-proxy.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" @@ -475,8 +476,8 @@ }, { "serviceId": "hwlab-agent-skills", - "commitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", - "sourceCommitId": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "commitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "sourceCommitId": "aa114c175265f0214692c7b130f4f533ab3fe42d", "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "imageTag": "env-6ef8ca3abf22", "digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", @@ -503,18 +504,18 @@ "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", "codeInputHash": "369ca524ae4010fb5d9adfd30b4290808a035804b4674755bc193fee743f3d5a", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-agent-skills.sh", "bootEnvEvidence": { "runtimeMode": "env-reuse-git-mirror-checkout", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "bootRepo": "git@github.com:pikasTech/HWLAB.git", - "bootCommit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "bootCommit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "bootSh": "deploy/runtime/boot/hwlab-agent-skills.sh", "env": { "HWLAB_BOOT_REPO": "git@github.com:pikasTech/HWLAB.git", - "HWLAB_BOOT_COMMIT": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "HWLAB_BOOT_COMMIT": "aa114c175265f0214692c7b130f4f533ab3fe42d", "HWLAB_BOOT_SH": "deploy/runtime/boot/hwlab-agent-skills.sh", "HWLAB_ENVIRONMENT_IMAGE": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "HWLAB_ENVIRONMENT_DIGEST": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" diff --git a/deploy/gitops/node/nc01/runtime-v03/configmaps.yaml b/deploy/gitops/node/nc01/runtime-v03/configmaps.yaml index 8d7484ce..2181f20c 100644 --- a/deploy/gitops/node/nc01/runtime-v03/configmaps.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/configmaps.yaml @@ -10,7 +10,7 @@ "namespace": "hwlab-v03", "labels": { "hwlab.pikastech.local/gitops-target": "v03", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/environment": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/config-kind": "hwpod-preinstalled-specs" @@ -34,7 +34,7 @@ "namespace": "hwlab-v03", "labels": { "hwlab.pikastech.local/gitops-target": "v03", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/environment": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/config-kind": "project-management-bootstrap-sources" diff --git a/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml b/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml index ecec676e..67b17897 100644 --- a/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml @@ -1,327 +1,414 @@ -apiVersion: v1 -kind: List -items: - - apiVersion: v1 - kind: ConfigMap - metadata: - name: hwlab-deepseek-proxy-config - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-deepseek-proxy - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/service-id: hwlab-deepseek-proxy - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - data: - render-config.sh: > - #!/bin/sh - - if [ -z "${DEEPSEEK_API_KEY:-}" ] && [ -z "${OPENCODE_API_KEY:-}" ]; - then - echo "at least one of DEEPSEEK_API_KEY or OPENCODE_API_KEY is required" >&2 - exit 1 - fi - - cat > /config/config.yml <&2\n exit 1\nfi\ncat > /config/config.yml < 0;\n if (!configured) return Promise.resolve({ configured: false, success: false, statusCode: 0, durationSeconds: 0 });\n\n let url;\n try {\n url = new URL(targetUrl);\n } catch {\n return Promise.resolve({ configured: true, success: false, statusCode: 0, durationSeconds: 0 });\n }\n\n const requestImpl = url.protocol === \"https:\" ? httpsRequest : url.protocol === \"http:\" ? httpRequest : null;\n if (!requestImpl) return Promise.resolve({ configured: true, success: false, statusCode: 0, durationSeconds: 0 });\n\n const started = Date.now();\n return new Promise((resolve) => {\n const finish = (result) => resolve({\n configured: true,\n success: false,\n statusCode: 0,\n durationSeconds: (Date.now() - started) / 1000,\n ...result\n });\n const request = requestImpl(url, { method: \"GET\", timeout: timeoutMs }, (response) => {\n const chunks = [];\n let bytes = 0;\n if (collectBody) {\n response.on(\"data\", (chunk) => {\n const buffer = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);\n bytes += buffer.length;\n if (bytes <= maxBodyBytes) chunks.push(buffer);\n });\n } else {\n response.resume();\n }\n response.on(\"end\", () => finish({\n success: Boolean(response.statusCode && response.statusCode >= 200 && response.statusCode < 300),\n statusCode: response.statusCode || 0,\n body: collectBody ? Buffer.concat(chunks).toString(\"utf8\") : undefined,\n bodyBytes: collectBody ? Math.min(bytes, maxBodyBytes) : 0,\n truncated: collectBody ? bytes > maxBodyBytes : false\n }));\n });\n request.on(\"timeout\", () => request.destroy());\n request.on(\"error\", () => finish({}));\n request.end();\n });\n}\n\nexport async function probeExtraMetrics({ targetUrl, timeoutMs = DEFAULT_TARGET_TIMEOUT_MS, maxBodyBytes = DEFAULT_EXTRA_METRICS_MAX_BYTES, probeImpl = requestTarget } = {}) {\n const configured = typeof targetUrl === \"string\" && targetUrl.trim().length > 0;\n if (!configured || typeof probeImpl !== \"function\") {\n return { configured: false, success: false, statusCode: 0, durationSeconds: 0, text: \"\" };\n }\n try {\n const result = await probeImpl({ targetUrl, timeoutMs, collectBody: true, maxBodyBytes });\n return {\n configured: true,\n success: Boolean(result.success),\n statusCode: result.statusCode || 0,\n durationSeconds: result.durationSeconds || 0,\n text: result.success ? sanitizeExtraMetricsText(result.body || \"\") : \"\"\n };\n } catch {\n return { configured: true, success: false, statusCode: 0, durationSeconds: 0, text: \"\" };\n }\n}\n\nexport function sanitizeExtraMetricsText(text) {\n const lines = String(text ?? \"\").split(/\\r?\\n/gu);\n return lines.filter((line) => {\n if (!line) return true;\n if (/^#\\s+(?:HELP|TYPE)\\s+hwlab_[A-Za-z_:][A-Za-z0-9_:]*\\b/u.test(line)) return true;\n return /^hwlab_[A-Za-z_:][A-Za-z0-9_:]*(?:\\{[^\\n{}]*\\})?\\s+[-+0-9.eE]+$/u.test(line);\n }).join(\"\\n\");\n}\n\nexport async function probeTarget({ targetUrl, timeoutMs = DEFAULT_TARGET_TIMEOUT_MS, probeImpl = requestTarget } = {}) {\n const configured = typeof targetUrl === \"string\" && targetUrl.trim().length > 0;\n if (!configured || typeof probeImpl !== \"function\") {\n return { configured: false, success: false, statusCode: 0, durationSeconds: 0 };\n }\n try {\n return await probeImpl({ targetUrl, timeoutMs });\n } catch {\n const started = Date.now();\n return { configured: true, success: false, statusCode: 0, durationSeconds: (Date.now() - started) / 1000 };\n }\n}\n\nexport function buildMetricsText({ env = process.env, probe = null, extraMetrics = null, now = Date.now() } = {}) {\n const labels = metricLabels(env);\n const uptimeSeconds = Math.max(0, (now - startedAtMs) / 1000);\n const healthProbe = probe ?? { configured: false, success: false, statusCode: 0, durationSeconds: 0 };\n const extraProbe = extraMetrics ?? { configured: false, success: false, statusCode: 0, durationSeconds: 0, text: \"\" };\n const lines = [\n \"# HELP hwlab_service_up HWLAB metrics sidecar availability.\",\n \"# TYPE hwlab_service_up gauge\",\n `hwlab_service_up{${labels}} 1`,\n \"# HELP hwlab_service_info Static HWLAB service metrics identity without high-cardinality request identifiers.\",\n \"# TYPE hwlab_service_info gauge\",\n `hwlab_service_info{${labels}} 1`,\n \"# HELP hwlab_service_process_uptime_seconds Metrics sidecar process uptime in seconds.\",\n \"# TYPE hwlab_service_process_uptime_seconds gauge\",\n `hwlab_service_process_uptime_seconds{${labels}} ${uptimeSeconds.toFixed(3)}`,\n \"# HELP hwlab_service_health_probe_configured Whether the sidecar has a cluster-local health probe target.\",\n \"# TYPE hwlab_service_health_probe_configured gauge\",\n `hwlab_service_health_probe_configured{${labels}} ${healthProbe.configured ? 1 : 0}`,\n \"# HELP hwlab_service_health_probe_success Whether the most recent cluster-local health probe succeeded.\",\n \"# TYPE hwlab_service_health_probe_success gauge\",\n `hwlab_service_health_probe_success{${labels}} ${healthProbe.success ? 1 : 0}`,\n \"# HELP hwlab_service_health_probe_status_code Most recent cluster-local health probe HTTP status code, or 0 when unavailable.\",\n \"# TYPE hwlab_service_health_probe_status_code gauge\",\n `hwlab_service_health_probe_status_code{${labels}} ${Number.isInteger(healthProbe.statusCode) ? healthProbe.statusCode : 0}`,\n \"# HELP hwlab_service_health_probe_duration_seconds Most recent cluster-local health probe duration in seconds.\",\n \"# TYPE hwlab_service_health_probe_duration_seconds gauge\",\n `hwlab_service_health_probe_duration_seconds{${labels}} ${Number(healthProbe.durationSeconds || 0).toFixed(3)}`,\n \"# HELP hwlab_service_extra_metrics_configured Whether the sidecar has an additional cluster-local metrics target.\",\n \"# TYPE hwlab_service_extra_metrics_configured gauge\",\n `hwlab_service_extra_metrics_configured{${labels}} ${extraProbe.configured ? 1 : 0}`,\n \"# HELP hwlab_service_extra_metrics_success Whether the most recent additional metrics fetch succeeded.\",\n \"# TYPE hwlab_service_extra_metrics_success gauge\",\n `hwlab_service_extra_metrics_success{${labels}} ${extraProbe.success ? 1 : 0}`,\n \"# HELP hwlab_service_extra_metrics_status_code Most recent additional metrics HTTP status code, or 0 when unavailable.\",\n \"# TYPE hwlab_service_extra_metrics_status_code gauge\",\n `hwlab_service_extra_metrics_status_code{${labels}} ${Number.isInteger(extraProbe.statusCode) ? extraProbe.statusCode : 0}`,\n \"# HELP hwlab_service_extra_metrics_duration_seconds Most recent additional metrics fetch duration in seconds.\",\n \"# TYPE hwlab_service_extra_metrics_duration_seconds gauge\",\n `hwlab_service_extra_metrics_duration_seconds{${labels}} ${Number(extraProbe.durationSeconds || 0).toFixed(3)}`,\n \"\"\n ];\n if (extraProbe.text) {\n lines.push(extraProbe.text.trimEnd(), \"\");\n }\n return lines.join(\"\\n\");\n}\n\nfunction sendJson(response, statusCode, body) {\n const payload = JSON.stringify(body) + \"\\n\";\n response.writeHead(statusCode, {\n \"content-type\": \"application/json; charset=utf-8\",\n \"content-length\": Buffer.byteLength(payload)\n });\n response.end(payload);\n}\n\nexport function createMetricsSidecarServer({ env = process.env, probeImpl = requestTarget } = {}) {\n return createServer(async (request, response) => {\n const url = new URL(request.url || \"/\", \"http://hwlab-metrics.local\");\n if (request.method === \"GET\" && (url.pathname === \"/health\" || url.pathname === \"/health/live\")) {\n sendJson(response, 200, {\n serviceId: sanitizeLabelValue(env.HWLAB_METRICS_SERVICE_ID || env.HWLAB_SERVICE_ID),\n status: \"ok\",\n metricsPath: \"/metrics\"\n });\n return;\n }\n if (request.method === \"GET\" && url.pathname === \"/metrics\") {\n const timeoutMs = Number.parseInt(env.HWLAB_METRICS_TARGET_TIMEOUT_MS || \"\", 10) || DEFAULT_TARGET_TIMEOUT_MS;\n const probe = await probeTarget({ targetUrl: env.HWLAB_METRICS_TARGET_URL, timeoutMs, probeImpl });\n const extraTimeoutMs = Number.parseInt(env.HWLAB_METRICS_EXTRA_TIMEOUT_MS || \"\", 10) || DEFAULT_TARGET_TIMEOUT_MS;\n const extraMetrics = await probeExtraMetrics({ targetUrl: env.HWLAB_METRICS_EXTRA_URL, timeoutMs: extraTimeoutMs, probeImpl });\n const payload = buildMetricsText({ env, probe, extraMetrics });\n response.writeHead(200, {\n \"content-type\": \"text/plain; version=0.0.4; charset=utf-8\",\n \"content-length\": Buffer.byteLength(payload)\n });\n response.end(payload);\n return;\n }\n sendJson(response, 404, { error: \"not_found\", path: url.pathname });\n });\n}\n\nexport function startMetricsSidecar({ env = process.env } = {}) {\n const port = Number.parseInt(env.HWLAB_METRICS_PORT || env.PORT || \"\", 10) || DEFAULT_PORT;\n const server = createMetricsSidecarServer({ env });\n server.listen(port, \"0.0.0.0\", () => {\n process.stdout.write(JSON.stringify({ serviceId: env.HWLAB_METRICS_SERVICE_ID || \"hwlab-unknown\", status: \"metrics-listening\", port }) + \"\\n\");\n });\n return server;\n}\n\nexport function isMainModule({ moduleUrl = import.meta.url, argvPath = process.argv[1], realpath = realpathSync } = {}) {\n if (!argvPath) return false;\n if (moduleUrl === pathToFileURL(argvPath).href) return true;\n try {\n return moduleUrl === pathToFileURL(realpath(argvPath)).href;\n } catch {\n return false;\n }\n}\n\nif (isMainModule()) {\n startMetricsSidecar();\n}\n" + } + } + ] +} diff --git a/deploy/gitops/node/nc01/runtime-v03/opencode.yaml b/deploy/gitops/node/nc01/runtime-v03/opencode.yaml index 19228c0c..8dbcd554 100644 --- a/deploy/gitops/node/nc01/runtime-v03/opencode.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/opencode.yaml @@ -16,7 +16,7 @@ "hwlab.pikastech.local/component": "opencode", "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/service-id": "opencode-server", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -33,7 +33,7 @@ "hwlab.pikastech.local/values-printed": "false", "hwlab.pikastech.local/opencode-provider-proxy-runtime-mode": "env-reuse-git-mirror-checkout", "hwlab.pikastech.local/opencode-provider-proxy-boot-repo": "git@github.com:pikasTech/HWLAB.git", - "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/opencode-provider-proxy-boot-sh": "deploy/runtime/boot/opencode-provider-proxy.sh", "hwlab.pikastech.local/opencode-provider-proxy-environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" } @@ -53,7 +53,7 @@ "hwlab.pikastech.local/component": "opencode", "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/service-id": "opencode-server", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -70,7 +70,7 @@ "hwlab.pikastech.local/values-printed": "false", "hwlab.pikastech.local/opencode-provider-proxy-runtime-mode": "env-reuse-git-mirror-checkout", "hwlab.pikastech.local/opencode-provider-proxy-boot-repo": "git@github.com:pikasTech/HWLAB.git", - "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/opencode-provider-proxy-boot-sh": "deploy/runtime/boot/opencode-provider-proxy.sh", "hwlab.pikastech.local/opencode-provider-proxy-environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" } @@ -100,7 +100,7 @@ "hwlab.pikastech.local/component": "opencode", "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/service-id": "opencode-server", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -117,7 +117,7 @@ "hwlab.pikastech.local/values-printed": "false", "hwlab.pikastech.local/opencode-provider-proxy-runtime-mode": "env-reuse-git-mirror-checkout", "hwlab.pikastech.local/opencode-provider-proxy-boot-repo": "git@github.com:pikasTech/HWLAB.git", - "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/opencode-provider-proxy-boot-sh": "deploy/runtime/boot/opencode-provider-proxy.sh", "hwlab.pikastech.local/opencode-provider-proxy-environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" } @@ -153,7 +153,7 @@ "hwlab.pikastech.local/component": "opencode", "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/service-id": "opencode-server", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -170,7 +170,7 @@ "hwlab.pikastech.local/values-printed": "false", "hwlab.pikastech.local/opencode-provider-proxy-runtime-mode": "env-reuse-git-mirror-checkout", "hwlab.pikastech.local/opencode-provider-proxy-boot-repo": "git@github.com:pikasTech/HWLAB.git", - "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/opencode-provider-proxy-boot-sh": "deploy/runtime/boot/opencode-provider-proxy.sh", "hwlab.pikastech.local/opencode-provider-proxy-environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" } @@ -198,7 +198,7 @@ "hwlab.pikastech.local/component": "opencode", "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/service-id": "opencode-server", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -215,7 +215,7 @@ "hwlab.pikastech.local/values-printed": "false", "hwlab.pikastech.local/opencode-provider-proxy-runtime-mode": "env-reuse-git-mirror-checkout", "hwlab.pikastech.local/opencode-provider-proxy-boot-repo": "git@github.com:pikasTech/HWLAB.git", - "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d", + "hwlab.pikastech.local/opencode-provider-proxy-boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", "hwlab.pikastech.local/opencode-provider-proxy-boot-sh": "deploy/runtime/boot/opencode-provider-proxy.sh", "hwlab.pikastech.local/opencode-provider-proxy-environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" } @@ -284,27 +284,27 @@ }, { "name": "HTTP_PROXY", - "value": "http://10.42.0.1:10808" + "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" }, { "name": "HTTPS_PROXY", - "value": "http://10.42.0.1:10808" + "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" }, { "name": "http_proxy", - "value": "http://10.42.0.1:10808" + "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" }, { "name": "https_proxy", - "value": "http://10.42.0.1:10808" + "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" }, { "name": "NO_PROXY", - "value": "localhost,127.0.0.1,::1,127.0.0.1:5000,localhost:5000,.svc,.svc.cluster.local,.cluster.local,kubernetes,kubernetes.default,kubernetes.default.svc,argocd-repo-server,argocd-repo-server.argocd,argocd-redis,argocd-redis.argocd,git-mirror-http,git-mirror-http.devops-infra,git-mirror-write,git-mirror-write.devops-infra,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,172.16.0.0/12,192.168.0.0/16,152.53.229.148,152.53.229.148,hyueapi.com,.hyueapi.com" + "value": "localhost,127.0.0.1,::1,127.0.0.1:5000,localhost:5000,.svc,.svc.cluster.local,.cluster.local,kubernetes,kubernetes.default,kubernetes.default.svc,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,172.16.0.0/12,192.168.0.0/16,82.156.23.220,74.48.78.17,hyueapi.com,.hyueapi.com" }, { "name": "no_proxy", - "value": "localhost,127.0.0.1,::1,127.0.0.1:5000,localhost:5000,.svc,.svc.cluster.local,.cluster.local,kubernetes,kubernetes.default,kubernetes.default.svc,argocd-repo-server,argocd-repo-server.argocd,argocd-redis,argocd-redis.argocd,git-mirror-http,git-mirror-http.devops-infra,git-mirror-write,git-mirror-write.devops-infra,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,172.16.0.0/12,192.168.0.0/16,152.53.229.148,152.53.229.148,hyueapi.com,.hyueapi.com" + "value": "localhost,127.0.0.1,::1,127.0.0.1:5000,localhost:5000,.svc,.svc.cluster.local,.cluster.local,kubernetes,kubernetes.default,kubernetes.default.svc,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,172.16.0.0/12,192.168.0.0/16,82.156.23.220,74.48.78.17,hyueapi.com,.hyueapi.com" }, { "name": "OPENCODE_CONFIG_CONTENT", @@ -398,7 +398,7 @@ }, { "name": "HWLAB_COMMIT_ID", - "value": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, { "name": "HWLAB_IMAGE", @@ -442,7 +442,7 @@ }, { "name": "HWLAB_BOOT_COMMIT", - "value": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, { "name": "HWLAB_BOOT_REF", @@ -470,7 +470,7 @@ }, { "name": "HWLAB_CODE_INPUT_HASH", - "value": "2f028ec847be1500ca51bb9f92f6a2bbcce682c04b7138f79682a0fb1cb637d3" + "value": "71863318c4826fa5939feed6519d176a0e2d01dc894429c0214554ece73b0404" }, { "name": "HWLAB_IMAGE_DIGEST", diff --git a/deploy/gitops/node/nc01/runtime-v03/openfga.yaml b/deploy/gitops/node/nc01/runtime-v03/openfga.yaml index 17c6c8da..1c110329 100644 --- a/deploy/gitops/node/nc01/runtime-v03/openfga.yaml +++ b/deploy/gitops/node/nc01/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": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "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": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "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": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "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": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "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": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", diff --git a/deploy/gitops/node/nc01/runtime-v03/services.yaml b/deploy/gitops/node/nc01/runtime-v03/services.yaml index 1fdb199b..5ebcab5c 100644 --- a/deploy/gitops/node/nc01/runtime-v03/services.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/services.yaml @@ -1,208 +1,305 @@ -apiVersion: v1 -kind: List -items: - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-cloud-api - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-cloud-api - ports: - - name: http - port: 6667 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-project-management - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-project-management - hwlab.pikastech.local/service-id: hwlab-project-management - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-project-management - ports: - - name: http - port: 6672 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-workbench-runtime - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-workbench-runtime - ports: - - name: http - port: 6671 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-user-billing - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-user-billing - ports: - - name: http - port: 6670 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-cloud-web - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-cloud-web - ports: - - name: http - port: 8080 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-gateway - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-gateway - hwlab.pikastech.local/service-id: hwlab-gateway - hwlab.pikastech.local/activation: manual - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-gateway - ports: - - name: http - port: 7001 - targetPort: http - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-agent-skills - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-agent-skills - ports: - - name: http - port: 7430 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics - - apiVersion: v1 - kind: Service - metadata: - name: hwlab-edge-proxy - namespace: hwlab-v03 - labels: - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/monitoring: disabled - annotations: - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - spec: - type: ClusterIP - selector: - app.kubernetes.io/name: hwlab-edge-proxy - ports: - - name: http - port: 6667 - targetPort: http - - name: metrics - port: 9100 - targetPort: metrics +{ + "apiVersion": "v1", + "kind": "List", + "items": [ + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-cloud-api", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-cloud-api" + }, + "ports": [ + { + "name": "http", + "port": 6667, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-project-management", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-project-management", + "hwlab.pikastech.local/service-id": "hwlab-project-management", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-project-management" + }, + "ports": [ + { + "name": "http", + "port": 6672, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-workbench-runtime", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-workbench-runtime" + }, + "ports": [ + { + "name": "http", + "port": 6671, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-user-billing", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-user-billing" + }, + "ports": [ + { + "name": "http", + "port": 6670, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-cloud-web", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-cloud-web" + }, + "ports": [ + { + "name": "http", + "port": 8080, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-gateway", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-gateway", + "hwlab.pikastech.local/service-id": "hwlab-gateway", + "hwlab.pikastech.local/activation": "manual", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-gateway" + }, + "ports": [ + { + "name": "http", + "port": 7001, + "targetPort": "http" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-agent-skills", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-agent-skills" + }, + "ports": [ + { + "name": "http", + "port": 7430, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + }, + { + "apiVersion": "v1", + "kind": "Service", + "metadata": { + "name": "hwlab-edge-proxy", + "namespace": "hwlab-v03", + "labels": { + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs" + } + }, + "spec": { + "type": "ClusterIP", + "selector": { + "app.kubernetes.io/name": "hwlab-edge-proxy" + }, + "ports": [ + { + "name": "http", + "port": 6667, + "targetPort": "http" + }, + { + "name": "metrics", + "port": 9100, + "targetPort": "metrics" + } + ] + } + } + ] +} diff --git a/deploy/gitops/node/nc01/runtime-v03/workbench-redis.yaml b/deploy/gitops/node/nc01/runtime-v03/workbench-redis.yaml index 68360da9..6367cd20 100644 --- a/deploy/gitops/node/nc01/runtime-v03/workbench-redis.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/workbench-redis.yaml @@ -17,7 +17,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -43,7 +43,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -68,7 +68,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -165,7 +165,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", @@ -202,7 +202,7 @@ "hwlab.pikastech.local/gitops-target": "v03", "hwlab.pikastech.local/profile": "v03", "hwlab.pikastech.local/service-id": "hwlab-workbench-redis", - "hwlab.pikastech.local/source-commit": "37239ccff43fb49f1669393bfeda0fc8cf16407d" + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" }, "annotations": { "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", diff --git a/deploy/gitops/node/nc01/runtime-v03/workloads.yaml b/deploy/gitops/node/nc01/runtime-v03/workloads.yaml index 9c69cdff..67be6b0b 100644 --- a/deploy/gitops/node/nc01/runtime-v03/workloads.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/workloads.yaml @@ -1,1752 +1,3458 @@ -apiVersion: v1 -kind: List -items: - - apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - labels: - app.kubernetes.io/name: hwlab-user-skills - hwlab.pikastech.local/service-id: hwlab-user-skills - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 2Gi - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-project-management - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-project-management - hwlab.pikastech.local/service-id: hwlab-project-management - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-project-management - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-project-management - hwlab.pikastech.local/service-id: hwlab-project-management - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-project-management.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: 4cbd4e24c3020037d215271ed248ac38d5a1c385855443ffe5c112b1a04118f6 - spec: - containers: - - name: hwlab-project-management - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 6672 - env: - - name: HWLAB_PROJECT_MANAGEMENT_PORT - value: "6672" - - name: TZ - value: Asia/Shanghai - - name: HWLAB_PROJECT_MANAGEMENT_DB_URL - valueFrom: - secretKeyRef: - name: hwlab-cloud-api-v03-db - key: database-url - optional: true - - name: HWLAB_PROJECT_MANAGEMENT_DB_CONNECT_TIMEOUT_MS - value: "5000" - - name: HWLAB_PROJECT_MANAGEMENT_SOURCE_ROOT - value: /workspace/hwlab-boot/repo - - name: HWLAB_PROJECT_MANAGEMENT_SOURCE_ID - value: hwlab-v03-mdtodo - - name: HWLAB_PROJECT_MANAGEMENT_SOURCE_NAME - value: HWLAB v0.3 MDTODO - - name: HWLAB_PROJECT_MANAGEMENT_PROJECT_ID - value: project_hwlab_v03 - - name: HWLAB_PROJECT_MANAGEMENT_MDTODO_TASK_DEFAULT_LIMIT - value: "200" - - name: HWLAB_PROJECT_MANAGEMENT_MDTODO_TASK_MAX_LIMIT - value: "500" - - name: HWLAB_PROJECT_MANAGEMENT_HWPOD_NODE_OPS_URL - value: http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667/v1/hwpod-node-ops - - name: HWLAB_PROJECT_MANAGEMENT_HWPOD_NODE_OPS_API_KEY - valueFrom: - secretKeyRef: - name: hwlab-v03-master-server-admin-api-key - key: api-key - optional: true - - name: HWLAB_PROJECT_MANAGEMENT_BOOTSTRAP_SOURCES_PATH - value: /etc/hwlab/project-management/sources.json - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-project-management - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-project-management.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 4cbd4e24c3020037d215271ed248ac38d5a1c385855443ffe5c112b1a04118f6 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - readinessProbe: - httpGet: - path: /health/ready - port: http - timeoutSeconds: 10 - failureThreshold: 5 - livenessProbe: - httpGet: - path: /health/live - port: http - timeoutSeconds: 5 - failureThreshold: 6 - imagePullPolicy: IfNotPresent - volumeMounts: - - name: project-management-bootstrap - mountPath: /etc/hwlab/project-management - readOnly: true - startupProbe: - httpGet: - path: /health/ready - port: http - periodSeconds: 10 - timeoutSeconds: 10 - failureThreshold: 30 - successThreshold: 1 - volumes: - - name: project-management-bootstrap - configMap: - name: hwlab-v03-project-management-bootstrap - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-workbench-runtime - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-workbench-runtime - hwlab.pikastech.local/service-id: hwlab-workbench-runtime - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-workbench-runtime - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-workbench-runtime - hwlab.pikastech.local/service-id: hwlab-workbench-runtime - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-workbench-runtime.sh - hwlab.pikastech.local/environment-digest: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - hwlab.pikastech.local/environment-input-hash: 6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445 - hwlab.pikastech.local/code-input-hash: e242d6bce649c8422e458fc30b3e3ef00721b15d067c7f55f9898b2771b83838 - spec: - containers: - - name: hwlab-workbench-runtime - image: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - ports: - - name: http - containerPort: 6671 - env: - - name: HWLAB_WORKBENCH_RUNTIME_PORT - value: "6671" - - name: TZ - value: Asia/Shanghai - - name: HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_MAX_ATTEMPTS - value: "1" - - name: HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_ATTEMPT_TIMEOUT_MS - value: "10000" - - name: HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_BACKOFF_MS - value: "0" - - name: HWLAB_WORKBENCH_RUNTIME_DB_POOL_MAX - value: "16" - - name: HWLAB_WORKBENCH_RUNTIME_QUERY_TIMEOUT_MS - value: "10000" - - name: HWLAB_WORKBENCH_RUNTIME_READY_TIMEOUT_MS - value: "10000" - - 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: - name: hwlab-cloud-api-v03-db - key: database-url - optional: true - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-workbench-runtime - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - - name: HWLAB_IMAGE_TAG - value: env-6d50571be334 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-workbench-runtime.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445 - - name: HWLAB_CODE_INPUT_HASH - value: e242d6bce649c8422e458fc30b3e3ef00721b15d067c7f55f9898b2771b83838 - - name: HWLAB_IMAGE_DIGEST - value: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - readinessProbe: - httpGet: - path: /health/ready - port: http - timeoutSeconds: 10 - failureThreshold: 5 - livenessProbe: - httpGet: - path: /health/live - port: http - timeoutSeconds: 5 - failureThreshold: 6 - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/ready - port: http - periodSeconds: 10 - timeoutSeconds: 10 - failureThreshold: 30 - successThreshold: 1 - volumes: [] - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-cloud-api - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-cloud-api - hwlab.pikastech.local/service-id: hwlab-cloud-api - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-cloud-api - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-cloud-api - hwlab.pikastech.local/service-id: hwlab-cloud-api - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-cloud-api.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: 03519eb7294275aaefd9a512f2973bf76608bffe0cc4dabf242049e3be07b059 - spec: - initContainers: [] - containers: - - name: hwlab-cloud-api - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 6667 - env: - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_PUBLIC_ENDPOINT - value: https://hwlab.pikapython.com - - name: HWLAB_CLOUD_API_PORT - value: "6667" - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN - value: unidesk-backend,provider-gateway,microservice-proxy - - name: HWLAB_CLOUD_DB_URL - valueFrom: - secretKeyRef: - name: hwlab-cloud-api-v03-db - key: database-url - optional: true - - name: HWLAB_CLOUD_DB_SSL_MODE - value: require - - name: HWLAB_CLOUD_DB_CONTRACT - value: v03-redacted-presence-only - - name: HWLAB_CLOUD_RUNTIME_ADAPTER - value: postgres - - name: HWLAB_CLOUD_RUNTIME_DURABLE - value: "true" - - name: HWLAB_M3_IO_CONTROL_ENABLED - value: "false" - - name: HWLAB_CODE_AGENT_TIMEOUT_MS - value: "1200000" - - name: NO_PROXY - value: hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com - - name: no_proxy - value: hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com - - name: HWLAB_CODE_AGENT_SKILLS_DIRS - value: /app/skills:/data/user-skills - - name: HWLAB_PREINSTALLED_SKILLS_DIR - value: /app/skills - - name: HWLAB_USER_SKILLS_DIR - value: /data/user-skills - - name: HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE - value: gpt.pika - - name: HWLAB_CODE_AGENT_DEEPSEEK_MODEL - value: deepseek-chat - - name: HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL - value: http://hwlab-deepseek-proxy.hwlab-v03.svc.cluster.local:4000/v1/responses - - name: HWLAB_CODE_AGENT_CODEX_API_MODEL - value: gpt-5.5 - - name: HWLAB_CODE_AGENT_CODEX_API_BASE_URL - value: http://127.0.0.1:49280/responses - - name: HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL - value: https://hyueapi.com - - name: HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT - value: "49280" - - name: TZ - value: Asia/Shanghai - - name: HWLAB_METRICS_NAMESPACE - value: hwlab-v03 - - name: HWLAB_OBSERVABILITY_CONFIG_REVISION - value: PJ2026-01060505-20260619-long-trace-timeout-mitigation - - name: HWLAB_CODE_AGENT_TURN_STATUS_REFRESH_TIMEOUT_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_NO_RESPONSE_TIMEOUT_MS - value: "600000" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX - value: "5" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_BASE_MS - value: "1000" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX_DELAY_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_SYNC_POLL_INTERVAL_MS - value: "1000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_ENABLED - value: "1" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INITIAL_DELAY_MS - value: "5000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INTERVAL_MS - value: "60000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_MIN_AGE_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_BATCH_SIZE - value: "100" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_JITTER_MS - value: "15000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_FAILURE_BACKOFF_MS - value: "120000" - - name: HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH - valueFrom: - secretKeyRef: - name: hwlab-v03-bootstrap-admin - key: password-hash - optional: true - - name: HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH - valueFrom: - secretKeyRef: - name: hwlab-v03-preset-users - key: huiggao-password-hash - optional: true - - name: HWLAB_ACCESS_CONTROL_USERS_JSON - value: '[{"id":"usr_v03_admin","username":"admin","displayName":"HWLAB v0.3 - Admin","email":null,"role":"admin","status":"active","navProfile":"admin-full","passwordHashEnv":"HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH"},{"id":"usr_v03_huiggao","username":"huiggao@163.com","displayName":"huiggao@163.com","email":"huiggao@163.com","role":"user","status":"active","navProfile":"code-mdtodo-only","passwordHashEnv":"HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH"}]' - - name: HWLAB_ACCESS_CONTROL_NAV_PROFILES_JSON - value: '[{"id":"admin-full","displayName":"Admin full - access","allowedIds":["*"]},{"id":"code-mdtodo-only","displayName":"Code - and MDTODO - only","allowedIds":["workbench.code","project.mdtodo"]}]' - - name: HWLAB_CLOUD_DB_POOL_MAX - value: "16" - - name: HWLAB_WORKBENCH_RUNTIME_TIMEOUT_MS - value: "3000" - - name: HWLAB_WORKBENCH_FACTS_QUERY_MAX_ATTEMPTS - value: "1" - - name: HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_BASE_MS - value: "0" - - name: HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_MAX_MS - value: "1" - - name: HWLAB_ACCESS_CONTROL_REQUIRED - value: "1" - - name: HWLAB_SESSION_COOKIE_DOMAIN - value: .pikapython.com - - name: HWLAB_SESSION_COOKIE_SAMESITE - value: None - - name: HWLAB_BOOTSTRAP_ADMIN_ID - value: usr_v03_admin - - name: HWLAB_BOOTSTRAP_ADMIN_USERNAME - value: admin - - name: HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME - value: HWLAB v0.3 Admin - - name: HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID - value: key_master_server_admin - - name: HWLAB_BOOTSTRAP_ADMIN_API_KEY - valueFrom: - secretKeyRef: - name: hwlab-v03-master-server-admin-api-key - key: api-key - optional: true - - name: HWLAB_USER_BILLING_URL - value: http://hwlab-user-billing.hwlab-v03.svc.cluster.local:6670 - - name: HWLAB_WORKBENCH_RUNTIME_URL - value: http://hwlab-workbench-runtime.hwlab-v03.svc.cluster.local:6671 - - name: HWLAB_PROJECT_MANAGEMENT_URL - value: http://hwlab-project-management.hwlab-v03.svc.cluster.local:6672 - - name: HWLAB_HWPOD_SPEC_REGISTRY_DIRS - value: /etc/hwlab/hwpod-specs - - name: HWLAB_USER_BILLING_LOGIN_RETRY_ATTEMPTS - value: "2" - - name: HWLAB_USER_BILLING_LOGIN_RETRY_DELAY_MS - value: "250" - - name: HWLAB_USER_BILLING_CODE_AGENT_ENABLED - value: "1" - - name: HWLAB_USER_BILLING_CODE_AGENT_ESTIMATED_CREDITS - value: "1" - - name: HWLAB_USER_BILLING_CODE_AGENT_USED_CREDITS - value: "1" - - name: HWLAB_KEYCLOAK_ISSUER - value: https://auth.74-48-78-17.nip.io/realms/hwlab - - name: HWLAB_KEYCLOAK_CLIENT_ID - value: hwlab-cloud-web - - name: HWLAB_KEYCLOAK_CLIENT_SECRET - valueFrom: - secretKeyRef: - name: hwlab-cloud-web-client - key: client-secret - optional: true - - name: HWLAB_CODE_AGENT_ADAPTER - value: agentrun-v02 - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-cloud-api - - name: AGENTRUN_MGR_URL - value: http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080 - - name: AGENTRUN_API_KEY - valueFrom: - secretKeyRef: - name: hwlab-v03-master-server-admin-api-key - key: api-key - - name: HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE - value: agentrun-v02 - - name: HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE - value: agentrun-v02 - - name: HWLAB_CODE_AGENT_AGENTRUN_REPO_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_ENABLED - value: "1" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_TTL_MS - value: "600000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_INTERVAL_MS - value: "60000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_INITIAL_DELAY_MS - value: "5000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_BATCH_SIZE - value: "100" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_JITTER_MS - value: "15000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_FAILURE_BACKOFF_MS - value: "120000" - - name: HWLAB_SECRET_PLANE_SMOKE - valueFrom: - secretKeyRef: - name: hwlab-secret-plane-smoke - key: password - optional: true - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-cloud-api.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 03519eb7294275aaefd9a512f2973bf76608bffe0cc4dabf242049e3be07b059 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_WORKBENCH_SSE_DRAIN_TIMEOUT_MS - value: "2500" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID - value: NC01 - - name: HWLAB_OPENFGA_MODE - value: enforce - - name: HWLAB_OPENFGA_API_URL - value: http://hwlab-openfga.hwlab-v03.svc.cluster.local:8080 - - name: HWLAB_OPENFGA_AUTHN_TOKEN - valueFrom: - secretKeyRef: - name: hwlab-v03-openfga - key: authn-preshared-key - optional: true - - name: UNIDESK_MAIN_SERVER_IP - value: http://74.48.78.17:18081 - - name: HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR - value: repo-owned - readinessProbe: - httpGet: - path: /health/live - port: http - timeoutSeconds: 3 - failureThreshold: 5 - livenessProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 20 - timeoutSeconds: 5 - failureThreshold: 6 - volumeMounts: - - name: hwlab-user-skills - mountPath: /data/user-skills - - name: hwpod-preinstalled-specs - mountPath: /etc/hwlab/hwpod-specs - readOnly: true - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 10 - timeoutSeconds: 3 - failureThreshold: 30 - successThreshold: 1 - lifecycle: - preStop: - exec: - command: - - sh - - -c - - "port=\"${PORT:-${HWLAB_PORT:-${HWLAB_CLOUD_API_PORT:-6\ - 667}}}\"; - url=\"http://127.0.0.1:${port}/v1/internal/workbench/dr\ - ain\"; /usr/local/bin/bun -e 'const [url, hostname] = - process.argv.slice(2); await fetch(url, { method: - \"POST\", headers: { \"x-hwlab-drain-hostname\": - hostname || \"\" } }).catch(() => {});' \"$url\" - \"${HOSTNAME:-}\" >/dev/null 2>&1 || true; sleep 3" - - name: hwlab-codex-api-forwarder - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: codex-api - containerPort: 49280 - env: - - name: HWLAB_CODE_AGENT_CODEX_API_FORWARDER_HOST - value: 127.0.0.1 - - name: HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT - value: "49280" - - name: HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL - value: https://hyueapi.com - - name: NO_PROXY - value: hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com - - name: no_proxy - value: hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com - - name: HWLAB_M3_IO_CONTROL_ENABLED - value: "false" - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_PUBLIC_ENDPOINT - value: https://hwlab.pikapython.com - - name: HWLAB_CLOUD_API_PORT - value: "6667" - - name: HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN - value: unidesk-backend,provider-gateway,microservice-proxy - - name: HWLAB_CLOUD_DB_URL - valueFrom: - secretKeyRef: - name: hwlab-cloud-api-v03-db - key: database-url - optional: true - - name: HWLAB_CLOUD_DB_SSL_MODE - value: require - - name: HWLAB_CLOUD_DB_CONTRACT - value: v03-redacted-presence-only - - name: HWLAB_CLOUD_RUNTIME_ADAPTER - value: postgres - - name: HWLAB_CLOUD_RUNTIME_DURABLE - value: "true" - - name: HWLAB_CODE_AGENT_TIMEOUT_MS - value: "1200000" - - name: HWLAB_CODE_AGENT_SKILLS_DIRS - value: /app/skills:/data/user-skills - - name: HWLAB_PREINSTALLED_SKILLS_DIR - value: /app/skills - - name: HWLAB_USER_SKILLS_DIR - value: /data/user-skills - - name: HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE - value: dsflash-go - - name: HWLAB_CODE_AGENT_DEEPSEEK_MODEL - value: deepseek-chat - - name: HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL - value: http://hwlab-deepseek-proxy.hwlab-v03.svc.cluster.local:4000/v1/responses - - name: HWLAB_CODE_AGENT_CODEX_API_MODEL - value: gpt-5.5 - - name: HWLAB_CODE_AGENT_CODEX_API_BASE_URL - value: http://127.0.0.1:49280/responses - - name: TZ - value: Asia/Shanghai - - name: HWLAB_METRICS_NAMESPACE - value: hwlab-v03 - - name: HWLAB_OBSERVABILITY_CONFIG_REVISION - value: PJ2026-01060505-20260619-long-trace-timeout-mitigation - - name: HWLAB_CODE_AGENT_TURN_STATUS_REFRESH_TIMEOUT_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_NO_RESPONSE_TIMEOUT_MS - value: "600000" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX - value: "5" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_BASE_MS - value: "1000" - - name: HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX_DELAY_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_SYNC_POLL_INTERVAL_MS - value: "1000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_ENABLED - value: "1" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INITIAL_DELAY_MS - value: "5000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INTERVAL_MS - value: "60000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_MIN_AGE_MS - value: "30000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_BATCH_SIZE - value: "100" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_JITTER_MS - value: "15000" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_FAILURE_BACKOFF_MS - value: "120000" - - name: HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH - valueFrom: - secretKeyRef: - name: hwlab-v03-bootstrap-admin - key: password-hash - optional: true - - name: HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH - valueFrom: - secretKeyRef: - name: hwlab-v03-preset-users - key: huiggao-password-hash - optional: true - - name: HWLAB_ACCESS_CONTROL_USERS_JSON - value: '[{"id":"usr_v03_admin","username":"admin","displayName":"HWLAB v0.3 - Admin","email":null,"role":"admin","status":"active","navProfile":"admin-full","passwordHashEnv":"HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH"},{"id":"usr_v03_huiggao","username":"huiggao@163.com","displayName":"huiggao@163.com","email":"huiggao@163.com","role":"user","status":"active","navProfile":"code-mdtodo-only","passwordHashEnv":"HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH"}]' - - name: HWLAB_ACCESS_CONTROL_NAV_PROFILES_JSON - value: '[{"id":"admin-full","displayName":"Admin full - access","allowedIds":["*"]},{"id":"code-mdtodo-only","displayName":"Code - and MDTODO - only","allowedIds":["workbench.code","project.mdtodo"]}]' - - name: HWLAB_CLOUD_DB_POOL_MAX - value: "16" - - name: HWLAB_WORKBENCH_RUNTIME_TIMEOUT_MS - value: "3000" - - name: HWLAB_WORKBENCH_FACTS_QUERY_MAX_ATTEMPTS - value: "1" - - name: HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_BASE_MS - value: "0" - - name: HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_MAX_MS - value: "1" - - name: HWLAB_ACCESS_CONTROL_REQUIRED - value: "1" - - name: HWLAB_SESSION_COOKIE_DOMAIN - value: .pikapython.com - - name: HWLAB_SESSION_COOKIE_SAMESITE - value: None - - name: HWLAB_BOOTSTRAP_ADMIN_ID - value: usr_v03_admin - - name: HWLAB_BOOTSTRAP_ADMIN_USERNAME - value: admin - - name: HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME - value: HWLAB v0.3 Admin - - name: HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID - value: key_master_server_admin - - name: HWLAB_BOOTSTRAP_ADMIN_API_KEY - valueFrom: - secretKeyRef: - name: hwlab-v03-master-server-admin-api-key - key: api-key - optional: true - - name: HWLAB_USER_BILLING_URL - value: http://hwlab-user-billing.hwlab-v03.svc.cluster.local:6670 - - name: HWLAB_WORKBENCH_RUNTIME_URL - value: http://hwlab-workbench-runtime.hwlab-v03.svc.cluster.local:6671 - - name: HWLAB_PROJECT_MANAGEMENT_URL - value: http://hwlab-project-management.hwlab-v03.svc.cluster.local:6672 - - name: HWLAB_HWPOD_SPEC_REGISTRY_DIRS - value: /etc/hwlab/hwpod-specs - - name: HWLAB_USER_BILLING_LOGIN_RETRY_ATTEMPTS - value: "2" - - name: HWLAB_USER_BILLING_LOGIN_RETRY_DELAY_MS - value: "250" - - name: HWLAB_USER_BILLING_CODE_AGENT_ENABLED - value: "1" - - name: HWLAB_USER_BILLING_CODE_AGENT_ESTIMATED_CREDITS - value: "1" - - name: HWLAB_USER_BILLING_CODE_AGENT_USED_CREDITS - value: "1" - - name: HWLAB_KEYCLOAK_ISSUER - value: https://auth.74-48-78-17.nip.io/realms/hwlab - - name: HWLAB_KEYCLOAK_CLIENT_ID - value: hwlab-cloud-web - - name: HWLAB_KEYCLOAK_CLIENT_SECRET - valueFrom: - secretKeyRef: - name: hwlab-cloud-web-client - key: client-secret - optional: true - - name: HWLAB_CODE_AGENT_ADAPTER - value: agentrun-v02 - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-cloud-api - - name: AGENTRUN_MGR_URL - value: http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080 - - name: AGENTRUN_API_KEY - valueFrom: - secretKeyRef: - name: hwlab-v03-master-server-admin-api-key - key: api-key - optional: true - - name: HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE - value: agentrun-v02 - - name: HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE - value: agentrun-v02 - - name: HWLAB_CODE_AGENT_AGENTRUN_REPO_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_ENABLED - value: "1" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_TTL_MS - value: "600000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_INTERVAL_MS - value: "60000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_INITIAL_DELAY_MS - value: "5000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_BATCH_SIZE - value: "100" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_JITTER_MS - value: "15000" - - name: HWLAB_WORKBENCH_EMPTY_SESSION_GC_FAILURE_BACKOFF_MS - value: "120000" - - name: HWLAB_SECRET_PLANE_SMOKE - valueFrom: - secretKeyRef: - name: hwlab-secret-plane-smoke - key: password - optional: true - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-codex-api-responses-forwarder.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 03519eb7294275aaefd9a512f2973bf76608bffe0cc4dabf242049e3be07b059 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_WORKBENCH_SSE_DRAIN_TIMEOUT_MS - value: "2500" - - name: HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID - value: NC01 - - name: HWLAB_OPENFGA_MODE - value: enforce - - name: HWLAB_OPENFGA_API_URL - value: http://hwlab-openfga.hwlab-v03.svc.cluster.local:8080 - - name: HWLAB_OPENFGA_AUTHN_TOKEN - valueFrom: - secretKeyRef: - name: hwlab-v03-openfga - key: authn-preshared-key - optional: true - - name: UNIDESK_MAIN_SERVER_IP - value: http://74.48.78.17:18081 - - name: HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR - value: repo-owned - readinessProbe: - exec: - command: - - node - - -e - - "fetch('http://127.0.0.1:49280/health/readiness').then((r\ - esponse) => process.exit(response.ok ? 0 : 1)).catch(() => - process.exit(1))" - timeoutSeconds: 2 - livenessProbe: - exec: - command: - - node - - -e - - "fetch('http://127.0.0.1:49280/health/live').then((respon\ - se) => process.exit(response.ok ? 0 : 1)).catch(() => - process.exit(1))" - timeoutSeconds: 2 - volumeMounts: - - name: hwpod-preinstalled-specs - mountPath: /etc/hwlab/hwpod-specs - readOnly: true - imagePullPolicy: IfNotPresent - startupProbe: - exec: - command: - - node - - -e - - "fetch('http://127.0.0.1:49280/health/readiness').then((r\ - esponse) => process.exit(response.ok ? 0 : 1)).catch(() => - process.exit(1))" - timeoutSeconds: 2 - periodSeconds: 10 - failureThreshold: 30 - successThreshold: 1 - lifecycle: - preStop: - exec: - command: - - sh - - -c - - "port=\"${PORT:-${HWLAB_PORT:-${HWLAB_CLOUD_API_PORT:-6\ - 667}}}\"; - url=\"http://127.0.0.1:${port}/v1/internal/workbench/dr\ - ain\"; /usr/local/bin/bun -e 'const [url, hostname] = - process.argv.slice(2); await fetch(url, { method: - \"POST\", headers: { \"x-hwlab-drain-hostname\": - hostname || \"\" } }).catch(() => {});' \"$url\" - \"${HOSTNAME:-}\" >/dev/null 2>&1 || true; sleep 3" - volumes: - - name: hwlab-user-skills - persistentVolumeClaim: - claimName: hwlab-user-skills - - name: hwpod-preinstalled-specs - configMap: - name: hwlab-v03-hwpod-preinstalled-specs - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-user-billing - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-user-billing - hwlab.pikastech.local/service-id: hwlab-user-billing - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-user-billing - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-user-billing - hwlab.pikastech.local/service-id: hwlab-user-billing - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-user-billing.sh - hwlab.pikastech.local/environment-digest: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - hwlab.pikastech.local/environment-input-hash: 6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445 - hwlab.pikastech.local/code-input-hash: 09a0983dcc5525d93de6ab636a9de686739625d5549f108f366c44cae7835d69 - spec: - containers: - - name: hwlab-user-billing - image: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - ports: - - name: http - containerPort: 6670 - env: - - name: HWLAB_USER_BILLING_PORT - value: "6670" - - name: HWLAB_USER_BILLING_STATE_AUTHORITY - value: pk01-postgres - - name: HWLAB_USER_BILLING_STATELESS - value: "true" - - name: TZ - value: Asia/Shanghai - - name: HWLAB_USER_BILLING_DB_URL - valueFrom: - secretKeyRef: - name: hwlab-cloud-api-v03-db - key: database-url - optional: true - - name: HWLAB_USER_BILLING_DB_POOL_MAX - value: "2" - - name: HWLAB_USER_BILLING_MIGRATION_TIMEOUT_SECONDS - value: "180" - - name: HWLAB_USER_BILLING_BOOTSTRAP_TIMEOUT_SECONDS - value: "60" - - name: HWLAB_BOOTSTRAP_ADMIN_ID - value: usr_v03_admin - - name: HWLAB_BOOTSTRAP_ADMIN_USERNAME - value: admin - - name: HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME - value: HWLAB v0.3 Admin - - name: HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH - valueFrom: - secretKeyRef: - name: hwlab-v03-bootstrap-admin - key: password-hash - optional: true - - name: HWLAB_USER_BILLING_EXTERNAL_DB_LABEL - value: pk01-external-postgres - - name: HWLAB_USER_BILLING_REGISTRATION_ENABLED - value: "1" - - name: HWLAB_USER_BILLING_INITIAL_CREDITS - value: "0" - - name: HWLAB_USER_BILLING_CREDIT_PER_1K_TOKENS - value: "1" - - name: HWLAB_USER_BILLING_MIGRATE_ON_START - value: "1" - - name: HWLAB_USER_BILLING_REDIS_URL - value: redis://hwlab-user-billing-redis.hwlab-v03.svc.cluster.local:6379/0 - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-user-billing - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - - name: HWLAB_IMAGE_TAG - value: env-6d50571be334 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-user-billing.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445 - - name: HWLAB_CODE_INPUT_HASH - value: 09a0983dcc5525d93de6ab636a9de686739625d5549f108f366c44cae7835d69 - - name: HWLAB_IMAGE_DIGEST - value: sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243 - readinessProbe: - httpGet: - path: /health/ready - port: http - timeoutSeconds: 10 - failureThreshold: 5 - livenessProbe: - httpGet: - path: /health/live - port: http - timeoutSeconds: 5 - failureThreshold: 6 - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/ready - port: http - periodSeconds: 10 - timeoutSeconds: 10 - failureThreshold: 30 - successThreshold: 1 - volumes: [] - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-cloud-web - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-cloud-web - hwlab.pikastech.local/service-id: hwlab-cloud-web - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-cloud-web - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-cloud-web - hwlab.pikastech.local/service-id: hwlab-cloud-web - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-cloud-web.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: 2f028ec847be1500ca51bb9f92f6a2bbcce682c04b7138f79682a0fb1cb637d3 - spec: - containers: - - name: hwlab-cloud-web - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 8080 - env: - - name: HWLAB_API_BASE_URL - value: http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667 - - name: HWLAB_CLOUD_WEB_PROXY_TIMEOUT_MS - value: "1260000" - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_CLOUD_WEB_DISPLAY_TIME_ZONE - value: Asia/Shanghai - - name: HWLAB_CLOUD_WEB_DISPLAY_TIME_LOCALE - value: zh-CN - - name: HWLAB_CLOUD_WEB_DISPLAY_TIME_LABEL - value: 北京时间 - - name: HWLAB_CLOUD_WEB_OPENCODE_UPSTREAM_URL - value: http://opencode-server.hwlab-v03.svc.cluster.local:4096 - - name: HWLAB_CLOUD_WEB_OPENCODE_USERNAME - valueFrom: - secretKeyRef: - name: hwlab-v03-opencode-server-auth - key: username - optional: true - - name: HWLAB_CLOUD_WEB_OPENCODE_PASSWORD - valueFrom: - secretKeyRef: - name: hwlab-v03-opencode-server-auth - key: password - optional: true - - name: HWLAB_CLOUD_WEB_OPENCODE_DEFAULT_PROJECT - value: /workspace - - name: HWLAB_CLOUD_WEB_OPENCODE_EVENT_DIRECTORY_FROM - value: /workspace - - name: HWLAB_CLOUD_WEB_OPENCODE_EVENT_DIRECTORY_TO - value: / - - name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT - value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces - - name: OTEL_SERVICE_NAME - value: hwlab-cloud-web - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-cloud-web.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 2f028ec847be1500ca51bb9f92f6a2bbcce682c04b7138f79682a0fb1cb637d3 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_PUBLIC_ENDPOINT - value: https://hwlab.pikapython.com - - name: HWLAB_WORKBENCH_TRACE_AUTO_EXPAND_RUNNING - value: "0" - - name: HWLAB_WORKBENCH_TRACE_AUTO_COLLAPSE_TERMINAL - value: "0" - readinessProbe: - httpGet: - path: /health/live - port: http - livenessProbe: - httpGet: - path: /health/live - port: http - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 10 - timeoutSeconds: 2 - failureThreshold: 30 - successThreshold: 1 - volumes: [] - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-gateway - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-gateway - hwlab.pikastech.local/service-id: hwlab-gateway - hwlab.pikastech.local/activation: manual - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - unidesk.ai/node-staging: "false" - annotations: - hwlab.pikastech.local/gitops-note: node DEV GitOps target. - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 0 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-gateway - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-gateway - hwlab.pikastech.local/service-id: hwlab-gateway - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-gateway.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: 25f753b252593891ed7b03b53a69d266e7a324728cf83fea8654bab4196fa399 - spec: - containers: - - name: hwlab-gateway - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 7001 - env: - - name: HWLAB_GATEWAY_MODE - value: hardware-boundary - - name: HWLAB_ENVIRONMENT - value: v03 - - name: TZ - value: Asia/Shanghai - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-gateway.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 25f753b252593891ed7b03b53a69d266e7a324728cf83fea8654bab4196fa399 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - readinessProbe: - httpGet: - path: /health/live - port: http - livenessProbe: - httpGet: - path: /health/live - port: http - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 10 - timeoutSeconds: 2 - failureThreshold: 30 - successThreshold: 1 - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-edge-proxy - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-edge-proxy - hwlab.pikastech.local/service-id: hwlab-edge-proxy - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-edge-proxy - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-edge-proxy - hwlab.pikastech.local/service-id: hwlab-edge-proxy - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-edge-proxy.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: c97d19939c872e128a6931bdf73f28a75a684948a76a2b1af37508dd47481544 - spec: - containers: - - name: hwlab-edge-proxy - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 6667 - env: - - name: HWLAB_EDGE_LISTEN - value: 0.0.0.0:6667 - - name: HWLAB_EDGE_UPSTREAM - value: http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667 - - name: HWLAB_EDGE_PROXY_TIMEOUT_MS - value: "1260000" - - name: HWLAB_EDGE_IDLE_TIMEOUT_SECONDS - value: "120" - - name: TZ - value: Asia/Shanghai - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-edge-proxy.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: c97d19939c872e128a6931bdf73f28a75a684948a76a2b1af37508dd47481544 - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_PUBLIC_ENDPOINT - value: https://hwlab.pikapython.com - readinessProbe: - httpGet: - path: /health - port: http - timeoutSeconds: 3 - failureThreshold: 5 - livenessProbe: - httpGet: - path: /health - port: http - periodSeconds: 20 - timeoutSeconds: 5 - failureThreshold: 6 - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 10 - timeoutSeconds: 3 - failureThreshold: 30 - successThreshold: 1 - volumes: [] - - apiVersion: apps/v1 - kind: Deployment - metadata: - name: hwlab-agent-skills - namespace: hwlab-v03 - labels: - app.kubernetes.io/name: hwlab-agent-skills - hwlab.pikastech.local/service-id: hwlab-agent-skills - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - 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: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: hwlab-agent-skills - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - template: - metadata: - labels: - app.kubernetes.io/name: hwlab-agent-skills - hwlab.pikastech.local/service-id: hwlab-agent-skills - app.kubernetes.io/part-of: hwlab - hwlab.pikastech.local/environment: v03 - hwlab.pikastech.local/profile: v03 - hwlab.pikastech.local/gitops-target: v03 - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/monitoring: disabled - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - annotations: - hwlab.pikastech.local/gitops-render-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/artifact-source-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs - hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout - hwlab.pikastech.local/boot-repo: git@github.com:pikasTech/HWLAB.git - hwlab.pikastech.local/boot-commit: 37239ccff43fb49f1669393bfeda0fc8cf16407d - hwlab.pikastech.local/boot-sh: deploy/runtime/boot/hwlab-agent-skills.sh - hwlab.pikastech.local/environment-digest: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - hwlab.pikastech.local/environment-input-hash: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - hwlab.pikastech.local/code-input-hash: 369ca524ae4010fb5d9adfd30b4290808a035804b4674755bc193fee743f3d5a - spec: - containers: - - name: hwlab-agent-skills - image: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - ports: - - name: http - containerPort: 7430 - env: - - name: HWLAB_SKILLS_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: TZ - value: Asia/Shanghai - - name: HWLAB_ENVIRONMENT - value: v03 - - name: HWLAB_COMMIT_ID - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_IMAGE_TAG - value: env-6ef8ca3abf22 - - name: HWLAB_GITOPS_TARGET - value: v03 - - name: HWLAB_GITOPS_PROFILE - value: v03 - - name: HWLAB_GITOPS_SOURCE_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_RUNTIME_MODE - value: env-reuse-git-mirror-checkout - - name: HWLAB_BOOT_REPO - value: git@github.com:pikasTech/HWLAB.git - - name: HWLAB_BOOT_COMMIT - value: 37239ccff43fb49f1669393bfeda0fc8cf16407d - - name: HWLAB_BOOT_REF - value: v0.3 - - name: HWLAB_BOOT_SH - value: deploy/runtime/boot/hwlab-agent-skills.sh - - name: HWLAB_BOOT_READ_URL - value: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git - - name: HWLAB_ENVIRONMENT_IMAGE - value: 127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22 - - name: HWLAB_ENVIRONMENT_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - - name: HWLAB_ENVIRONMENT_INPUT_HASH - value: 6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93 - - name: HWLAB_CODE_INPUT_HASH - value: 369ca524ae4010fb5d9adfd30b4290808a035804b4674755bc193fee743f3d5a - - name: HWLAB_IMAGE_DIGEST - value: sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967 - readinessProbe: - httpGet: - path: /health/live - port: http - livenessProbe: - httpGet: - path: /health/live - port: http - imagePullPolicy: IfNotPresent - startupProbe: - httpGet: - path: /health/live - port: http - periodSeconds: 10 - timeoutSeconds: 2 - failureThreshold: 30 - successThreshold: 1 - volumes: [] +{ + "apiVersion": "v1", + "kind": "List", + "items": [ + { + "apiVersion": "v1", + "kind": "PersistentVolumeClaim", + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-user-skills", + "hwlab.pikastech.local/service-id": "hwlab-user-skills", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "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": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "accessModes": [ + "ReadWriteOnce" + ], + "resources": { + "requests": { + "storage": "2Gi" + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-project-management", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-project-management", + "hwlab.pikastech.local/service-id": "hwlab-project-management", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-project-management", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-project-management", + "hwlab.pikastech.local/service-id": "hwlab-project-management", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-project-management.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "4cbd4e24c3020037d215271ed248ac38d5a1c385855443ffe5c112b1a04118f6" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-project-management", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 6672 + } + ], + "env": [ + { + "name": "HWLAB_PROJECT_MANAGEMENT_PORT", + "value": "6672" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_DB_URL", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-api-v03-db", + "key": "database-url", + "optional": true + } + } + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_DB_CONNECT_TIMEOUT_MS", + "value": "5000" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_SOURCE_ROOT", + "value": "/workspace/hwlab-boot/repo" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_SOURCE_ID", + "value": "hwlab-v03-mdtodo" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_SOURCE_NAME", + "value": "HWLAB v0.3 MDTODO" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_PROJECT_ID", + "value": "project_hwlab_v03" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_MDTODO_TASK_DEFAULT_LIMIT", + "value": "200" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_MDTODO_TASK_MAX_LIMIT", + "value": "500" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_HWPOD_NODE_OPS_URL", + "value": "http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667/v1/hwpod-node-ops" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_HWPOD_NODE_OPS_API_KEY", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-master-server-admin-api-key", + "key": "api-key", + "optional": true + } + } + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_BOOTSTRAP_SOURCES_PATH", + "value": "/etc/hwlab/project-management/sources.json" + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-project-management" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-project-management.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "4cbd4e24c3020037d215271ed248ac38d5a1c385855443ffe5c112b1a04118f6" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "timeoutSeconds": 10, + "failureThreshold": 5 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "timeoutSeconds": 5, + "failureThreshold": 6 + }, + "imagePullPolicy": "IfNotPresent", + "volumeMounts": [ + { + "name": "project-management-bootstrap", + "mountPath": "/etc/hwlab/project-management", + "readOnly": true + } + ], + "startupProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 10, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-project-management" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:6672/health/ready" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + }, + { + "name": "project-management-bootstrap", + "configMap": { + "name": "hwlab-v03-project-management-bootstrap" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-workbench-runtime", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-runtime", + "hwlab.pikastech.local/service-id": "hwlab-workbench-runtime", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-workbench-runtime", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-workbench-runtime", + "hwlab.pikastech.local/service-id": "hwlab-workbench-runtime", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-workbench-runtime.sh", + "hwlab.pikastech.local/environment-digest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", + "hwlab.pikastech.local/environment-input-hash": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445", + "hwlab.pikastech.local/code-input-hash": "e242d6bce649c8422e458fc30b3e3ef00721b15d067c7f55f9898b2771b83838" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-workbench-runtime", + "image": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", + "ports": [ + { + "name": "http", + "containerPort": 6671 + } + ], + "env": [ + { + "name": "HWLAB_WORKBENCH_RUNTIME_PORT", + "value": "6671" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_MAX_ATTEMPTS", + "value": "1" + }, + { + "name": "HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_ATTEMPT_TIMEOUT_MS", + "value": "10000" + }, + { + "name": "HWLAB_WORKBENCH_SESSIONS_SUMMARY_QUERY_BACKOFF_MS", + "value": "0" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_DB_POOL_MAX", + "value": "16" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_QUERY_TIMEOUT_MS", + "value": "10000" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_READY_TIMEOUT_MS", + "value": "10000" + }, + { + "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": { + "name": "hwlab-cloud-api-v03-db", + "key": "database-url", + "optional": true + } + } + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-workbench-runtime" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6d50571be334" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-workbench-runtime.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "e242d6bce649c8422e458fc30b3e3ef00721b15d067c7f55f9898b2771b83838" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "timeoutSeconds": 10, + "failureThreshold": 5 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "timeoutSeconds": 5, + "failureThreshold": 6 + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 10, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-workbench-runtime" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:6671/health/ready" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-cloud-api", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-cloud-api", + "hwlab.pikastech.local/service-id": "hwlab-cloud-api", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-cloud-api", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-cloud-api", + "hwlab.pikastech.local/service-id": "hwlab-cloud-api", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-api.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "e2f975516ef74c41b53d1f93b22ce0bdb33d904f740e1d6738c170ab36c50fbe" + } + }, + "spec": { + "initContainers": [], + "containers": [ + { + "name": "hwlab-cloud-api", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 6667 + } + ], + "env": [ + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_PUBLIC_ENDPOINT", + "value": "https://hwlab.pikapython.com" + }, + { + "name": "HWLAB_CLOUD_API_PORT", + "value": "6667" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN", + "value": "unidesk-backend,provider-gateway,microservice-proxy" + }, + { + "name": "HWLAB_CLOUD_DB_URL", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-api-v03-db", + "key": "database-url", + "optional": true + } + } + }, + { + "name": "HWLAB_CLOUD_DB_SSL_MODE", + "value": "require" + }, + { + "name": "HWLAB_CLOUD_DB_CONTRACT", + "value": "v03-redacted-presence-only" + }, + { + "name": "HWLAB_CLOUD_RUNTIME_ADAPTER", + "value": "postgres" + }, + { + "name": "HWLAB_CLOUD_RUNTIME_DURABLE", + "value": "true" + }, + { + "name": "HWLAB_M3_IO_CONTROL_ENABLED", + "value": "false" + }, + { + "name": "HWLAB_CODE_AGENT_TIMEOUT_MS", + "value": "1200000" + }, + { + "name": "NO_PROXY", + "value": "hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com" + }, + { + "name": "no_proxy", + "value": "hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com" + }, + { + "name": "HWLAB_CODE_AGENT_SKILLS_DIRS", + "value": "/app/skills:/data/user-skills" + }, + { + "name": "HWLAB_PREINSTALLED_SKILLS_DIR", + "value": "/app/skills" + }, + { + "name": "HWLAB_USER_SKILLS_DIR", + "value": "/data/user-skills" + }, + { + "name": "HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE", + "value": "dsflash-go" + }, + { + "name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL", + "value": "deepseek-chat" + }, + { + "name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL", + "value": "http://hwlab-deepseek-proxy.hwlab-v03.svc.cluster.local:4000/v1/responses" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_MODEL", + "value": "gpt-5.5" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_BASE_URL", + "value": "http://127.0.0.1:49280/responses" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL", + "value": "https://hyueapi.com" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT", + "value": "49280" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_OBSERVABILITY_CONFIG_REVISION", + "value": "PJ2026-01060505-20260619-long-trace-timeout-mitigation" + }, + { + "name": "HWLAB_CODE_AGENT_TURN_STATUS_REFRESH_TIMEOUT_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_NO_RESPONSE_TIMEOUT_MS", + "value": "600000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX", + "value": "5" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_BASE_MS", + "value": "1000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX_DELAY_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_SYNC_POLL_INTERVAL_MS", + "value": "1000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INITIAL_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INTERVAL_MS", + "value": "60000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_MIN_AGE_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_BATCH_SIZE", + "value": "100" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_JITTER_MS", + "value": "15000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_FAILURE_BACKOFF_MS", + "value": "120000" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-bootstrap-admin", + "key": "password-hash", + "optional": true + } + } + }, + { + "name": "HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-preset-users", + "key": "huiggao-password-hash", + "optional": true + } + } + }, + { + "name": "HWLAB_ACCESS_CONTROL_USERS_JSON", + "value": "[{\"id\":\"usr_v03_admin\",\"username\":\"admin\",\"displayName\":\"HWLAB v0.3 Admin\",\"email\":null,\"role\":\"admin\",\"status\":\"active\",\"navProfile\":\"admin-full\",\"passwordHashEnv\":\"HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH\"},{\"id\":\"usr_v03_huiggao\",\"username\":\"huiggao@163.com\",\"displayName\":\"huiggao@163.com\",\"email\":\"huiggao@163.com\",\"role\":\"user\",\"status\":\"active\",\"navProfile\":\"code-mdtodo-only\",\"passwordHashEnv\":\"HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH\"}]" + }, + { + "name": "HWLAB_ACCESS_CONTROL_NAV_PROFILES_JSON", + "value": "[{\"id\":\"admin-full\",\"displayName\":\"Admin full access\",\"allowedIds\":[\"*\"]},{\"id\":\"code-mdtodo-only\",\"displayName\":\"Code and MDTODO only\",\"allowedIds\":[\"workbench.code\",\"project.mdtodo\"]}]" + }, + { + "name": "HWLAB_CLOUD_DB_POOL_MAX", + "value": "4" + }, + { + "name": "HWLAB_CLOUD_DB_PROBE_TIMEOUT_MS", + "value": "5000" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_TIMEOUT_MS", + "value": "3000" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_MAX_ATTEMPTS", + "value": "5" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_INITIAL_DELAY_MS", + "value": "250" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_MAX_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_TIMEOUT_MS", + "value": "3000" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_MAX_ATTEMPTS", + "value": "1" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_BASE_MS", + "value": "0" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_MAX_MS", + "value": "1" + }, + { + "name": "HWLAB_ACCESS_CONTROL_REQUIRED", + "value": "1" + }, + { + "name": "HWLAB_SESSION_COOKIE_DOMAIN", + "value": ".pikapython.com" + }, + { + "name": "HWLAB_SESSION_COOKIE_SAMESITE", + "value": "None" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_ID", + "value": "usr_v03_admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME", + "value": "admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME", + "value": "HWLAB v0.3 Admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID", + "value": "key_master_server_admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-master-server-admin-api-key", + "key": "api-key", + "optional": true + } + } + }, + { + "name": "HWLAB_USER_BILLING_URL", + "value": "http://hwlab-user-billing.hwlab-v03.svc.cluster.local:6670" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_URL", + "value": "http://hwlab-workbench-runtime.hwlab-v03.svc.cluster.local:6671" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_URL", + "value": "http://hwlab-project-management.hwlab-v03.svc.cluster.local:6672" + }, + { + "name": "HWLAB_HWPOD_SPEC_REGISTRY_DIRS", + "value": "/etc/hwlab/hwpod-specs" + }, + { + "name": "HWLAB_USER_BILLING_LOGIN_RETRY_ATTEMPTS", + "value": "2" + }, + { + "name": "HWLAB_USER_BILLING_LOGIN_RETRY_DELAY_MS", + "value": "250" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_ESTIMATED_CREDITS", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_USED_CREDITS", + "value": "1" + }, + { + "name": "HWLAB_KEYCLOAK_ISSUER", + "value": "https://auth.74-48-78-17.nip.io/realms/hwlab" + }, + { + "name": "HWLAB_KEYCLOAK_CLIENT_ID", + "value": "hwlab-cloud-web" + }, + { + "name": "HWLAB_KEYCLOAK_CLIENT_SECRET", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-web-client", + "key": "client-secret", + "optional": true + } + } + }, + { + "name": "HWLAB_CODE_AGENT_ADAPTER", + "value": "agentrun-v02" + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-cloud-api" + }, + { + "name": "AGENTRUN_MGR_URL", + "value": "http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080" + }, + { + "name": "AGENTRUN_API_KEY", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-master-server-admin-api-key", + "key": "api-key", + "optional": true + } + } + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE", + "value": "agentrun-v02" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE", + "value": "agentrun-v02" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_TTL_MS", + "value": "600000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_INTERVAL_MS", + "value": "60000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_INITIAL_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_BATCH_SIZE", + "value": "100" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_JITTER_MS", + "value": "15000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_FAILURE_BACKOFF_MS", + "value": "120000" + }, + { + "name": "HWLAB_SECRET_PLANE_SMOKE", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-secret-plane-smoke", + "key": "password", + "optional": true + } + } + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-cloud-api.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "e2f975516ef74c41b53d1f93b22ce0bdb33d904f740e1d6738c170ab36c50fbe" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_WORKBENCH_SSE_DRAIN_TIMEOUT_MS", + "value": "2500" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID", + "value": "NC01" + }, + { + "name": "HWLAB_OPENFGA_MODE", + "value": "enforce" + }, + { + "name": "HWLAB_OPENFGA_API_URL", + "value": "http://hwlab-openfga.hwlab-v03.svc.cluster.local:8080" + }, + { + "name": "HWLAB_OPENFGA_AUTHN_TOKEN", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-openfga", + "key": "authn-preshared-key", + "optional": true + } + } + }, + { + "name": "UNIDESK_MAIN_SERVER_IP", + "value": "http://74.48.78.17:18081" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR", + "value": "repo-owned" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "timeoutSeconds": 3, + "failureThreshold": 5 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 20, + "timeoutSeconds": 5, + "failureThreshold": 6 + }, + "volumeMounts": [ + { + "name": "hwlab-user-skills", + "mountPath": "/data/user-skills" + }, + { + "name": "hwpod-preinstalled-specs", + "mountPath": "/etc/hwlab/hwpod-specs", + "readOnly": true + } + ], + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 3, + "failureThreshold": 30, + "successThreshold": 1 + }, + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "sh", + "-c", + "port=\"${PORT:-${HWLAB_PORT:-${HWLAB_CLOUD_API_PORT:-6667}}}\"; url=\"http://127.0.0.1:${port}/v1/internal/workbench/drain\"; /usr/local/bin/bun -e 'const [url, hostname] = process.argv.slice(2); await fetch(url, { method: \"POST\", headers: { \"x-hwlab-drain-hostname\": hostname || \"\" } }).catch(() => {});' \"$url\" \"${HOSTNAME:-}\" >/dev/null 2>&1 || true; sleep 3" + ] + } + } + } + }, + { + "name": "hwlab-codex-api-forwarder", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "codex-api", + "containerPort": 49280 + } + ], + "env": [ + { + "name": "HWLAB_CODE_AGENT_CODEX_API_FORWARDER_HOST", + "value": "127.0.0.1" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT", + "value": "49280" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL", + "value": "https://hyueapi.com" + }, + { + "name": "NO_PROXY", + "value": "hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com" + }, + { + "name": "no_proxy", + "value": "hwlab-v03.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com" + }, + { + "name": "HWLAB_M3_IO_CONTROL_ENABLED", + "value": "false" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_PUBLIC_ENDPOINT", + "value": "https://hwlab.pikapython.com" + }, + { + "name": "HWLAB_CLOUD_API_PORT", + "value": "6667" + }, + { + "name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN", + "value": "unidesk-backend,provider-gateway,microservice-proxy" + }, + { + "name": "HWLAB_CLOUD_DB_URL", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-api-v03-db", + "key": "database-url", + "optional": true + } + } + }, + { + "name": "HWLAB_CLOUD_DB_SSL_MODE", + "value": "require" + }, + { + "name": "HWLAB_CLOUD_DB_CONTRACT", + "value": "v03-redacted-presence-only" + }, + { + "name": "HWLAB_CLOUD_RUNTIME_ADAPTER", + "value": "postgres" + }, + { + "name": "HWLAB_CLOUD_RUNTIME_DURABLE", + "value": "true" + }, + { + "name": "HWLAB_CODE_AGENT_TIMEOUT_MS", + "value": "1200000" + }, + { + "name": "HWLAB_CODE_AGENT_SKILLS_DIRS", + "value": "/app/skills:/data/user-skills" + }, + { + "name": "HWLAB_PREINSTALLED_SKILLS_DIR", + "value": "/app/skills" + }, + { + "name": "HWLAB_USER_SKILLS_DIR", + "value": "/data/user-skills" + }, + { + "name": "HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE", + "value": "dsflash-go" + }, + { + "name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL", + "value": "deepseek-chat" + }, + { + "name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL", + "value": "http://hwlab-deepseek-proxy.hwlab-v03.svc.cluster.local:4000/v1/responses" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_MODEL", + "value": "gpt-5.5" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_API_BASE_URL", + "value": "http://127.0.0.1:49280/responses" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_OBSERVABILITY_CONFIG_REVISION", + "value": "PJ2026-01060505-20260619-long-trace-timeout-mitigation" + }, + { + "name": "HWLAB_CODE_AGENT_TURN_STATUS_REFRESH_TIMEOUT_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_NO_RESPONSE_TIMEOUT_MS", + "value": "600000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX", + "value": "5" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_BASE_MS", + "value": "1000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_DISPATCH_RETRY_MAX_DELAY_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_SYNC_POLL_INTERVAL_MS", + "value": "1000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INITIAL_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_INTERVAL_MS", + "value": "60000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_MIN_AGE_MS", + "value": "30000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_BATCH_SIZE", + "value": "100" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_JITTER_MS", + "value": "15000" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROJECTION_RESUME_FAILURE_BACKOFF_MS", + "value": "120000" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-bootstrap-admin", + "key": "password-hash", + "optional": true + } + } + }, + { + "name": "HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-preset-users", + "key": "huiggao-password-hash", + "optional": true + } + } + }, + { + "name": "HWLAB_ACCESS_CONTROL_USERS_JSON", + "value": "[{\"id\":\"usr_v03_admin\",\"username\":\"admin\",\"displayName\":\"HWLAB v0.3 Admin\",\"email\":null,\"role\":\"admin\",\"status\":\"active\",\"navProfile\":\"admin-full\",\"passwordHashEnv\":\"HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH\"},{\"id\":\"usr_v03_huiggao\",\"username\":\"huiggao@163.com\",\"displayName\":\"huiggao@163.com\",\"email\":\"huiggao@163.com\",\"role\":\"user\",\"status\":\"active\",\"navProfile\":\"code-mdtodo-only\",\"passwordHashEnv\":\"HWLAB_PRESET_USER_HUIGGAO_PASSWORD_HASH\"}]" + }, + { + "name": "HWLAB_ACCESS_CONTROL_NAV_PROFILES_JSON", + "value": "[{\"id\":\"admin-full\",\"displayName\":\"Admin full access\",\"allowedIds\":[\"*\"]},{\"id\":\"code-mdtodo-only\",\"displayName\":\"Code and MDTODO only\",\"allowedIds\":[\"workbench.code\",\"project.mdtodo\"]}]" + }, + { + "name": "HWLAB_CLOUD_DB_POOL_MAX", + "value": "4" + }, + { + "name": "HWLAB_CLOUD_DB_PROBE_TIMEOUT_MS", + "value": "5000" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_TIMEOUT_MS", + "value": "3000" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_MAX_ATTEMPTS", + "value": "5" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_INITIAL_DELAY_MS", + "value": "250" + }, + { + "name": "HWLAB_CLOUD_DB_QUERY_RETRY_MAX_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_TIMEOUT_MS", + "value": "3000" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_MAX_ATTEMPTS", + "value": "1" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_BASE_MS", + "value": "0" + }, + { + "name": "HWLAB_WORKBENCH_FACTS_QUERY_BACKOFF_MAX_MS", + "value": "1" + }, + { + "name": "HWLAB_ACCESS_CONTROL_REQUIRED", + "value": "1" + }, + { + "name": "HWLAB_SESSION_COOKIE_DOMAIN", + "value": ".pikapython.com" + }, + { + "name": "HWLAB_SESSION_COOKIE_SAMESITE", + "value": "None" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_ID", + "value": "usr_v03_admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME", + "value": "admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME", + "value": "HWLAB v0.3 Admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID", + "value": "key_master_server_admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-master-server-admin-api-key", + "key": "api-key", + "optional": true + } + } + }, + { + "name": "HWLAB_USER_BILLING_URL", + "value": "http://hwlab-user-billing.hwlab-v03.svc.cluster.local:6670" + }, + { + "name": "HWLAB_WORKBENCH_RUNTIME_URL", + "value": "http://hwlab-workbench-runtime.hwlab-v03.svc.cluster.local:6671" + }, + { + "name": "HWLAB_PROJECT_MANAGEMENT_URL", + "value": "http://hwlab-project-management.hwlab-v03.svc.cluster.local:6672" + }, + { + "name": "HWLAB_HWPOD_SPEC_REGISTRY_DIRS", + "value": "/etc/hwlab/hwpod-specs" + }, + { + "name": "HWLAB_USER_BILLING_LOGIN_RETRY_ATTEMPTS", + "value": "2" + }, + { + "name": "HWLAB_USER_BILLING_LOGIN_RETRY_DELAY_MS", + "value": "250" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_ESTIMATED_CREDITS", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_CODE_AGENT_USED_CREDITS", + "value": "1" + }, + { + "name": "HWLAB_KEYCLOAK_ISSUER", + "value": "https://auth.74-48-78-17.nip.io/realms/hwlab" + }, + { + "name": "HWLAB_KEYCLOAK_CLIENT_ID", + "value": "hwlab-cloud-web" + }, + { + "name": "HWLAB_KEYCLOAK_CLIENT_SECRET", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-web-client", + "key": "client-secret", + "optional": true + } + } + }, + { + "name": "HWLAB_CODE_AGENT_ADAPTER", + "value": "agentrun-v02" + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-cloud-api" + }, + { + "name": "AGENTRUN_MGR_URL", + "value": "http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080" + }, + { + "name": "AGENTRUN_API_KEY", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-master-server-admin-api-key", + "key": "api-key", + "optional": true + } + } + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE", + "value": "agentrun-v02" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE", + "value": "agentrun-v02" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_TTL_MS", + "value": "600000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_INTERVAL_MS", + "value": "60000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_INITIAL_DELAY_MS", + "value": "5000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_BATCH_SIZE", + "value": "100" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_JITTER_MS", + "value": "15000" + }, + { + "name": "HWLAB_WORKBENCH_EMPTY_SESSION_GC_FAILURE_BACKOFF_MS", + "value": "120000" + }, + { + "name": "HWLAB_SECRET_PLANE_SMOKE", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-secret-plane-smoke", + "key": "password", + "optional": true + } + } + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-codex-api-responses-forwarder.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "e2f975516ef74c41b53d1f93b22ce0bdb33d904f740e1d6738c170ab36c50fbe" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_WORKBENCH_SSE_DRAIN_TIMEOUT_MS", + "value": "2500" + }, + { + "name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID", + "value": "NC01" + }, + { + "name": "HWLAB_OPENFGA_MODE", + "value": "enforce" + }, + { + "name": "HWLAB_OPENFGA_API_URL", + "value": "http://hwlab-openfga.hwlab-v03.svc.cluster.local:8080" + }, + { + "name": "HWLAB_OPENFGA_AUTHN_TOKEN", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-openfga", + "key": "authn-preshared-key", + "optional": true + } + } + }, + { + "name": "UNIDESK_MAIN_SERVER_IP", + "value": "http://74.48.78.17:18081" + }, + { + "name": "HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR", + "value": "repo-owned" + } + ], + "readinessProbe": { + "exec": { + "command": [ + "node", + "-e", + "fetch('http://127.0.0.1:49280/health/readiness').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))" + ] + }, + "timeoutSeconds": 2 + }, + "livenessProbe": { + "exec": { + "command": [ + "node", + "-e", + "fetch('http://127.0.0.1:49280/health/live').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))" + ] + }, + "timeoutSeconds": 2 + }, + "volumeMounts": [ + { + "name": "hwpod-preinstalled-specs", + "mountPath": "/etc/hwlab/hwpod-specs", + "readOnly": true + } + ], + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "exec": { + "command": [ + "node", + "-e", + "fetch('http://127.0.0.1:49280/health/readiness').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))" + ] + }, + "timeoutSeconds": 2, + "periodSeconds": 10, + "failureThreshold": 30, + "successThreshold": 1 + }, + "lifecycle": { + "preStop": { + "exec": { + "command": [ + "sh", + "-c", + "port=\"${PORT:-${HWLAB_PORT:-${HWLAB_CLOUD_API_PORT:-6667}}}\"; url=\"http://127.0.0.1:${port}/v1/internal/workbench/drain\"; /usr/local/bin/bun -e 'const [url, hostname] = process.argv.slice(2); await fetch(url, { method: \"POST\", headers: { \"x-hwlab-drain-hostname\": hostname || \"\" } }).catch(() => {});' \"$url\" \"${HOSTNAME:-}\" >/dev/null 2>&1 || true; sleep 3" + ] + } + } + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-cloud-api" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:6667/health/live" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + }, + { + "name": "HWLAB_METRICS_EXTRA_URL", + "value": "http://127.0.0.1:6667/v1/web-performance/metrics" + }, + { + "name": "HWLAB_METRICS_EXTRA_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-user-skills", + "persistentVolumeClaim": { + "claimName": "hwlab-user-skills" + } + }, + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + }, + { + "name": "hwpod-preinstalled-specs", + "configMap": { + "name": "hwlab-v03-hwpod-preinstalled-specs" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-user-billing", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-user-billing", + "hwlab.pikastech.local/service-id": "hwlab-user-billing", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-user-billing", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-user-billing", + "hwlab.pikastech.local/service-id": "hwlab-user-billing", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-user-billing.sh", + "hwlab.pikastech.local/environment-digest": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", + "hwlab.pikastech.local/environment-input-hash": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445", + "hwlab.pikastech.local/code-input-hash": "09a0983dcc5525d93de6ab636a9de686739625d5549f108f366c44cae7835d69" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-user-billing", + "image": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243", + "ports": [ + { + "name": "http", + "containerPort": 6670 + } + ], + "env": [ + { + "name": "HWLAB_USER_BILLING_PORT", + "value": "6670" + }, + { + "name": "HWLAB_USER_BILLING_STATE_AUTHORITY", + "value": "pk01-postgres" + }, + { + "name": "HWLAB_USER_BILLING_STATELESS", + "value": "true" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_USER_BILLING_DB_URL", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-cloud-api-v03-db", + "key": "database-url", + "optional": true + } + } + }, + { + "name": "HWLAB_USER_BILLING_DB_POOL_MAX", + "value": "2" + }, + { + "name": "HWLAB_USER_BILLING_MIGRATION_TIMEOUT_SECONDS", + "value": "180" + }, + { + "name": "HWLAB_USER_BILLING_BOOTSTRAP_TIMEOUT_SECONDS", + "value": "60" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_ID", + "value": "usr_v03_admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME", + "value": "admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME", + "value": "HWLAB v0.3 Admin" + }, + { + "name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-bootstrap-admin", + "key": "password-hash", + "optional": true + } + } + }, + { + "name": "HWLAB_USER_BILLING_EXTERNAL_DB_LABEL", + "value": "pk01-external-postgres" + }, + { + "name": "HWLAB_USER_BILLING_REGISTRATION_ENABLED", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_INITIAL_CREDITS", + "value": "0" + }, + { + "name": "HWLAB_USER_BILLING_CREDIT_PER_1K_TOKENS", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_MIGRATE_ON_START", + "value": "1" + }, + { + "name": "HWLAB_USER_BILLING_REDIS_URL", + "value": "redis://hwlab-user-billing-redis.hwlab-v03.svc.cluster.local:6379/0" + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-user-billing" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env@sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6d50571be334" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-user-billing.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-go-runtime-env:env-6d50571be334" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6d50571be334e4558b2a2e229b36d932d57443bb806d409242e5335660c8f445" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "09a0983dcc5525d93de6ab636a9de686739625d5549f108f366c44cae7835d69" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:5d263251da45c0c4d4d4e998febe6b61e7a5602b0e8d0e26d270c019d30b5243" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "timeoutSeconds": 10, + "failureThreshold": 5 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "timeoutSeconds": 5, + "failureThreshold": 6 + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/ready", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 10, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-user-billing" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:6670/health/ready" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-cloud-web", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-cloud-web", + "hwlab.pikastech.local/service-id": "hwlab-cloud-web", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-cloud-web", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-cloud-web", + "hwlab.pikastech.local/service-id": "hwlab-cloud-web", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "71863318c4826fa5939feed6519d176a0e2d01dc894429c0214554ece73b0404" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-cloud-web", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 8080 + } + ], + "env": [ + { + "name": "HWLAB_API_BASE_URL", + "value": "http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667" + }, + { + "name": "HWLAB_CLOUD_WEB_PROXY_TIMEOUT_MS", + "value": "1260000" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_CLOUD_WEB_DISPLAY_TIME_ZONE", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_CLOUD_WEB_DISPLAY_TIME_LOCALE", + "value": "zh-CN" + }, + { + "name": "HWLAB_CLOUD_WEB_DISPLAY_TIME_LABEL", + "value": "北京时间" + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_UPSTREAM_URL", + "value": "http://opencode-server.hwlab-v03.svc.cluster.local:4096" + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_USERNAME", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-opencode-server-auth", + "key": "username", + "optional": true + } + } + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_PASSWORD", + "valueFrom": { + "secretKeyRef": { + "name": "hwlab-v03-opencode-server-auth", + "key": "password", + "optional": true + } + } + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_DEFAULT_PROJECT", + "value": "/workspace" + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_EVENT_DIRECTORY_FROM", + "value": "/workspace" + }, + { + "name": "HWLAB_CLOUD_WEB_OPENCODE_EVENT_DIRECTORY_TO", + "value": "/" + }, + { + "name": "OTEL_EXPORTER_OTLP_TRACES_ENDPOINT", + "value": "http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces" + }, + { + "name": "OTEL_SERVICE_NAME", + "value": "hwlab-cloud-web" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-cloud-web.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "71863318c4826fa5939feed6519d176a0e2d01dc894429c0214554ece73b0404" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_PUBLIC_ENDPOINT", + "value": "https://hwlab.pikapython.com" + }, + { + "name": "HWLAB_WORKBENCH_TRACE_AUTO_EXPAND_RUNNING", + "value": "0" + }, + { + "name": "HWLAB_WORKBENCH_TRACE_AUTO_COLLAPSE_TERMINAL", + "value": "0" + }, + { + "name": "HWLAB_WORKBENCH_TRACE_EXPLORER_URL_TEMPLATE", + "value": "/v1/workbench/traces/{trace_id}/events" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 2, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-cloud-web" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:8080/health/live" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-gateway", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-gateway", + "hwlab.pikastech.local/service-id": "hwlab-gateway", + "hwlab.pikastech.local/activation": "manual", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 0, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-gateway", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-gateway", + "hwlab.pikastech.local/service-id": "hwlab-gateway", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-gateway.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "25f753b252593891ed7b03b53a69d266e7a324728cf83fea8654bab4196fa399" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-gateway", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 7001 + } + ], + "env": [ + { + "name": "HWLAB_GATEWAY_MODE", + "value": "hardware-boundary" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-gateway.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "25f753b252593891ed7b03b53a69d266e7a324728cf83fea8654bab4196fa399" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 2, + "failureThreshold": 30, + "successThreshold": 1 + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-edge-proxy", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-edge-proxy", + "hwlab.pikastech.local/service-id": "hwlab-edge-proxy", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-edge-proxy", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-edge-proxy", + "hwlab.pikastech.local/service-id": "hwlab-edge-proxy", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-edge-proxy.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "c97d19939c872e128a6931bdf73f28a75a684948a76a2b1af37508dd47481544" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-edge-proxy", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 6667 + } + ], + "env": [ + { + "name": "HWLAB_EDGE_LISTEN", + "value": "0.0.0.0:6667" + }, + { + "name": "HWLAB_EDGE_UPSTREAM", + "value": "http://hwlab-cloud-api.hwlab-v03.svc.cluster.local:6667" + }, + { + "name": "HWLAB_EDGE_PROXY_TIMEOUT_MS", + "value": "1260000" + }, + { + "name": "HWLAB_EDGE_IDLE_TIMEOUT_SECONDS", + "value": "120" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-edge-proxy.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "c97d19939c872e128a6931bdf73f28a75a684948a76a2b1af37508dd47481544" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_PUBLIC_ENDPOINT", + "value": "https://hwlab.pikapython.com" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health", + "port": "http" + }, + "timeoutSeconds": 3, + "failureThreshold": 5 + }, + "livenessProbe": { + "httpGet": { + "path": "/health", + "port": "http" + }, + "periodSeconds": 20, + "timeoutSeconds": 5, + "failureThreshold": 6 + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 3, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-edge-proxy" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:6667/health" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + } + ] + } + } + } + }, + { + "apiVersion": "apps/v1", + "kind": "Deployment", + "metadata": { + "name": "hwlab-agent-skills", + "namespace": "hwlab-v03", + "labels": { + "app.kubernetes.io/name": "hwlab-agent-skills", + "hwlab.pikastech.local/service-id": "hwlab-agent-skills", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "unidesk.ai/node-staging": "false", + "hwlab.pikastech.local/monitoring": "enabled" + }, + "annotations": { + "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + } + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "app.kubernetes.io/name": "hwlab-agent-skills", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03" + } + }, + "template": { + "metadata": { + "labels": { + "app.kubernetes.io/name": "hwlab-agent-skills", + "hwlab.pikastech.local/service-id": "hwlab-agent-skills", + "app.kubernetes.io/part-of": "hwlab", + "hwlab.pikastech.local/environment": "v03", + "hwlab.pikastech.local/profile": "v03", + "hwlab.pikastech.local/gitops-target": "v03", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/monitoring": "enabled", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + "annotations": { + "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", + "hwlab.pikastech.local/gitops-render-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/artifact-source-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs", + "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", + "hwlab.pikastech.local/boot-repo": "git@github.com:pikasTech/HWLAB.git", + "hwlab.pikastech.local/boot-commit": "aa114c175265f0214692c7b130f4f533ab3fe42d", + "hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-agent-skills.sh", + "hwlab.pikastech.local/environment-digest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "hwlab.pikastech.local/environment-input-hash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", + "hwlab.pikastech.local/code-input-hash": "369ca524ae4010fb5d9adfd30b4290808a035804b4674755bc193fee743f3d5a" + } + }, + "spec": { + "containers": [ + { + "name": "hwlab-agent-skills", + "image": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", + "ports": [ + { + "name": "http", + "containerPort": 7430 + } + ], + "env": [ + { + "name": "HWLAB_SKILLS_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "TZ", + "value": "Asia/Shanghai" + }, + { + "name": "HWLAB_ENVIRONMENT", + "value": "v03" + }, + { + "name": "HWLAB_COMMIT_ID", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env@sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_IMAGE_TAG", + "value": "env-6ef8ca3abf22" + }, + { + "name": "HWLAB_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_PROFILE", + "value": "v03" + }, + { + "name": "HWLAB_GITOPS_SOURCE_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_RUNTIME_MODE", + "value": "env-reuse-git-mirror-checkout" + }, + { + "name": "HWLAB_BOOT_REPO", + "value": "git@github.com:pikasTech/HWLAB.git" + }, + { + "name": "HWLAB_BOOT_COMMIT", + "value": "aa114c175265f0214692c7b130f4f533ab3fe42d" + }, + { + "name": "HWLAB_BOOT_REF", + "value": "v0.3" + }, + { + "name": "HWLAB_BOOT_SH", + "value": "deploy/runtime/boot/hwlab-agent-skills.sh" + }, + { + "name": "HWLAB_BOOT_READ_URL", + "value": "http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git" + }, + { + "name": "HWLAB_ENVIRONMENT_IMAGE", + "value": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22" + }, + { + "name": "HWLAB_ENVIRONMENT_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + }, + { + "name": "HWLAB_ENVIRONMENT_INPUT_HASH", + "value": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93" + }, + { + "name": "HWLAB_CODE_INPUT_HASH", + "value": "369ca524ae4010fb5d9adfd30b4290808a035804b4674755bc193fee743f3d5a" + }, + { + "name": "HWLAB_IMAGE_DIGEST", + "value": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967" + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + } + }, + "imagePullPolicy": "IfNotPresent", + "startupProbe": { + "httpGet": { + "path": "/health/live", + "port": "http" + }, + "periodSeconds": 10, + "timeoutSeconds": 2, + "failureThreshold": 30, + "successThreshold": 1 + } + }, + { + "name": "hwlab-metrics", + "image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1", + "imagePullPolicy": "IfNotPresent", + "command": [ + "node", + "/metrics/metrics-sidecar.mjs" + ], + "env": [ + { + "name": "HWLAB_METRICS_SERVICE_ID", + "value": "hwlab-agent-skills" + }, + { + "name": "HWLAB_METRICS_NAMESPACE", + "value": "hwlab-v03" + }, + { + "name": "HWLAB_METRICS_GITOPS_TARGET", + "value": "v03" + }, + { + "name": "HWLAB_METRICS_PORT", + "value": "9100" + }, + { + "name": "HWLAB_METRICS_TARGET_URL", + "value": "http://127.0.0.1:7430/health/live" + }, + { + "name": "HWLAB_METRICS_TARGET_TIMEOUT_MS", + "value": "2000" + } + ], + "ports": [ + { + "name": "metrics", + "containerPort": 9100 + } + ], + "readinessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 3, + "periodSeconds": 10 + }, + "livenessProbe": { + "httpGet": { + "path": "/health/live", + "port": "metrics" + }, + "initialDelaySeconds": 10, + "periodSeconds": 20 + }, + "volumeMounts": [ + { + "name": "hwlab-metrics-sidecar", + "mountPath": "/metrics", + "readOnly": true + } + ] + } + ], + "volumes": [ + { + "name": "hwlab-metrics-sidecar", + "configMap": { + "name": "hwlab-v03-metrics-sidecar" + } + } + ] + } + } + } + } + ] +}