Files
pikasTech-agentrun/deploy/deploy.json
T
2026-05-29 18:44:24 +08:00

70 lines
2.3 KiB
JSON

{
"lane": "v0.1",
"runtimeNamespace": "agentrun-v01",
"gitopsBranch": "v0.1-gitops",
"runtimePath": "deploy/gitops/g14/runtime-v01",
"services": [
{
"id": "agentrun-mgr",
"component": "manager",
"enabled": true,
"replicas": 1,
"ports": [{ "name": "http", "containerPort": 8080 }],
"health": {
"livePath": "/health/live",
"readinessPath": "/health/readiness"
},
"env": [
{ "name": "AGENTRUN_LANE", "value": "v0.1" },
{ "name": "AGENTRUN_RUNTIME_NAMESPACE", "value": "agentrun-v01" },
{ "name": "DATABASE_URL", "secretRef": { "name": "agentrun-v01-mgr-db", "key": "DATABASE_URL" } }
],
"resources": {
"requests": { "cpu": "100m", "memory": "256Mi" },
"limits": { "cpu": "800m", "memory": "1Gi" }
}
},
{
"id": "agentrun-runner",
"component": "runner-job-template",
"enabled": true,
"serviceAccount": "agentrun-v01-runner",
"secretMounts": [
{
"name": "codex-secret-projection",
"secretRef": { "name": "agentrun-v01-provider-codex", "keys": ["auth.json", "config.toml"] },
"projectionPath": "/var/run/agentrun/secrets/codex-0",
"runtimeCopyPath": "/home/agentrun/.codex-codex",
"profile": "codex",
"readOnly": true,
"writableCopy": true
},
{
"name": "deepseek-secret-projection",
"secretRef": { "name": "agentrun-v01-provider-deepseek", "keys": ["auth.json", "config.toml"] },
"projectionPath": "/var/run/agentrun/secrets/deepseek-0",
"runtimeCopyPath": "/home/agentrun/.codex-deepseek",
"profile": "deepseek",
"readOnly": true,
"writableCopy": true
}
],
"env": [
{ "name": "HOME", "value": "/home/agentrun" },
{ "name": "AGENTRUN_LANE", "value": "v0.1" }
],
"resources": {
"requests": { "cpu": "250m", "memory": "512Mi" },
"limits": { "cpu": "2", "memory": "4Gi" }
}
}
],
"postgres": {
"statefulSet": "agentrun-v01-postgres",
"service": "agentrun-v01-postgres",
"database": "agentrun_v01",
"secretRef": { "name": "agentrun-v01-postgres" },
"dataPvc": "agentrun-v01-postgres-data"
}
}