1634 lines
63 KiB
YAML
1634 lines
63 KiB
YAML
{
|
|
"apiVersion": "v1",
|
|
"kind": "List",
|
|
"items": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "PersistentVolumeClaim",
|
|
"metadata": {
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-code-agent-workspace",
|
|
"hwlab.pikastech.local/service-id": "hwlab-code-agent-workspace",
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"name": "hwlab-code-agent-workspace",
|
|
"namespace": "hwlab-v02",
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"spec": {
|
|
"accessModes": [
|
|
"ReadWriteOnce"
|
|
],
|
|
"resources": {
|
|
"requests": {
|
|
"storage": "8Gi"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"hwlab.pikastech.local/artifact-source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"hwlab.pikastech.local/artifact-source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"initContainers": [
|
|
{
|
|
"command": [
|
|
"sh",
|
|
"-ceu",
|
|
"target=/workspace/hwlab\nmarker=\"$target/.hwlab-workspace-initialized\"\nmkdir -p \"$target\"\nif [ ! -e \"$marker\" ]; then\n if [ -z \"$(find \"$target\" -mindepth 1 -maxdepth 1 ! -name lost+found -print -quit)\" ]; then\n cp -a /app/. \"$target\"/\n mode=copied-from-image\n else\n mode=adopted-existing-workspace\n fi\n printf '%s\\n' \"$mode\" > \"$marker\"\n printf '%s\\n' \"${HWLAB_WORKSPACE_SOURCE_COMMIT:-unknown}\" > \"$target/.hwlab-workspace-base-revision\"\nfi\nprintf '%s\\n' \"${HWLAB_WORKSPACE_SOURCE_COMMIT:-unknown}\" > \"$target/.hwlab-workspace-current-image-revision\"\n"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_WORKSPACE_SOURCE_COMMIT",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
],
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"name": "hwlab-code-agent-workspace-init",
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/workspace",
|
|
"name": "hwlab-code-agent-workspace"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-api",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 6667
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "http://74.48.78.17:19667"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_API_PORT",
|
|
"value": "6667"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
{
|
|
"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_PROVIDER",
|
|
"value": "codex-stdio"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_MODEL",
|
|
"value": "gpt-5.5"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_TIMEOUT_MS",
|
|
"value": "1200000"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_OPENAI_BASE_URL",
|
|
"value": "http://127.0.0.1:49280/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_STDIO_ENABLED",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR",
|
|
"value": "repo-owned"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_WORKSPACE",
|
|
"value": "/workspace/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_WORKSPACE",
|
|
"value": "/workspace/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_SANDBOX",
|
|
"value": "danger-full-access"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_COMMAND",
|
|
"value": "/app/node_modules/.bin/codex"
|
|
},
|
|
{
|
|
"name": "CODEX_HOME",
|
|
"value": "/codex-home"
|
|
},
|
|
{
|
|
"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": "OPENAI_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-code-agent-provider",
|
|
"key": "openai-api-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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_DEVICE_POD_URL",
|
|
"value": "http://hwlab-device-pod.hwlab-v02.svc.cluster.local:7601"
|
|
},
|
|
{
|
|
"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_DEVICE_POD_INTERNAL_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-device-pod-internal",
|
|
"key": "token",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-code-agent-workspace",
|
|
"mountPath": "/workspace"
|
|
},
|
|
{
|
|
"name": "hwlab-user-skills",
|
|
"mountPath": "/data/user-skills"
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-home",
|
|
"mountPath": "/codex-home"
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-config",
|
|
"mountPath": "/codex-home/config.toml",
|
|
"subPath": "config.toml",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-auth",
|
|
"mountPath": "/codex-home/auth.json",
|
|
"subPath": "auth.json",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-codex-api-forwarder",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5",
|
|
"command": [
|
|
"/usr/local/bin/bun",
|
|
"run",
|
|
"/app/cmd/hwlab-codex-api-responses-forwarder/main.ts"
|
|
],
|
|
"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": "http://74.48.78.17:19667"
|
|
},
|
|
{
|
|
"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_PROVIDER",
|
|
"value": "codex-stdio"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_MODEL",
|
|
"value": "gpt-5.5"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_TIMEOUT_MS",
|
|
"value": "1200000"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_OPENAI_BASE_URL",
|
|
"value": "http://127.0.0.1:49280/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_STDIO_ENABLED",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_STDIO_SUPERVISOR",
|
|
"value": "repo-owned"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_WORKSPACE",
|
|
"value": "/workspace/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_WORKSPACE",
|
|
"value": "/workspace/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_SANDBOX",
|
|
"value": "danger-full-access"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_COMMAND",
|
|
"value": "/app/node_modules/.bin/codex"
|
|
},
|
|
{
|
|
"name": "CODEX_HOME",
|
|
"value": "/codex-home"
|
|
},
|
|
{
|
|
"name": "OPENAI_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-code-agent-provider",
|
|
"key": "openai-api-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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_DEVICE_POD_URL",
|
|
"value": "http://hwlab-device-pod.hwlab-v02.svc.cluster.local:7601"
|
|
},
|
|
{
|
|
"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_DEVICE_POD_INTERNAL_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-device-pod-internal",
|
|
"key": "token",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:18377684ef9b5de25aa0e8423e4a51ea2b1bcd92d91ea6e2440387cda9812bd5"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
],
|
|
"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
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-code-agent-workspace",
|
|
"persistentVolumeClaim": {
|
|
"claimName": "hwlab-code-agent-workspace"
|
|
}
|
|
},
|
|
{
|
|
"name": "hwlab-user-skills",
|
|
"persistentVolumeClaim": {
|
|
"claimName": "hwlab-user-skills"
|
|
}
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-home",
|
|
"emptyDir": {}
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-config",
|
|
"configMap": {
|
|
"name": "hwlab-code-agent-codex-config",
|
|
"items": [
|
|
{
|
|
"key": "config.toml",
|
|
"path": "config.toml"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "hwlab-code-agent-codex-auth",
|
|
"secret": {
|
|
"secretName": "hwlab-v02-code-agent-codex-auth",
|
|
"items": [
|
|
{
|
|
"key": "auth.json",
|
|
"path": "auth.json"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "7958987744add4b2d20ca230cecdc16860ee8acd",
|
|
"hwlab.pikastech.local/artifact-source-commit": "7958987744add4b2d20ca230cecdc16860ee8acd",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "7958987744add4b2d20ca230cecdc16860ee8acd"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "7958987744add4b2d20ca230cecdc16860ee8acd",
|
|
"hwlab.pikastech.local/artifact-source-commit": "7958987744add4b2d20ca230cecdc16860ee8acd",
|
|
"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": "7958987744add4b2d20ca230cecdc16860ee8acd",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:63eb43df43eb810baeef2b7962927b1b5a9a7b0e2f4c2cda38a08104c1c49b20",
|
|
"hwlab.pikastech.local/environment-input-hash": "f80367ba45abdd111f4dc54ccc32090b2f8512a4266f470490fa1bf6d5651d99",
|
|
"hwlab.pikastech.local/code-input-hash": "95dba32c62a8ad5ff6f61f180cf7083875136c7c0d0676cb5efae167654ab1c6"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-web",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:63eb43df43eb810baeef2b7962927b1b5a9a7b0e2f4c2cda38a08104c1c49b20",
|
|
"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": "7958987744add4b2d20ca230cecdc16860ee8acd"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:63eb43df43eb810baeef2b7962927b1b5a9a7b0e2f4c2cda38a08104c1c49b20"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-f80367ba45ab"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "7958987744add4b2d20ca230cecdc16860ee8acd"
|
|
},
|
|
{
|
|
"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": "7958987744add4b2d20ca230cecdc16860ee8acd"
|
|
},
|
|
{
|
|
"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-f80367ba45ab"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:63eb43df43eb810baeef2b7962927b1b5a9a7b0e2f4c2cda38a08104c1c49b20"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "f80367ba45abdd111f4dc54ccc32090b2f8512a4266f470490fa1bf6d5651d99"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "95dba32c62a8ad5ff6f61f180cf7083875136c7c0d0676cb5efae167654ab1c6"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:63eb43df43eb810baeef2b7962927b1b5a9a7b0e2f4c2cda38a08104c1c49b20"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "http://74.48.78.17:19666"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-agent-mgr",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-agent-mgr",
|
|
"hwlab.pikastech.local/service-id": "hwlab-agent-mgr",
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"spec": {
|
|
"replicas": 1,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"app.kubernetes.io/name": "hwlab-agent-mgr",
|
|
"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-mgr",
|
|
"hwlab.pikastech.local/service-id": "hwlab-agent-mgr",
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-agent-mgr",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-agent-mgr@sha256:cf8a173c1449c2a4c6bcc58145f172dc228f2d5992a15baf51d9aef08149df1c",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7410
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "control-plane"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-mgr@sha256:cf8a173c1449c2a4c6bcc58145f172dc228f2d5992a15baf51d9aef08149df1c"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "batch/v1",
|
|
"kind": "Job",
|
|
"metadata": {
|
|
"name": "hwlab-agent-worker-template",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-agent-worker",
|
|
"hwlab.pikastech.local/service-id": "hwlab-agent-worker",
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"argocd.argoproj.io/sync-options": "Force=true,Replace=true",
|
|
"argocd.argoproj.io/ignore-healthcheck": "true"
|
|
}
|
|
},
|
|
"spec": {
|
|
"suspend": true,
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-agent-worker",
|
|
"hwlab.pikastech.local/service-id": "hwlab-agent-worker",
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"restartPolicy": "Never",
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-agent-worker",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-agent-worker@sha256:f11bd827f88f8ff85fb35cc81e39bb326a3058cc23e53b55f576188b50c5a335",
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "session-scoped"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-worker@sha256:f11bd827f88f8ff85fb35cc81e39bb326a3058cc23e53b55f576188b50c5a335"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
}
|
|
],
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-device-pod",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-device-pod",
|
|
"hwlab.pikastech.local/service-id": "hwlab-device-pod",
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"spec": {
|
|
"replicas": 1,
|
|
"selector": {
|
|
"matchLabels": {
|
|
"app.kubernetes.io/name": "hwlab-device-pod",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02"
|
|
}
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-device-pod",
|
|
"hwlab.pikastech.local/service-id": "hwlab-device-pod",
|
|
"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": "153156768dc0416c11c0d855a2d9d442db1c5905",
|
|
"hwlab.pikastech.local/artifact-source-commit": "153156768dc0416c11c0d855a2d9d442db1c5905",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "153156768dc0416c11c0d855a2d9d442db1c5905"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "153156768dc0416c11c0d855a2d9d442db1c5905",
|
|
"hwlab.pikastech.local/artifact-source-commit": "153156768dc0416c11c0d855a2d9d442db1c5905",
|
|
"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": "153156768dc0416c11c0d855a2d9d442db1c5905",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-device-pod.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:5ae6e9d2af1b94e7c981aeefbafc746220de511e89f0cb8d85190158ce4a5f4a",
|
|
"hwlab.pikastech.local/environment-input-hash": "f80367ba45abdd111f4dc54ccc32090b2f8512a4266f470490fa1bf6d5651d99",
|
|
"hwlab.pikastech.local/code-input-hash": "3b98c79b6b33d9f73f8a721df86d4b6f96843e6c660642372ff8ea3750972046"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-device-pod",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:5ae6e9d2af1b94e7c981aeefbafc746220de511e89f0cb8d85190158ce4a5f4a",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7601
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_DEVICE_POD_ID",
|
|
"value": "device-pod-71-freq"
|
|
},
|
|
{
|
|
"name": "HWLAB_DEVICE_POD_PORT",
|
|
"value": "7601"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_API_INTERNAL_URL",
|
|
"value": "http://hwlab-cloud-api.hwlab-v02.svc.cluster.local:6667"
|
|
},
|
|
{
|
|
"name": "HWLAB_DEVICE_POD_INTERNAL_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-device-pod-internal",
|
|
"key": "token",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "153156768dc0416c11c0d855a2d9d442db1c5905"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:5ae6e9d2af1b94e7c981aeefbafc746220de511e89f0cb8d85190158ce4a5f4a"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-f80367ba45ab"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "153156768dc0416c11c0d855a2d9d442db1c5905"
|
|
},
|
|
{
|
|
"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": "153156768dc0416c11c0d855a2d9d442db1c5905"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_REF",
|
|
"value": "v0.2"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_SH",
|
|
"value": "deploy/runtime/boot/hwlab-device-pod.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-device-pod-env:env-f80367ba45ab"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:5ae6e9d2af1b94e7c981aeefbafc746220de511e89f0cb8d85190158ce4a5f4a"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "f80367ba45abdd111f4dc54ccc32090b2f8512a4266f470490fa1bf6d5651d99"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "3b98c79b6b33d9f73f8a721df86d4b6f96843e6c660642372ff8ea3750972046"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:5ae6e9d2af1b94e7c981aeefbafc746220de511e89f0cb8d85190158ce4a5f4a"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-gateway",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:572b43b4c35c428d459637296b2146259dfbea331c674b800b68b9f0bdada211",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7001
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_GATEWAY_MODE",
|
|
"value": "hardware-boundary"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:572b43b4c35c428d459637296b2146259dfbea331c674b800b68b9f0bdada211"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
}
|
|
],
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-edge-proxy",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:7dd7050801a842bd7b91bb282a1b3245fd1d3bcf0e370764e2087f9e91d4ee79",
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:7dd7050801a842bd7b91bb282a1b3245fd1d3bcf0e370764e2087f9e91d4ee79"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "http://74.48.78.17:19667"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "5d5c17153e4f56cc5fd0b4e52cec4e89dee13662"
|
|
}
|
|
},
|
|
"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": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/artifact-source-commit": "794bea65e88f28180fe36ea42ab1127faeef043e",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-agent-skills",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:baba0d0da5eeeb5047a50675bde97ee90f73b8faf31717a11b4c42e79219bb8a",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7430
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_SKILLS_COMMIT_ID",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:baba0d0da5eeeb5047a50675bde97ee90f73b8faf31717a11b4c42e79219bb8a"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "794bea65e88f28180fe36ea42ab1127faeef043e"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|