1807 lines
71 KiB
YAML
1807 lines
71 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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125",
|
|
"hwlab.pikastech.local/artifact-source-commit": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125",
|
|
"hwlab.pikastech.local/artifact-source-commit": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125",
|
|
"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": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
}
|
|
],
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505",
|
|
"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:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 6667
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_API_PORT",
|
|
"value": "6667"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"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_KEYCLOAK_ISSUER",
|
|
"value": "https://auth.74-48-78-17.nip.io/realms/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_SECRET",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-web-client",
|
|
"key": "client-secret",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_ADAPTER",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "AGENTRUN_MGR_URL",
|
|
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
|
|
"value": "G14"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
|
|
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "HWLAB_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": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
{
|
|
"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:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505",
|
|
"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": "https://hwlab.74-48-78-17.nip.io"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_API_PORT",
|
|
"value": "6667"
|
|
},
|
|
{
|
|
"name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN",
|
|
"value": "unidesk-backend,provider-gateway,microservice-proxy"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_URL",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-api-v02-db",
|
|
"key": "database-url",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_SSL_MODE",
|
|
"value": "disable"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_CONTRACT",
|
|
"value": "v02-redacted-presence-only"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_ADAPTER",
|
|
"value": "postgres"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_DURABLE",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_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_KEYCLOAK_ISSUER",
|
|
"value": "https://auth.74-48-78-17.nip.io/realms/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_SECRET",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-web-client",
|
|
"key": "client-secret",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_ADAPTER",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "AGENTRUN_MGR_URL",
|
|
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
|
|
"value": "G14"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
|
|
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "HWLAB_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": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:627fb6c52a4dc53f12fa16d73084d4121c600f867d8b25ef6b62842a98d0a505"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "1e085691e6da2fbea8c7cf8eb9e01788cff7b125"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
{
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"hwlab.pikastech.local/artifact-source-commit": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"hwlab.pikastech.local/artifact-source-commit": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:cb51f915f95793dd7619aebcef8cbfe5a3a693274c3e4a97b905385c9a181c39",
|
|
"hwlab.pikastech.local/environment-input-hash": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be",
|
|
"hwlab.pikastech.local/code-input-hash": "a1e37f3e7fd49fe6a19f5c1a621f36421ed7c72e2a712fea315c979190c1419c"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-web",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:cb51f915f95793dd7619aebcef8cbfe5a3a693274c3e4a97b905385c9a181c39",
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:cb51f915f95793dd7619aebcef8cbfe5a3a693274c3e4a97b905385c9a181c39"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
{
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
},
|
|
{
|
|
"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-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:cb51f915f95793dd7619aebcef8cbfe5a3a693274c3e4a97b905385c9a181c39"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "a1e37f3e7fd49fe6a19f5c1a621f36421ed7c72e2a712fea315c979190c1419c"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:cb51f915f95793dd7619aebcef8cbfe5a3a693274c3e4a97b905385c9a181c39"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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:1702e6e6044b02587e6723d277905e174f6ef2f823377cda5f956a66b624db76",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7410
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "control-plane"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-mgr@sha256:1702e6e6044b02587e6723d277905e174f6ef2f823377cda5f956a66b624db76"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
}
|
|
],
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-agent-worker.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:b36f1e113f15e4312afc29d555120154bed81f33a9c6664e75dfe1935b3955e0",
|
|
"hwlab.pikastech.local/environment-input-hash": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be",
|
|
"hwlab.pikastech.local/code-input-hash": "2c063a6fadbcebb59ecae1c813bf83ee88c93bb57ccd2860e6f1333d40b62f46"
|
|
}
|
|
},
|
|
"spec": {
|
|
"restartPolicy": "Never",
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-agent-worker",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-agent-worker-env@sha256:b36f1e113f15e4312afc29d555120154bed81f33a9c6664e75dfe1935b3955e0",
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_AGENT_SESSION_MODE",
|
|
"value": "session-scoped"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-worker-env@sha256:b36f1e113f15e4312afc29d555120154bed81f33a9c6664e75dfe1935b3955e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"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-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:b36f1e113f15e4312afc29d555120154bed81f33a9c6664e75dfe1935b3955e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "2c063a6fadbcebb59ecae1c813bf83ee88c93bb57ccd2860e6f1333d40b62f46"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:b36f1e113f15e4312afc29d555120154bed81f33a9c6664e75dfe1935b3955e0"
|
|
}
|
|
],
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-device-pod.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:affde271d2537c1e3584c3eab76ee5c143babadbc0f1d244b006bb947663c5d1",
|
|
"hwlab.pikastech.local/environment-input-hash": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be",
|
|
"hwlab.pikastech.local/code-input-hash": "2bb62887d850fb56f2398e582a587f5af78482c1d10d9ce474e3c06d559c257b"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-device-pod",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:affde271d2537c1e3584c3eab76ee5c143babadbc0f1d244b006bb947663c5d1",
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:affde271d2537c1e3584c3eab76ee5c143babadbc0f1d244b006bb947663c5d1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"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-b3d3249ef6e0"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:affde271d2537c1e3584c3eab76ee5c143babadbc0f1d244b006bb947663c5d1"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "b3d3249ef6e009c80c79fad80c967ca26a8eec6a39c36c3b4eff3f2f28e5a6be"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "2bb62887d850fb56f2398e582a587f5af78482c1d10d9ce474e3c06d559c257b"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:affde271d2537c1e3584c3eab76ee5c143babadbc0f1d244b006bb947663c5d1"
|
|
}
|
|
],
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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:c1890cec0aece913bfc7690ee8ad0016971639972452489114557ba2c2e2f98b",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7001
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_GATEWAY_MODE",
|
|
"value": "hardware-boundary"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:c1890cec0aece913bfc7690ee8ad0016971639972452489114557ba2c2e2f98b"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
}
|
|
],
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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:95c3d7f7c5bc6b2984dfb21cb479ecea4d095722e8fac32840f545e5cc962dfc",
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:95c3d7f7c5bc6b2984dfb21cb479ecea4d095722e8fac32840f545e5cc962dfc"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"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": "0fdd659826f76f29008ed312a57171737dec3950",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "0fdd659826f76f29008ed312a57171737dec3950"
|
|
}
|
|
},
|
|
"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": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"hwlab.pikastech.local/artifact-source-commit": "20199b8215475e2c489cf0a5019d2ddb9df793a3",
|
|
"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:f739103e1d27755e819d70d2b54a6d210ff76011d69733748e69647b2a303572",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7430
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_SKILLS_COMMIT_ID",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:f739103e1d27755e819d70d2b54a6d210ff76011d69733748e69647b2a303572"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "20199b8215475e2c489cf0a5019d2ddb9df793a3"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|