Files
pikasTech-HWLAB/deploy/gitops/g14/runtime-v02/workloads.yaml
T
2026-06-08 04:04:11 +00:00

1724 lines
68 KiB
YAML

{
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false"
},
"name": "hwlab-user-skills",
"namespace": "hwlab-v02",
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"accessModes": [
"ReadWriteOnce"
],
"resources": {
"requests": {
"storage": "2Gi"
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-cloud-api",
"namespace": "hwlab-v02",
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"replicas": 1,
"strategy": {
"type": "Recreate"
},
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-cloud-api",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v02",
"hwlab.pikastech.local/profile": "v02"
}
},
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "1160089d3b5e783174895be8e24cceca7a31cb68",
"hwlab.pikastech.local/artifact-source-commit": "1160089d3b5e783174895be8e24cceca7a31cb68",
"hwlab.pikastech.local/monitoring": "enabled",
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/boot-commit": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
"annotations": {
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/source-commit": "1160089d3b5e783174895be8e24cceca7a31cb68",
"hwlab.pikastech.local/artifact-source-commit": "1160089d3b5e783174895be8e24cceca7a31cb68",
"hwlab.pikastech.local/rendered-by": "scripts/g14-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": "1160089d3b5e783174895be8e24cceca7a31cb68",
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-api.sh",
"hwlab.pikastech.local/environment-digest": "sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d",
"hwlab.pikastech.local/environment-input-hash": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9",
"hwlab.pikastech.local/code-input-hash": "232e925b5ef523eb3a64618a3e9c1feb0e1c2c0efc155e164ffacc614fa6d9ff"
}
},
"spec": {
"initContainers": [],
"containers": [
{
"name": "hwlab-cloud-api",
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d",
"ports": [
{
"name": "http",
"containerPort": 6667
}
],
"env": [
{
"name": "HWLAB_ENVIRONMENT",
"value": "v02"
},
{
"name": "HWLAB_PUBLIC_ENDPOINT",
"value": "https://hwlab.74-48-78-17.nip.io"
},
{
"name": "HWLAB_CLOUD_API_PORT",
"value": "6667"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-29eed704413a"
},
{
"name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN",
"value": "unidesk-backend,provider-gateway,microservice-proxy"
},
{
"name": "HWLAB_CLOUD_DB_URL",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-cloud-api-v02-db",
"key": "database-url",
"optional": true
}
}
},
{
"name": "HWLAB_CLOUD_DB_SSL_MODE",
"value": "disable"
},
{
"name": "HWLAB_CLOUD_DB_CONTRACT",
"value": "v02-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-v02.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-v02.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": "deepseek"
},
{
"name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL",
"value": "deepseek-chat"
},
{
"name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL",
"value": "http://hwlab-deepseek-proxy.hwlab-v02.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": "HWLAB_ACCESS_CONTROL_REQUIRED",
"value": "1"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_ID",
"value": "usr_v02_admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME",
"value": "admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME",
"value": "HWLAB v0.2 Admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-bootstrap-admin",
"key": "password-hash",
"optional": true
}
}
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID",
"value": "key_master_server_admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-master-server-admin-api-key",
"key": "api-key",
"optional": true
}
}
},
{
"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-v01"
},
{
"name": "AGENTRUN_MGR_URL",
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
"value": "G14"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
"value": "agentrun-v01"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
"value": "agentrun-v01"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"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": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-cloud-api.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env:env-29eed704413a"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "232e925b5ef523eb3a64618a3e9c1feb0e1c2c0efc155e164ffacc614fa6d9ff"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_OPENFGA_MODE",
"value": "enforce"
},
{
"name": "HWLAB_OPENFGA_API_URL",
"value": "http://hwlab-openfga.hwlab-v02.svc.cluster.local:8080"
},
{
"name": "HWLAB_OPENFGA_AUTHN_TOKEN",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-openfga",
"key": "authn-preshared-key",
"optional": true
}
}
},
{
"name": "UNIDESK_MAIN_SERVER_IP",
"value": "http://74.48.78.17:18081"
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"livenessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"volumeMounts": [
{
"name": "hwlab-user-skills",
"mountPath": "/data/user-skills"
}
],
"imagePullPolicy": "IfNotPresent"
},
{
"name": "hwlab-codex-api-forwarder",
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d",
"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-v02.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-v02.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": "v02"
},
{
"name": "HWLAB_PUBLIC_ENDPOINT",
"value": "https://hwlab.74-48-78-17.nip.io"
},
{
"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-v02-db",
"key": "database-url",
"optional": true
}
}
},
{
"name": "HWLAB_CLOUD_DB_SSL_MODE",
"value": "disable"
},
{
"name": "HWLAB_CLOUD_DB_CONTRACT",
"value": "v02-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": "deepseek"
},
{
"name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL",
"value": "deepseek-chat"
},
{
"name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL",
"value": "http://hwlab-deepseek-proxy.hwlab-v02.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_ACCESS_CONTROL_REQUIRED",
"value": "1"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_ID",
"value": "usr_v02_admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME",
"value": "admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME",
"value": "HWLAB v0.2 Admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-bootstrap-admin",
"key": "password-hash",
"optional": true
}
}
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID",
"value": "key_master_server_admin"
},
{
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-master-server-admin-api-key",
"key": "api-key",
"optional": true
}
}
},
{
"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-v01"
},
{
"name": "AGENTRUN_MGR_URL",
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
"value": "G14"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
"value": "agentrun-v01"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
"value": "agentrun-v01"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-29eed704413a"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
"value": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"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": "1160089d3b5e783174895be8e24cceca7a31cb68"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-codex-api-responses-forwarder.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env:env-29eed704413a"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "232e925b5ef523eb3a64618a3e9c1feb0e1c2c0efc155e164ffacc614fa6d9ff"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:964f9e1ddc74a0a4d5cf6fcdb8f16b6fc59ae229fc6e8f815db514a6a3fb038d"
},
{
"name": "HWLAB_OPENFGA_MODE",
"value": "enforce"
},
{
"name": "HWLAB_OPENFGA_API_URL",
"value": "http://hwlab-openfga.hwlab-v02.svc.cluster.local:8080"
},
{
"name": "HWLAB_OPENFGA_AUTHN_TOKEN",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v02-openfga",
"key": "authn-preshared-key",
"optional": true
}
}
},
{
"name": "UNIDESK_MAIN_SERVER_IP",
"value": "http://74.48.78.17:18081"
}
],
"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": [],
"imagePullPolicy": "IfNotPresent"
},
{
"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-v02"
},
{
"name": "HWLAB_METRICS_GITOPS_TARGET",
"value": "v02"
},
{
"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-v02-metrics-sidecar"
}
}
]
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-cloud-web",
"namespace": "hwlab-v02",
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-cloud-web",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v02",
"hwlab.pikastech.local/profile": "v02"
}
},
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "7408ba9da7d2c71b8221486c8d05280f746db011",
"hwlab.pikastech.local/artifact-source-commit": "7408ba9da7d2c71b8221486c8d05280f746db011",
"hwlab.pikastech.local/monitoring": "enabled",
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/boot-commit": "7408ba9da7d2c71b8221486c8d05280f746db011"
},
"annotations": {
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/source-commit": "7408ba9da7d2c71b8221486c8d05280f746db011",
"hwlab.pikastech.local/artifact-source-commit": "7408ba9da7d2c71b8221486c8d05280f746db011",
"hwlab.pikastech.local/rendered-by": "scripts/g14-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": "7408ba9da7d2c71b8221486c8d05280f746db011",
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
"hwlab.pikastech.local/environment-digest": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5",
"hwlab.pikastech.local/environment-input-hash": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9",
"hwlab.pikastech.local/code-input-hash": "03b1eb57315ed7aca3b72e7058557f145a594007c03532779fbdb42a920f8320"
}
},
"spec": {
"containers": [
{
"name": "hwlab-cloud-web",
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5",
"ports": [
{
"name": "http",
"containerPort": 8080
}
],
"env": [
{
"name": "HWLAB_API_BASE_URL",
"value": "http://hwlab-cloud-api.hwlab-v02.svc.cluster.local:6667"
},
{
"name": "HWLAB_CLOUD_WEB_PROXY_TIMEOUT_MS",
"value": "1260000"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "7408ba9da7d2c71b8221486c8d05280f746db011"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-cee556b5a633"
},
{
"name": "HWLAB_ENVIRONMENT",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "7408ba9da7d2c71b8221486c8d05280f746db011"
},
{
"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": "7408ba9da7d2c71b8221486c8d05280f746db011"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-cloud-web.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env:env-cee556b5a633"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "03b1eb57315ed7aca3b72e7058557f145a594007c03532779fbdb42a920f8320"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
},
{
"name": "HWLAB_PUBLIC_ENDPOINT",
"value": "https://hwlab.74-48-78-17.nip.io"
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"livenessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"imagePullPolicy": "IfNotPresent"
},
{
"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-v02"
},
{
"name": "HWLAB_METRICS_GITOPS_TARGET",
"value": "v02"
},
{
"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-v02-metrics-sidecar"
}
}
]
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-gateway",
"namespace": "hwlab-v02",
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false"
},
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"replicas": 0,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-gateway",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v02",
"hwlab.pikastech.local/profile": "v02"
}
},
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/artifact-source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/boot-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
"annotations": {
"hwlab.pikastech.local/source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/artifact-source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/rendered-by": "scripts/g14-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": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-gateway.sh",
"hwlab.pikastech.local/environment-digest": "sha256:437cb4b429552c812da622cb13910cb891a4293cb6058ff187d99fe8c8b12304",
"hwlab.pikastech.local/environment-input-hash": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9",
"hwlab.pikastech.local/code-input-hash": "9693556c71091e3e85d61efc6ef7d62e1064fba145ec83b3b9c196477f0b2870"
}
},
"spec": {
"containers": [
{
"name": "hwlab-gateway",
"image": "127.0.0.1:5000/hwlab/hwlab-gateway-env@sha256:437cb4b429552c812da622cb13910cb891a4293cb6058ff187d99fe8c8b12304",
"ports": [
{
"name": "http",
"containerPort": 7001
}
],
"env": [
{
"name": "HWLAB_GATEWAY_MODE",
"value": "hardware-boundary"
},
{
"name": "HWLAB_ENVIRONMENT",
"value": "v02"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-gateway-env@sha256:437cb4b429552c812da622cb13910cb891a4293cb6058ff187d99fe8c8b12304"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-29eed704413a"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"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": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-gateway.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-gateway-env:env-29eed704413a"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:437cb4b429552c812da622cb13910cb891a4293cb6058ff187d99fe8c8b12304"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "9693556c71091e3e85d61efc6ef7d62e1064fba145ec83b3b9c196477f0b2870"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:437cb4b429552c812da622cb13910cb891a4293cb6058ff187d99fe8c8b12304"
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"livenessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"imagePullPolicy": "IfNotPresent"
}
]
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-edge-proxy",
"namespace": "hwlab-v02",
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-edge-proxy",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v02",
"hwlab.pikastech.local/profile": "v02"
}
},
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/artifact-source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/monitoring": "enabled",
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/boot-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
"annotations": {
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/artifact-source-commit": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/rendered-by": "scripts/g14-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": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde",
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-edge-proxy.sh",
"hwlab.pikastech.local/environment-digest": "sha256:5a4c87ca8c4ffa5962675fd17440cbea98f69d87ba585d7c42903c082ebe89cf",
"hwlab.pikastech.local/environment-input-hash": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9",
"hwlab.pikastech.local/code-input-hash": "feaa7c30c37eb42248165bd2f574362dc91908d531d79f4211733b32929b1fa6"
}
},
"spec": {
"containers": [
{
"name": "hwlab-edge-proxy",
"image": "127.0.0.1:5000/hwlab/hwlab-edge-proxy-env@sha256:5a4c87ca8c4ffa5962675fd17440cbea98f69d87ba585d7c42903c082ebe89cf",
"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-v02.svc.cluster.local:6667"
},
{
"name": "HWLAB_EDGE_PROXY_TIMEOUT_MS",
"value": "1260000"
},
{
"name": "HWLAB_ENVIRONMENT",
"value": "v02"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy-env@sha256:5a4c87ca8c4ffa5962675fd17440cbea98f69d87ba585d7c42903c082ebe89cf"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-29eed704413a"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"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": "1b76fb37602f2e266a17a6c5f9e2963b4ea85fde"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-edge-proxy.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy-env:env-29eed704413a"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:5a4c87ca8c4ffa5962675fd17440cbea98f69d87ba585d7c42903c082ebe89cf"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "feaa7c30c37eb42248165bd2f574362dc91908d531d79f4211733b32929b1fa6"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:5a4c87ca8c4ffa5962675fd17440cbea98f69d87ba585d7c42903c082ebe89cf"
},
{
"name": "HWLAB_PUBLIC_ENDPOINT",
"value": "https://hwlab.74-48-78-17.nip.io"
}
],
"readinessProbe": {
"httpGet": {
"path": "/health",
"port": "http"
}
},
"livenessProbe": {
"httpGet": {
"path": "/health",
"port": "http"
}
},
"imagePullPolicy": "IfNotPresent"
},
{
"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-v02"
},
{
"name": "HWLAB_METRICS_GITOPS_TARGET",
"value": "v02"
},
{
"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-v02-metrics-sidecar"
}
}
]
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-agent-skills",
"namespace": "hwlab-v02",
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"unidesk.ai/g14-staging": "false",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-agent-skills",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v02",
"hwlab.pikastech.local/profile": "v02"
}
},
"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": "v02",
"hwlab.pikastech.local/profile": "v02",
"hwlab.pikastech.local/gitops-target": "v02",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"hwlab.pikastech.local/artifact-source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"hwlab.pikastech.local/monitoring": "enabled",
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/boot-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
},
"annotations": {
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"hwlab.pikastech.local/artifact-source-commit": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"hwlab.pikastech.local/rendered-by": "scripts/g14-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": "fb09510d63923c4a75ad76ceaacaf70631bc3568",
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-agent-skills.sh",
"hwlab.pikastech.local/environment-digest": "sha256:c00120b98efc64ddc2f576816212b4b6af3303a4b8ff560a713a3f4627acd89f",
"hwlab.pikastech.local/environment-input-hash": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9",
"hwlab.pikastech.local/code-input-hash": "d8e55aa021a8bddd424f0b1e3dcb79d7266affb3cb61c59e7a90d0e9a29e0c9d"
}
},
"spec": {
"containers": [
{
"name": "hwlab-agent-skills",
"image": "127.0.0.1:5000/hwlab/hwlab-agent-skills-env@sha256:c00120b98efc64ddc2f576816212b4b6af3303a4b8ff560a713a3f4627acd89f",
"ports": [
{
"name": "http",
"containerPort": 7430
}
],
"env": [
{
"name": "HWLAB_SKILLS_COMMIT_ID",
"value": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
},
{
"name": "HWLAB_ENVIRONMENT",
"value": "v02"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills-env@sha256:c00120b98efc64ddc2f576816212b4b6af3303a4b8ff560a713a3f4627acd89f"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-29eed704413a"
},
{
"name": "HWLAB_GITOPS_TARGET",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_PROFILE",
"value": "v02"
},
{
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
"value": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
},
{
"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": "fb09510d63923c4a75ad76ceaacaf70631bc3568"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.2"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-agent-skills.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills-env:env-29eed704413a"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:c00120b98efc64ddc2f576816212b4b6af3303a4b8ff560a713a3f4627acd89f"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "29eed704413ab110e86e67b091d23129218f6ae670942da8b89eec4ac38e32b9"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "d8e55aa021a8bddd424f0b1e3dcb79d7266affb3cb61c59e7a90d0e9a29e0c9d"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:c00120b98efc64ddc2f576816212b4b6af3303a4b8ff560a713a3f4627acd89f"
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"livenessProbe": {
"httpGet": {
"path": "/health/live",
"port": "http"
}
},
"imagePullPolicy": "IfNotPresent"
},
{
"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-v02"
},
{
"name": "HWLAB_METRICS_GITOPS_TARGET",
"value": "v02"
},
{
"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-v02-metrics-sidecar"
}
}
]
}
}
}
}
]
}