1771 lines
69 KiB
YAML
1771 lines
69 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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "4dea7c6ea4f125115167e381e6240cfb1fdc721d",
|
|
"hwlab.pikastech.local/artifact-source-commit": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "4dea7c6ea4f125115167e381e6240cfb1fdc721d",
|
|
"hwlab.pikastech.local/artifact-source-commit": "4dea7c6ea4f125115167e381e6240cfb1fdc721d",
|
|
"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": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
}
|
|
],
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1",
|
|
"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:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1",
|
|
"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": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"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_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_DEVICE_POD_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-device-pod-api-key",
|
|
"key": "api-key",
|
|
"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": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
{
|
|
"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-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:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1",
|
|
"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_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_DEVICE_POD_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-device-pod-api-key",
|
|
"key": "api-key",
|
|
"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": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:842f2c4a320ea9ce74e682112ee71e570803353d4a20f1606ff76aa1b5fc9ff1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "4dea7c6ea4f125115167e381e6240cfb1fdc721d"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"hwlab.pikastech.local/artifact-source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"hwlab.pikastech.local/artifact-source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:8bbd365e4e8957e0a39ed076f12b1bd29d7489daa26e38ca55cdc3465b702ba2",
|
|
"hwlab.pikastech.local/environment-input-hash": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2",
|
|
"hwlab.pikastech.local/code-input-hash": "55421a1b3c2627857ce6cb508cee1ad99d07430fb90ea8c597a181dbe4b5b67f"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-web",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:8bbd365e4e8957e0a39ed076f12b1bd29d7489daa26e38ca55cdc3465b702ba2",
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:8bbd365e4e8957e0a39ed076f12b1bd29d7489daa26e38ca55cdc3465b702ba2"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
{
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
},
|
|
{
|
|
"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-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:8bbd365e4e8957e0a39ed076f12b1bd29d7489daa26e38ca55cdc3465b702ba2"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "55421a1b3c2627857ce6cb508cee1ad99d07430fb90ea8c597a181dbe4b5b67f"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:8bbd365e4e8957e0a39ed076f12b1bd29d7489daa26e38ca55cdc3465b702ba2"
|
|
},
|
|
{
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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:802793bfc4d6544c99a128f8c811af0bc64705ba14b050315e1b779d097ab17b",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7410
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "control-plane"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-mgr@sha256:802793bfc4d6544c99a128f8c811af0bc64705ba14b050315e1b779d097ab17b"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
}
|
|
],
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-agent-worker.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:f7d9e995c80105b93237164e9d2e6194f75eccdfbbf8f4bc1f3799109a4db233",
|
|
"hwlab.pikastech.local/environment-input-hash": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2",
|
|
"hwlab.pikastech.local/code-input-hash": "ca957688637a2dd39258334683ef27d422255a4671f336cd6f27313892a50253"
|
|
}
|
|
},
|
|
"spec": {
|
|
"restartPolicy": "Never",
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-agent-worker",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-agent-worker-env@sha256:f7d9e995c80105b93237164e9d2e6194f75eccdfbbf8f4bc1f3799109a4db233",
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "session-scoped"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-worker-env@sha256:f7d9e995c80105b93237164e9d2e6194f75eccdfbbf8f4bc1f3799109a4db233"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_REF",
|
|
"value": "v0.2"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_SH",
|
|
"value": "deploy/runtime/boot/hwlab-agent-worker.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-worker-env:env-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:f7d9e995c80105b93237164e9d2e6194f75eccdfbbf8f4bc1f3799109a4db233"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "ca957688637a2dd39258334683ef27d422255a4671f336cd6f27313892a50253"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:f7d9e995c80105b93237164e9d2e6194f75eccdfbbf8f4bc1f3799109a4db233"
|
|
}
|
|
],
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-device-pod.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:756d698573b25e05c0164534228715510ea18853d185b0198808224a7429f5f9",
|
|
"hwlab.pikastech.local/environment-input-hash": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2",
|
|
"hwlab.pikastech.local/code-input-hash": "4c9351168ee3d2393489fe4dc57dcf5c5aee4c1face38a1a24b24b08690661a3"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-device-pod",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:756d698573b25e05c0164534228715510ea18853d185b0198808224a7429f5f9",
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:756d698573b25e05c0164534228715510ea18853d185b0198808224a7429f5f9"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"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-28604fa02439"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:756d698573b25e05c0164534228715510ea18853d185b0198808224a7429f5f9"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "28604fa0243941e2303f3c0945a787a3c6117596da3bdfa5df5d56307777bde2"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "4c9351168ee3d2393489fe4dc57dcf5c5aee4c1face38a1a24b24b08690661a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:756d698573b25e05c0164534228715510ea18853d185b0198808224a7429f5f9"
|
|
}
|
|
],
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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:2b602ae39fdecdd006dac5cd232fe1b0208c120ca920895356ebefac045c608d",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7001
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_GATEWAY_MODE",
|
|
"value": "hardware-boundary"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:2b602ae39fdecdd006dac5cd232fe1b0208c120ca920895356ebefac045c608d"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
}
|
|
],
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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:2c690f0deb7bdeddc5511faf57abcbb315a61a2cdd036b5807f7b5a777a2dc10",
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:2c690f0deb7bdeddc5511faf57abcbb315a61a2cdd036b5807f7b5a777a2dc10"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"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": "63b68914f7952d89a49a62f04de0b527056bb2b8",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "63b68914f7952d89a49a62f04de0b527056bb2b8"
|
|
}
|
|
},
|
|
"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": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"hwlab.pikastech.local/artifact-source-commit": "f2d418149628fca574f17d3f9c617f384a5c49e0",
|
|
"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:7180e9a9d3ca3dc0978e9857f1cfd09183cea17b38a653288166eedc822bd53f",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7430
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_SKILLS_COMMIT_ID",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:7180e9a9d3ca3dc0978e9857f1cfd09183cea17b38a653288166eedc822bd53f"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "f2d418149628fca574f17d3f9c617f384a5c49e0"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|