diff --git a/deploy/artifact-catalog.nc01-v03.json b/deploy/artifact-catalog.nc01-v03.json index 0967163e..fae41b1f 100644 --- a/deploy/artifact-catalog.nc01-v03.json +++ b/deploy/artifact-catalog.nc01-v03.json @@ -10,7 +10,7 @@ "publish": { "ciPublished": true, "registryVerified": true, - "provenance": "node-ci-artifact:hwlab-nc01-v03-ci-poll-cz4px-collect", + "provenance": "node-ci-artifact:hwlab-nc01-v03-ci-poll-3a87d3513a2f-rmreottcv-collect", "note": "Digest fields were copied from a successful DEV artifact publish report for this source commit." }, "healthContract": { @@ -247,7 +247,7 @@ "runtimeMode": "env-reuse-git-mirror-checkout", "envReuse": true, "envChanged": false, - "codeChanged": true, + "codeChanged": false, "environmentImage": "127.0.0.1:5000/hwlab/hwlab-ts-runtime-env:env-6ef8ca3abf22", "environmentDigest": "sha256:212f1da818f32500f25c495a6a4708a4113f44f4f2718387398dd5d7cfeb2967", "environmentInputHash": "6ef8ca3abf22d871599b06333d285bd64f105a7a799b2937bb9c8f037fc0fd93", diff --git a/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml b/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml index 95af1709..8fdcb0b1 100644 --- a/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/deepseek-proxy.yaml @@ -1,414 +1,327 @@ -{ - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled" - } - }, - "data": { - "render-config.sh": "#!/bin/sh\nif [ -z \"${DEEPSEEK_API_KEY:-}\" ] && [ -z \"${OPENCODE_API_KEY:-}\" ]; then\n echo \"at least one of DEEPSEEK_API_KEY or OPENCODE_API_KEY is required\" >&2\n exit 1\nfi\ncat > /config/config.yml < + #!/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 < 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 180aaad5..f62db390 100644 --- a/deploy/gitops/node/nc01/runtime-v03/opencode.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/opencode.yaml @@ -284,27 +284,27 @@ }, { "name": "HTTP_PROXY", - "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" + "value": "http://10.42.0.1:10808" }, { "name": "HTTPS_PROXY", - "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" + "value": "http://10.42.0.1:10808" }, { "name": "http_proxy", - "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" + "value": "http://10.42.0.1:10808" }, { "name": "https_proxy", - "value": "http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808" + "value": "http://10.42.0.1: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,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" + "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" }, { "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,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" + "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" }, { "name": "OPENCODE_CONFIG_CONTENT", diff --git a/deploy/gitops/node/nc01/runtime-v03/services.yaml b/deploy/gitops/node/nc01/runtime-v03/services.yaml index dc6fbc07..7e67ea0b 100644 --- a/deploy/gitops/node/nc01/runtime-v03/services.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/services.yaml @@ -1,305 +1,208 @@ -{ - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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" - } - ] - } - } - ] -} +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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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 diff --git a/deploy/gitops/node/nc01/runtime-v03/workloads.yaml b/deploy/gitops/node/nc01/runtime-v03/workloads.yaml index ce1496a7..cdfbc499 100644 --- a/deploy/gitops/node/nc01/runtime-v03/workloads.yaml +++ b/deploy/gitops/node/nc01/runtime-v03/workloads.yaml @@ -1,3490 +1,1786 @@ -{ - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "40ae36e390964621faedf740a038ba84d4933171ad1f17dd6681fd82e69a9a9f" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "40ae36e390964621faedf740a038ba84d4933171ad1f17dd6681fd82e69a9a9f" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3d7b7a1528c474cec931bbab71ee70bd08dab59ea744effc9adfa171c06c5a7d" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3d7b7a1528c474cec931bbab71ee70bd08dab59ea744effc9adfa171c06c5a7d" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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_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_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_KAFKA_ENABLED", - "value": "true" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_CONSUME_ENABLED", - "value": "true" - }, - { - "name": "HWLAB_KAFKA_BOOTSTRAP_SERVERS", - "value": "platform-infra-kafka-kafka-bootstrap.platform-infra.svc.cluster.local:9092" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_TOPIC", - "value": "agentrun.event.v1" - }, - { - "name": "HWLAB_KAFKA_EVENT_TOPIC", - "value": "hwlab.event.v1" - }, - { - "name": "HWLAB_KAFKA_CLIENT_ID", - "value": "hwlab-v03-cloud-api" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_GROUP_ID", - "value": "hwlab-v03-agentrun-event-bridge" - }, - { - "name": "HWLAB_KAFKA_PROJECTOR_HEARTBEAT_INTERVAL_MS", - "value": "2000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_INTERVAL_MS", - "value": "250" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_BATCH_SIZE", - "value": "100" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_LEASE_MS", - "value": "30000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_SEND_TIMEOUT_MS", - "value": "10000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_RETRY_BACKOFF_MS", - "value": "1000" - }, - { - "name": "HWLAB_WORKBENCH_OUTBOX_TAIL_BATCH_SIZE", - "value": "100" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT", - "value": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916" - }, - { - "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": "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": "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_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_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_KAFKA_ENABLED", - "value": "true" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_CONSUME_ENABLED", - "value": "true" - }, - { - "name": "HWLAB_KAFKA_BOOTSTRAP_SERVERS", - "value": "platform-infra-kafka-kafka-bootstrap.platform-infra.svc.cluster.local:9092" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_TOPIC", - "value": "agentrun.event.v1" - }, - { - "name": "HWLAB_KAFKA_EVENT_TOPIC", - "value": "hwlab.event.v1" - }, - { - "name": "HWLAB_KAFKA_CLIENT_ID", - "value": "hwlab-v03-cloud-api" - }, - { - "name": "HWLAB_KAFKA_AGENTRUN_EVENT_GROUP_ID", - "value": "hwlab-v03-agentrun-event-bridge" - }, - { - "name": "HWLAB_KAFKA_PROJECTOR_HEARTBEAT_INTERVAL_MS", - "value": "2000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_INTERVAL_MS", - "value": "250" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_BATCH_SIZE", - "value": "100" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_LEASE_MS", - "value": "30000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_SEND_TIMEOUT_MS", - "value": "10000" - }, - { - "name": "HWLAB_KAFKA_OUTBOX_RELAY_RETRY_BACKOFF_MS", - "value": "1000" - }, - { - "name": "HWLAB_WORKBENCH_OUTBOX_TAIL_BATCH_SIZE", - "value": "100" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT", - "value": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "d6142983ba6f3786afc3dbff243e1215bdf7bb5e4c44fb6064a8caf467a7f396" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "d6142983ba6f3786afc3dbff243e1215bdf7bb5e4c44fb6064a8caf467a7f396" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "unidesk.ai/node-staging": "false" - }, - "annotations": { - "hwlab.pikastech.local/gitops-note": "node DEV GitOps target.", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/monitoring": "enabled", - "hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout", - "hwlab.pikastech.local/boot-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - "annotations": { - "hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4", - "hwlab.pikastech.local/gitops-render-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "hwlab.pikastech.local/artifact-source-commit": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913", - "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": "a89d6a198655f21ec6868a7698a54cccf4488017494a86a186e72916d74d5fc8" - } - }, - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "name": "TZ", - "value": "Asia/Shanghai" - }, - { - "name": "HWLAB_ENVIRONMENT", - "value": "v03" - }, - { - "name": "HWLAB_COMMIT_ID", - "value": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "3a87d3513a2f5ec629e394de3376165cb41ee913" - }, - { - "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": "a89d6a198655f21ec6868a7698a54cccf4488017494a86a186e72916d74d5fc8" - }, - { - "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" - } - } - ] - } - } - } - } - ] -} +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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 40ae36e390964621faedf740a038ba84d4933171ad1f17dd6681fd82e69a9a9f + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 40ae36e390964621faedf740a038ba84d4933171ad1f17dd6681fd82e69a9a9f + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3d7b7a1528c474cec931bbab71ee70bd08dab59ea744effc9adfa171c06c5a7d + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3d7b7a1528c474cec931bbab71ee70bd08dab59ea744effc9adfa171c06c5a7d + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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_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_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_KAFKA_ENABLED + value: "true" + - name: HWLAB_KAFKA_AGENTRUN_EVENT_CONSUME_ENABLED + value: "true" + - name: HWLAB_KAFKA_BOOTSTRAP_SERVERS + value: platform-infra-kafka-kafka-bootstrap.platform-infra.svc.cluster.local:9092 + - name: HWLAB_KAFKA_AGENTRUN_EVENT_TOPIC + value: agentrun.event.v1 + - name: HWLAB_KAFKA_EVENT_TOPIC + value: hwlab.event.v1 + - name: HWLAB_KAFKA_CLIENT_ID + value: hwlab-v03-cloud-api + - name: HWLAB_KAFKA_AGENTRUN_EVENT_GROUP_ID + value: hwlab-v03-agentrun-event-direct-publish + - name: HWLAB_KAFKA_PROJECTOR_HEARTBEAT_INTERVAL_MS + value: "2000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_INTERVAL_MS + value: "250" + - name: HWLAB_KAFKA_OUTBOX_RELAY_BATCH_SIZE + value: "100" + - name: HWLAB_KAFKA_OUTBOX_RELAY_LEASE_MS + value: "30000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_SEND_TIMEOUT_MS + value: "10000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_RETRY_BACKOFF_MS + value: "1000" + - name: HWLAB_WORKBENCH_OUTBOX_TAIL_BATCH_SIZE + value: "100" + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - name: HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT + value: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916 + - 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 + - name: HWLAB_KAFKA_PROJECTOR_GROUP_ID + value: hwlab-v03-agentrun-event-projector + - name: HWLAB_KAFKA_HWLAB_EVENT_GROUP_ID + value: hwlab-v03-workbench-live-sse + - name: HWLAB_KAFKA_DIRECT_PUBLISH_ENABLED + value: "true" + - name: HWLAB_WORKBENCH_LIVE_KAFKA_SSE_ENABLED + value: "true" + - name: HWLAB_KAFKA_TRANSACTIONAL_PROJECTOR_ENABLED + value: "false" + - name: HWLAB_KAFKA_PROJECTION_OUTBOX_RELAY_ENABLED + value: "false" + - name: HWLAB_WORKBENCH_PROJECTION_REALTIME_ENABLED + value: "false" + 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: 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: 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_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_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_KAFKA_ENABLED + value: "true" + - name: HWLAB_KAFKA_AGENTRUN_EVENT_CONSUME_ENABLED + value: "true" + - name: HWLAB_KAFKA_BOOTSTRAP_SERVERS + value: platform-infra-kafka-kafka-bootstrap.platform-infra.svc.cluster.local:9092 + - name: HWLAB_KAFKA_AGENTRUN_EVENT_TOPIC + value: agentrun.event.v1 + - name: HWLAB_KAFKA_EVENT_TOPIC + value: hwlab.event.v1 + - name: HWLAB_KAFKA_CLIENT_ID + value: hwlab-v03-cloud-api + - name: HWLAB_KAFKA_AGENTRUN_EVENT_GROUP_ID + value: hwlab-v03-agentrun-event-bridge + - name: HWLAB_KAFKA_PROJECTOR_HEARTBEAT_INTERVAL_MS + value: "2000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_INTERVAL_MS + value: "250" + - name: HWLAB_KAFKA_OUTBOX_RELAY_BATCH_SIZE + value: "100" + - name: HWLAB_KAFKA_OUTBOX_RELAY_LEASE_MS + value: "30000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_SEND_TIMEOUT_MS + value: "10000" + - name: HWLAB_KAFKA_OUTBOX_RELAY_RETRY_BACKOFF_MS + value: "1000" + - name: HWLAB_WORKBENCH_OUTBOX_TAIL_BATCH_SIZE + value: "100" + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - name: HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT + value: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 42ccfe73401c8afec008ddfbeab5ae5b568d0a2dbedbe92b35bdb9ff1d034916 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: d6142983ba6f3786afc3dbff243e1215bdf7bb5e4c44fb6064a8caf467a7f396 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: d6142983ba6f3786afc3dbff243e1215bdf7bb5e4c44fb6064a8caf467a7f396 + - 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_LIVE_KAFKA_SSE_ENABLED + value: "true" + - name: HWLAB_WORKBENCH_PROJECTION_REALTIME_ENABLED + value: "false" + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + unidesk.ai/node-staging: "false" + annotations: + hwlab.pikastech.local/gitops-note: node DEV GitOps target. + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/monitoring: disabled + hwlab.pikastech.local/runtime-mode: env-reuse-git-mirror-checkout + hwlab.pikastech.local/boot-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + annotations: + hwlab.pikastech.local/gitops-render-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + hwlab.pikastech.local/artifact-source-commit: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + 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: a89d6a198655f21ec6868a7698a54cccf4488017494a86a186e72916d74d5fc8 + 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - name: TZ + value: Asia/Shanghai + - name: HWLAB_ENVIRONMENT + value: v03 + - name: HWLAB_COMMIT_ID + value: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: 3a87d3513a2f5ec629e394de3376165cb41ee913 + - 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: a89d6a198655f21ec6868a7698a54cccf4488017494a86a186e72916d74d5fc8 + - 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: []