1473 lines
55 KiB
YAML
1473 lines
55 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": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "4eb5811360e42a300c80e9dc48981ab3b9732cd1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "4eb5811360e42a300c80e9dc48981ab3b9732cd1",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
|
|
"hwlab.pikastech.local/source-commit": "4eb5811360e42a300c80e9dc48981ab3b9732cd1",
|
|
"hwlab.pikastech.local/artifact-source-commit": "4eb5811360e42a300c80e9dc48981ab3b9732cd1",
|
|
"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:09bf3b93f84d3dd2dffa8e884fbb8a9c6bbcf3b636d8b95b42748e3f7e748b25",
|
|
"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": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:09bf3b93f84d3dd2dffa8e884fbb8a9c6bbcf3b636d8b95b42748e3f7e748b25"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_RUNTIME_SUBSTITUTE_FORBIDDEN",
|
|
"value": "unidesk-backend,provider-gateway,microservice-proxy"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_URL",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-api-v02-db",
|
|
"key": "database-url",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_SSL_MODE",
|
|
"value": "disable"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_DB_CONTRACT",
|
|
"value": "v02-redacted-presence-only"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_ADAPTER",
|
|
"value": "postgres"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_RUNTIME_DURABLE",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"name": "HWLAB_M3_IO_CONTROL_ENABLED",
|
|
"value": "false"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_TIMEOUT_MS",
|
|
"value": "1200000"
|
|
},
|
|
{
|
|
"name": "NO_PROXY",
|
|
"value": "hwlab-v02.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com"
|
|
},
|
|
{
|
|
"name": "no_proxy",
|
|
"value": "hwlab-v02.svc.cluster.local,.svc,.cluster.local,hyueapi.com,.hyueapi.com,hyui.com,.hyui.com,127.0.0.1,localhost,::1,10.0.0.0/8,10.42.0.0/16,10.43.0.0/16,api.minimaxi.com,.minimaxi.com"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_SKILLS_DIRS",
|
|
"value": "/app/skills:/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_PREINSTALLED_SKILLS_DIR",
|
|
"value": "/app/skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_USER_SKILLS_DIR",
|
|
"value": "/data/user-skills"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEFAULT_PROVIDER_PROFILE",
|
|
"value": "deepseek"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_MODEL",
|
|
"value": "deepseek-chat"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_DEEPSEEK_BASE_URL",
|
|
"value": "http://hwlab-deepseek-proxy.hwlab-v02.svc.cluster.local:4000/v1/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_MODEL",
|
|
"value": "gpt-5.5"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_BASE_URL",
|
|
"value": "http://127.0.0.1:49280/responses"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_UPSTREAM_BASE_URL",
|
|
"value": "https://hyueapi.com"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_CODEX_API_FORWARDER_PORT",
|
|
"value": "49280"
|
|
},
|
|
{
|
|
"name": "HWLAB_ACCESS_CONTROL_REQUIRED",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_ID",
|
|
"value": "usr_v02_admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME",
|
|
"value": "admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME",
|
|
"value": "HWLAB v0.2 Admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-bootstrap-admin",
|
|
"key": "password-hash",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID",
|
|
"value": "key_master_server_admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-master-server-admin-api-key",
|
|
"key": "api-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_ISSUER",
|
|
"value": "https://auth.74-48-78-17.nip.io/realms/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_SECRET",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-web-client",
|
|
"key": "client-secret",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_ADAPTER",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "AGENTRUN_MGR_URL",
|
|
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
|
|
"value": "G14"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
|
|
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
},
|
|
{
|
|
"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:09bf3b93f84d3dd2dffa8e884fbb8a9c6bbcf3b636d8b95b42748e3f7e748b25",
|
|
"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_ACCESS_CONTROL_REQUIRED",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_ID",
|
|
"value": "usr_v02_admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_USERNAME",
|
|
"value": "admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_DISPLAY_NAME",
|
|
"value": "HWLAB v0.2 Admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_PASSWORD_HASH",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-bootstrap-admin",
|
|
"key": "password-hash",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY_ID",
|
|
"value": "key_master_server_admin"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOTSTRAP_ADMIN_API_KEY",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-master-server-admin-api-key",
|
|
"key": "api-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_ISSUER",
|
|
"value": "https://auth.74-48-78-17.nip.io/realms/hwlab"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_KEYCLOAK_CLIENT_SECRET",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-cloud-web-client",
|
|
"key": "client-secret",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_ADAPTER",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "AGENTRUN_MGR_URL",
|
|
"value": "http://agentrun-mgr.agentrun-v01.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_PROVIDER_ID",
|
|
"value": "G14"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_RUNNER_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SECRET_NAMESPACE",
|
|
"value": "agentrun-v01"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_REPO_URL",
|
|
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api@sha256:09bf3b93f84d3dd2dffa8e884fbb8a9c6bbcf3b636d8b95b42748e3f7e748b25"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "4eb5811360e42a300c80e9dc48981ab3b9732cd1"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_AGENT_AGENTRUN_SOURCE_COMMIT",
|
|
"value": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_MODE",
|
|
"value": "enforce"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_API_URL",
|
|
"value": "http://hwlab-openfga.hwlab-v02.svc.cluster.local:8080"
|
|
},
|
|
{
|
|
"name": "HWLAB_OPENFGA_AUTHN_TOKEN",
|
|
"valueFrom": {
|
|
"secretKeyRef": {
|
|
"name": "hwlab-v02-openfga",
|
|
"key": "authn-preshared-key",
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "UNIDESK_MAIN_SERVER_IP",
|
|
"value": "http://74.48.78.17:18081"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"exec": {
|
|
"command": [
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:49280/health/readiness').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
|
]
|
|
},
|
|
"timeoutSeconds": 2
|
|
},
|
|
"livenessProbe": {
|
|
"exec": {
|
|
"command": [
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:49280/health/live').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"
|
|
]
|
|
},
|
|
"timeoutSeconds": 2
|
|
},
|
|
"volumeMounts": [],
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-cloud-api"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:6667/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_EXTRA_URL",
|
|
"value": "http://127.0.0.1:6667/v1/web-performance/metrics"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_EXTRA_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-user-skills",
|
|
"persistentVolumeClaim": {
|
|
"claimName": "hwlab-user-skills"
|
|
}
|
|
},
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-cloud-web",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-cloud-web",
|
|
"hwlab.pikastech.local/service-id": "hwlab-cloud-web",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/monitoring": "enabled",
|
|
"hwlab.pikastech.local/runtime-mode": "env-reuse-git-mirror-checkout",
|
|
"hwlab.pikastech.local/boot-commit": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
|
|
"hwlab.pikastech.local/source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/boot-sh": "deploy/runtime/boot/hwlab-cloud-web.sh",
|
|
"hwlab.pikastech.local/environment-digest": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5",
|
|
"hwlab.pikastech.local/environment-input-hash": "cee556b5a633e85455a5d6e1912a43ebf7c40e04a69457120dd434e3ca024d27",
|
|
"hwlab.pikastech.local/code-input-hash": "11fa0f9075eb7b9d95cf61dddf1678e6402eb6a3f3ed55001bd47c4869dabc02"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "hwlab-cloud-web",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 8080
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_API_BASE_URL",
|
|
"value": "http://hwlab-cloud-api.hwlab-v02.svc.cluster.local:6667"
|
|
},
|
|
{
|
|
"name": "HWLAB_CLOUD_WEB_PROXY_TIMEOUT_MS",
|
|
"value": "1260000"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env@sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "env-cee556b5a633"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_REF",
|
|
"value": "v0.2"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_SH",
|
|
"value": "deploy/runtime/boot/hwlab-cloud-web.sh"
|
|
},
|
|
{
|
|
"name": "HWLAB_BOOT_READ_URL",
|
|
"value": "http://git-mirror-http.devops-infra.svc.cluster.local/pikasTech/HWLAB.git"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-web-env:env-cee556b5a633"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_DIGEST",
|
|
"value": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
|
|
"value": "cee556b5a633e85455a5d6e1912a43ebf7c40e04a69457120dd434e3ca024d27"
|
|
},
|
|
{
|
|
"name": "HWLAB_CODE_INPUT_HASH",
|
|
"value": "11fa0f9075eb7b9d95cf61dddf1678e6402eb6a3f3ed55001bd47c4869dabc02"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_DIGEST",
|
|
"value": "sha256:0a6832fe93897941ea9c0a95bad4b91b9cf72661abc5567505de115cab98efc5"
|
|
},
|
|
{
|
|
"name": "HWLAB_PUBLIC_ENDPOINT",
|
|
"value": "https://hwlab.74-48-78-17.nip.io"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "http"
|
|
}
|
|
},
|
|
"imagePullPolicy": "IfNotPresent"
|
|
},
|
|
{
|
|
"name": "hwlab-metrics",
|
|
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"command": [
|
|
"node",
|
|
"/metrics/metrics-sidecar.mjs"
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_METRICS_SERVICE_ID",
|
|
"value": "hwlab-cloud-web"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_NAMESPACE",
|
|
"value": "hwlab-v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_PORT",
|
|
"value": "9100"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_URL",
|
|
"value": "http://127.0.0.1:8080/health/live"
|
|
},
|
|
{
|
|
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
|
|
"value": "2000"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"name": "metrics",
|
|
"containerPort": 9100
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 3,
|
|
"periodSeconds": 10
|
|
},
|
|
"livenessProbe": {
|
|
"httpGet": {
|
|
"path": "/health/live",
|
|
"port": "metrics"
|
|
},
|
|
"initialDelaySeconds": 10,
|
|
"periodSeconds": 20
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"mountPath": "/metrics",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "hwlab-metrics-sidecar",
|
|
"configMap": {
|
|
"name": "hwlab-v02-metrics-sidecar"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "Deployment",
|
|
"metadata": {
|
|
"name": "hwlab-gateway",
|
|
"namespace": "hwlab-v02",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hwlab-gateway",
|
|
"hwlab.pikastech.local/service-id": "hwlab-gateway",
|
|
"hwlab.pikastech.local/activation": "manual",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/environment": "v02",
|
|
"hwlab.pikastech.local/profile": "v02",
|
|
"hwlab.pikastech.local/gitops-target": "v02",
|
|
"hwlab.pikastech.local/source-commit": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"unidesk.ai/g14-staging": "false"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/gitops-note": "HWLAB v0.2 GitOps target.",
|
|
"hwlab.pikastech.local/source-commit": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"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:4841972250bad85e2b2abd420092cb1bf98c501a6e40b4017c35b78e81fab22c",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7001
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_GATEWAY_MODE",
|
|
"value": "hardware-boundary"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-gateway@sha256:4841972250bad85e2b2abd420092cb1bf98c501a6e40b4017c35b78e81fab22c"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
}
|
|
],
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
|
|
"hwlab.pikastech.local/source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"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:e3ab5853e08e15ce7944eb3f0c32376fd2daa7640f62c6d54b1533597cafa180",
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-edge-proxy@sha256:e3ab5853e08e15ce7944eb3f0c32376fd2daa7640f62c6d54b1533597cafa180"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba",
|
|
"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": "e5e376bfcc73971c56e8911eb1341204f991a6ba"
|
|
}
|
|
},
|
|
"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": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/monitoring": "enabled"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
|
|
"hwlab.pikastech.local/source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"hwlab.pikastech.local/artifact-source-commit": "62aeb9411d4902b0b01585c852e710c4264940df",
|
|
"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:7dacd0cc63b1d92a7d2a18d7a343a306a1c1bfba9827bb2a517670ec9efcb5ae",
|
|
"ports": [
|
|
{
|
|
"name": "http",
|
|
"containerPort": 7430
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "HWLAB_SKILLS_COMMIT_ID",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_ENVIRONMENT",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_COMMIT_ID",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE",
|
|
"value": "127.0.0.1:5000/hwlab/hwlab-agent-skills@sha256:7dacd0cc63b1d92a7d2a18d7a343a306a1c1bfba9827bb2a517670ec9efcb5ae"
|
|
},
|
|
{
|
|
"name": "HWLAB_IMAGE_TAG",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_TARGET",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_PROFILE",
|
|
"value": "v02"
|
|
},
|
|
{
|
|
"name": "HWLAB_GITOPS_SOURCE_COMMIT",
|
|
"value": "62aeb9411d4902b0b01585c852e710c4264940df"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|