{{/* agent-0 四胞胎:后端 + 前端 + 独立 postgres(三者 podAffinity 同节点) */}} {{- $root := $ }} # 1. 后端 {{ include "mixingx.backend" (dict "name" "agent-0" "image" "agent" "role" "agent" "serviceId" "agent-0" "database" "agent-db-0" "root" $root) }} # 2. 前端(亲和到 agent-0) {{ include "mixingx.frontend" (dict "name" "agent-web-0" "image" "agent-web" "basePath" "/agent-0/" "affinity" "agent-0" "root" $root) }} # 3. 独立 postgres(亲和到 agent-0) {{ include "mixingx.postgres" (dict "name" "agent-0" "database" "agent-db-0" "pgStorage" "5Gi" "affinity" true "root" $root) }}