1744 lines
66 KiB
YAML
1744 lines
66 KiB
YAML
{
|
|
"apiVersion": "v1",
|
|
"kind": "List",
|
|
"items": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "PersistentVolumeClaim",
|
|
"metadata": {
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-user-skills",
|
|
"hwlab.pikastech.local/service-id": "hwlab-user-skills",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "95f5c8cb1419a94e8038509211100dbd1cc15c245655026df8c3027bf9f97a04",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/rendered-by": "scripts/g14-gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"initContainers": [],
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-api",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:d46d5626a1d069624657f007a064de20f051d645577b9befbbdbccb8b4f343ed",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:d46d5626a1d069624657f007a064de20f051d645577b9befbbdbccb8b4f343ed"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN",
|
|
"value": "unidesk-backend,provider-gateway,microservice-proxy"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_URL",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-api-v02-db",
|
|
"key": "database-url",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_SSL_MODE",
|
|
"value": "disable"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_CONTRACT",
|
|
"value": "v02-redacted-presence-only"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_ADAPTER",
|
|
"value": "postgres"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_DURABLE",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"name": "HWLAB_M3_IO_CONTROL_ENABLED",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_TIMEOUT_MS",
|
|
"value": "1200000"
|
|
},
|
|
{
|
|
"name": "NO_PROXY",
|
|
"value": "hwlab-v02.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com"
|
|
},
|
|
{
|
|
"name": "no_proxy",
|
|
"value": "hwlab-v02.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_SKILLS_DIRS",
|
|
"value": "/app/skills:/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_PREINSTALLED_SKILLS_DIR",
|
|
"value": "/app/skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_USER_SKILLS_DIR",
|
|
"value": "/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE",
|
|
"value": "deepseek"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL",
|
|
"value": "deepseek-chat"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL",
|
|
"value": "http://hwlab-deepseek-proxy.hwlab-v02.svc.cluster.local:4000/v1/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_MODEL",
|
|
"value": "gpt-5.5"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_BASE_URL",
|
|
"value": "http://127.0.0.1:49280/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL",
|
|
"value": "https://hyueapi.com"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT",
|
|
"value": "49280"
|
|
},
|
|
{
|
|
"name": "HWLAB_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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_MODE",
|
|
"value": "enforce"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_API_URL",
|
|
"value": "http://hwlab-openfga.hwlab-v02.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_AUTHN_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-openfga",
|
|
"key": "authn-preshared-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "UNIDESK_MAIN_SERVER_IP",
|
|
"value": "http://74.48.78.17:18081"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-user-skills",
|
|
"mountPath": "/data/user-skills"
|
|
}
|
|
],
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-codex-api-forwarder",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:d46d5626a1d069624657f007a064de20f051d645577b9befbbdbccb8b4f343ed",
|
|
"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_TIMEOUT_MS",
|
|
"value": "1200000"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_SKILLS_DIRS",
|
|
"value": "/app/skills:/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_PREINSTALLED_SKILLS_DIR",
|
|
"value": "/app/skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_USER_SKILLS_DIR",
|
|
"value": "/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE",
|
|
"value": "deepseek"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL",
|
|
"value": "deepseek-chat"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL",
|
|
"value": "http://hwlab-deepseek-proxy.hwlab-v02.svc.cluster.local:4000/v1/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_MODEL",
|
|
"value": "gpt-5.5"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_BASE_URL",
|
|
"value": "http://127.0.0.1:49280/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:d46d5626a1d069624657f007a064de20f051d645577b9befbbdbccb8b4f343ed"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_MODE",
|
|
"value": "enforce"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_API_URL",
|
|
"value": "http://hwlab-openfga.hwlab-v02.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_AUTHN_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-openfga",
|
|
"key": "authn-preshared-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "UNIDESK_MAIN_SERVER_IP",
|
|
"value": "http://74.48.78.17:18081"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"exec": {
|
|
"command": [
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:49280/health/readiness').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
|
]
|
|
},
|
|
"timeoutSeconds": 2
|
|
},
|
|
"livenessProbe": {
|
|
"exec": {
|
|
"command": [
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:49280/health/live').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
|
]
|
|
},
|
|
"timeoutSeconds": 2
|
|
},
|
|
"volumeMounts": [],
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-cloud-api"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:6667/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-user-skills",
|
|
"persistentVolumeClaim": {
|
|
"claimName": "hwlab-user-skills"
|
|
}
|
|
},
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-cloud-web",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-cloud-web",
|
|
"hwlab.pikastech.local/service-id": "hwlab-cloud-web",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/monitoring": "enabled",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "95f5c8cb1419a94e8038509211100dbd1cc15c245655026df8c3027bf9f97a04",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:97e28c1203dbcca130b3d9369e7e4a4eb740b0af5a5f8b06bd7e904e23ee8808",
|
|
"hwlab.pikastech.local/environment-input-hash": "18c6c806d7494d1895e2adffd3930032fa57a8313a8ca5f6fba358acc613022e",
|
|
"hwlab.pikastech.local/code-input-hash": "ab61305356536465a6ce73b27e72f78a9b56e4d40a783894846fa96216ff6475"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-web",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:97e28c1203dbcca130b3d9369e7e4a4eb740b0af5a5f8b06bd7e904e23ee8808",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:97e28c1203dbcca130b3d9369e7e4a4eb740b0af5a5f8b06bd7e904e23ee8808"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-18c6c806d749"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"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-18c6c806d749"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:97e28c1203dbcca130b3d9369e7e4a4eb740b0af5a5f8b06bd7e904e23ee8808"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "18c6c806d7494d1895e2adffd3930032fa57a8313a8ca5f6fba358acc613022e"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "ab61305356536465a6ce73b27e72f78a9b56e4d40a783894846fa96216ff6475"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:97e28c1203dbcca130b3d9369e7e4a4eb740b0af5a5f8b06bd7e904e23ee8808"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:8080/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/monitoring": "enabled",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "95f5c8cb1419a94e8038509211100dbd1cc15c245655026df8c3027bf9f97a04",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-device-pod.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:e0b2b049008028effb6d09dedd92c4167bcea0c35af1da2cb12188cfbdadbe2b",
|
|
"hwlab.pikastech.local/environment-input-hash": "18c6c806d7494d1895e2adffd3930032fa57a8313a8ca5f6fba358acc613022e",
|
|
"hwlab.pikastech.local/code-input-hash": "12c3460771059d7243e088b7c72b219f6f72b9e77a146f84d10acbb4450c7288"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-device-pod",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:e0b2b049008028effb6d09dedd92c4167bcea0c35af1da2cb12188cfbdadbe2b",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-device-pod-env@sha256:e0b2b049008028effb6d09dedd92c4167bcea0c35af1da2cb12188cfbdadbe2b"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-18c6c806d749"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"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-18c6c806d749"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:e0b2b049008028effb6d09dedd92c4167bcea0c35af1da2cb12188cfbdadbe2b"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "18c6c806d7494d1895e2adffd3930032fa57a8313a8ca5f6fba358acc613022e"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "12c3460771059d7243e088b7c72b219f6f72b9e77a146f84d10acbb4450c7288"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:e0b2b049008028effb6d09dedd92c4167bcea0c35af1da2cb12188cfbdadbe2b"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-device-pod"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:7601/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-gateway",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-gateway",
|
|
"hwlab.pikastech.local/service-id": "hwlab-gateway",
|
|
"hwlab.pikastech.local/activation": "manual",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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:eb4933cb40acf99e5bb0339deb7ee6a36a0e1d201b7edb0759f65ea5945c1982",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7001
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_GATEWAY_MODE",
|
|
"value": "hardware-boundary"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:eb4933cb40acf99e5bb0339deb7ee6a36a0e1d201b7edb0759f65ea5945c1982"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
],
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "95f5c8cb1419a94e8038509211100dbd1cc15c245655026df8c3027bf9f97a04",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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:e580f25eaa8c6bcd2b2294ce84f2aa11f5a7209ded4a3ecf33339ca0f7ed306d",
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:e580f25eaa8c6bcd2b2294ce84f2aa11f5a7209ded4a3ecf33339ca0f7ed306d"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-edge-proxy"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:6667/health"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-agent-skills",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-agent-skills",
|
|
"hwlab.pikastech.local/service-id": "hwlab-agent-skills",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"unidesk.ai/g14-staging": "false",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
},
|
|
"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": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "95f5c8cb1419a94e8038509211100dbd1cc15c245655026df8c3027bf9f97a04",
|
|
"hwlab.pikastech.local/source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "48e3d24ad69728bbb0605a023e31791d3b4e5de1",
|
|
"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:a291bcad7e36a35b26b1d98a97f281ca66aeecd544619069d8f157abcd707ab9",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7430
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_SKILLS_COMMIT_ID",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:a291bcad7e36a35b26b1d98a97f281ca66aeecd544619069d8f157abcd707ab9"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "48e3d24ad69728bbb0605a023e31791d3b4e5de1"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-agent-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:7430/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|