← Interactive map

Dify Enterprise 3.13.2 · Service and resource index

Chart tag dify-3.13.2 · appVersion 1.17.1 · verified 03 Nov 2026

25 static workloads in either all-option reference render; dynamic resources, external dependencies and the shared alternative are listed separately. This is not a live PolyU inventory.

Service / resourceHelm workload / resourceService name and port → targetPortType / scopePurpose中文讲解
Ingress / OpenShift RouteExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Ingress / Route
both
Cluster traffic entry集群入口,转发到Caddy;OpenShift Route的实际配置由校方集群决定。
Caddy Gatewaypolyu-ee-dify-gateway
dify
polyu-ee-dify-gateway-svc
80 → 3080 · 443 → 3443
Deployment
both
Enterprise entry routing入口代理:按域名、路径和应用部署路由至平台或Runner,执行配置的访问和审计钩子。
Web Studiopolyu-ee-dify-web
dify
polyu-ee-dify-web-svc
3000 → 3000
Deployment
both
Application builderStudio及应用Web界面。
Enterprise Consolepolyu-ee-dify-enterprise-frontend
dify
polyu-ee-dify-enterprise-frontend-svc
3000 → 3000
Deployment
both
Organization administration企业管理前端:组织、成员、空间、许可证、环境和部署管理。
Core APIpolyu-ee-dify-api
dify
polyu-ee-dify-api-svc
5001 → 5001
Deployment
both
Apps, knowledge, Workflow常规应用、知识、Workflow接口;普通执行在Core路径中运行,不需要先部署App Runner。
API WebSocketpolyu-ee-dify-api-websocket
dify
polyu-ee-dify-api-websocket-svc
5001 → 5001
Deployment · optional
both
Live collaboration可选协作服务,collaboration开启时部署。
Enterprise / AppDeploypolyu-ee-dify-enterprise
dify
polyu-ee-dify-enterprise-svc
8082 → 8082 · 9000 → 9000
Deployment
both
Management + deploy control企业管理与AppDeploy同在enterprise服务内。AppDeploy通过Kubernetes API创建Runner资源,不是另一个独立appdeploy微服务。
RBAC servicepolyu-ee-dify-enterprise-rbac
dify
polyu-ee-dify-enterprise-rbac-svc
8086 → 8086
Deployment
both
Authorization decisions企业授权服务,与Kubernetes的Role和ServiceAccount是不同权限层。
Audit servicepolyu-ee-dify-enterprise-audit
dify
polyu-ee-dify-enterprise-audit-svc
8083 → 8083
Deployment
both
Audit processing消费、存储和查询审计事件;不等同运行遥测。
OTel Collectorpolyu-ee-dify-enterprise-collector
dify
polyu-ee-dify-enterprise-collector-svc
4317 → 4317 · 4318 → 4318 · 8889 → 8889
Deployment
both
Configured telemetry接收配置的OTLP信号,执行处理与导出。不是所有服务自动启用全链路追踪的保证。
Celery Workerpolyu-ee-dify-worker
dify
No ServiceDeployment
both
Background tasks常规Celery任务,包括配置的运行、索引等队列。
Worker Beatpolyu-ee-dify-worker-beat
dify
No ServiceDeployment
both
Periodic scheduling周期调度,向任务队列发送定时工作。
Trigger Workerpolyu-ee-dify-trigger-worker
dify
No ServiceDeployment
both
Trigger queues默认启用的附加worker,处理触发与调度队列。
Dataset Workerpolyu-ee-dify-dataset-worker
dify
No ServiceDeployment · optional
both
Dataset / pipeline queues可选拆分知识库与数据流水线任务。
Workflow Workerpolyu-ee-dify-workflow-worker
dify
No ServiceDeployment · optional
both
Workflow execution queues可选拆分Workflow和workflow_based_app_execution队列。
General Workerpolyu-ee-dify-general-worker
dify
No ServiceDeployment · optional
both
Mail / cleanup / telemetry可选拆分邮件、清理、遥测等队列。
Unstructuredpolyu-ee-dify-unstructured
dify
polyu-ee-dify-unstructured-svc
8000 → 8000
Deployment · optional
both
Document parsing可选文档解析服务。
Plugin Daemonpolyu-ee-dify-plugin-daemon
dify
polyu-ee-dify-plugin-daemon-svc
5002 → 5002
polyu-ee-dify-plugin-daemon-debug-svc
5003 → 5003
Deployment
both
Plugin invocation模型及工具插件调用入口;调试端口按需限制。
Plugin Managerpolyu-ee-dify-plugin-manager
dify
polyu-ee-dify-plugin-manager-svc
8084 → 8084 · 9084 → 9084
Deployment
both
Lifecycle and policy企业插件生命周期与策略管理。
Plugin Connectorpolyu-ee-dify-plugin-connector
dify
polyu-ee-dify-plugin-connector-svc
80 → 5004
Deployment
both
Build and provision承接构建和插件实例部署适配,连接镜像仓库及Kubernetes控制资源。
DifyPlugin Controllerpolyu-ee-dify-crd-controller
dify
No ServiceDeployment
both
Reconcile DifyPlugin CR协调DifyPlugin自定义资源,生成插件运行Deployment和Service等。
Plugin build JobGenerated by plugin system
Dynamic resource
Created by the plugin lifecycle/controller; generated instance names are not fixed Helm service names.Job
both
Build and push image按构建器设置创建Job,构建并推送镜像;不是每个调用都创建。
Plugin runtimeGenerated by plugin system
Dynamic resource
Created by the plugin lifecycle/controller; generated instance names are not fixed Helm service names.Dynamic Deployment
both
Gateway + plugin containers动态插件运行实例,包含插件网关与插件容器;实例数量由安装和运行策略决定。
App RunnerGenerated by AppDeploy
Dynamic resource
AppDeploy generates the resource name. Deployment, Service, ConfigMap and Secret use the generated spec.Name; there is no fixed Helm Deployment or Service name.Dynamic Deployment
both
Deployed app executionAppDeploy创建的应用执行实例。Go承接服务与控制,Python worker执行Graphon。与Agent会话沙箱分开。
Runner DeploymentGenerated by AppDeploy
Dynamic resource
AppDeploy generates the resource name. Deployment, Service, ConfigMap and Secret use the generated spec.Name; there is no fixed Helm Deployment or Service name.Deployment
both
One replica in checked source已检查实现生成1副本Deployment,workerPoolSize是Pod内并发;不能解释为HPA副本数。
Runner ServiceGenerated by AppDeploy
Dynamic resource
AppDeploy generates the resource name. Deployment, Service, ConfigMap and Secret use the generated spec.Name; there is no fixed Helm Deployment or Service name.Service
both
Application traffic endpointCaddy将已部署应用的请求转至Runner Service。
Runner ConfigMapGenerated by AppDeploy
Dynamic resource
AppDeploy generates the resource name. Deployment, Service, ConfigMap and Secret use the generated spec.Name; there is no fixed Helm Deployment or Service name.ConfigMap
both
Runner configuration保存非敏感运行配置,由AppDeploy协调。
Runner SecretGenerated by AppDeploy
Dynamic resource
AppDeploy generates the resource name. Deployment, Service, ConfigMap and Secret use the generated spec.Name; there is no fixed Helm Deployment or Service name.Secret
both
Join and runtime credentials保存join token及运行依赖凭据,图中不包含实际值。
Agent Backendpolyu-ee-dify-agent-backend
dify
polyu-ee-dify-agent-backend-svc
5050 → 5050
Deployment
both
Model and tool loopNew Agent模型、工具与事件循环常驻此服务;命令和文件操作才发送到runtime。
Sandbox Gatewaypolyu-ee-dify-sandbox-gateway
dify
polyu-ee-dify-sandbox-gateway-svc
8090 → 8090 · 9090 → 9090
Deployment
dedicated
Claim + shell proxy专属模式:创建Claim、等待绑定并代理shellctl访问;执行活动及回收管理。
Agent egress proxypolyu-ee-dify-agent-sandbox-ssrf-proxy
dify
polyu-ee-dify-agent-sandbox-ssrf-proxy-svc
3128 → 3128
Deployment
both
Agent runtime SquidAgent runtime专用代理。最终出口隔离还需核对NetworkPolicy和运行时,不能仅靠环境变量保证。
Shared Agent runtimepolyu-ee-dify-agent-runtime
dify
polyu-ee-dify-agent-runtime-svc
5004 → 5004
Deployment
shared
All sessions share runtimesandboxGateway关闭时部署固定共享runtime;不按每会话申请独立Pod。
Session sandbox PodGenerated per session
Dynamic resource
Created by the Agent sandbox lifecycle; the per-session resource name is generated, not a fixed Helm service name.Dynamic Pod
dedicated
Commands and files专属会话运行环境,动态分配,镜像是Agent runtime;与Backend常驻模型循环分开。
Agent Sandbox ControllerOutside the Dify Chart
Separate installation
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Controller
dedicated
Controller + extensions单独安装agent-sandbox控制器与扩展;本参考采用已核验v0.5.2 CRD族,不盲目追随上游最新版。
SandboxClaimGenerated per session
Dynamic resource
Created by the Agent sandbox lifecycle; the per-session resource name is generated, not a fixed Helm service name.Custom resource
dedicated
Request and binding会话申请并绑定一个Sandbox。
SandboxTemplatedify-sandbox
dify
Configured name in the dedicated-mode reference Chart render; not a fixed HTTP service.Custom resource
dedicated
Runtime Pod specification镜像、CPU/内存、网络、卷等Pod模板。
SandboxWarmPooldify-sandbox-warmpool
dify
Configured name in the dedicated-mode reference Chart render; not a fixed HTTP service.Custom resource
dedicated
Pre-created idle sandboxes维持空闲预热资源;会话可从池中获得实例。
SandboxGenerated per session
Dynamic resource
Created by the Agent sandbox lifecycle; the per-session resource name is generated, not a fixed Helm service name.Custom resource
dedicated
Managed runtime resource由控制器协调的Sandbox资源,承载运行Pod。
Code Sandboxpolyu-ee-dify-sandbox
dify
polyu-ee-dify-sandbox-svc
8194 → 8194
Deployment
both
Workflow Code nodesWorkflow Code节点执行服务;不等于New Agent shellctl会话Pod。
SSRF proxypolyu-ee-dify-ssrf-proxy
dify
polyu-ee-dify-ssrf-proxy-svc
3128 → 3128
Deployment
both
Configured HTTP egress常规HTTP/Code执行的Squid出口路径,实际是否经过代理取决于调用及网络配置。
Relational databaseExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Database
both
Core / Enterprise / audit / plugins四类逻辑数据库可以在同一数据库服务上;不要求四台独立数据库服务器。
RedisExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Data service
both
Cache, queues, Agent events缓存、Celery broker、事件/审计队列和Agent运行状态,逻辑DB不等于硬隔离。
Vector databaseExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Data service
both
Choose one supported backend按目标版本选择一种向量后端,不是同时部署所有后端。
Object storage / PVCExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Storage
both
Files and persistent artifacts持久文件、插件包、可选Home Snapshot按各组件配置,沙箱卷另行规划。
Image registryExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Infrastructure
both
Platform and plugin images提供平台、Runner与插件镜像拉取及构建推送。
Model endpointsExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.External service
both
Approved model providers常规模型插件经插件运行体系调用;Runner也可按镜像配置使用Slim执行器,不能一律画成同一插件路径。
Campus IdPExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.External system
both
SSO federation校园SSO为集成目标,尚未接通校方IdP。
LMS + trusted backendExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.External system
both
Course identity and accessLMS经可信后端做课程授权,再调用Dify;不把Dify API Key放到浏览器。
Research / tool APIsExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.External system
both
Approved external sources研究库与外部工具经获准接口接入;图中出现不代表已接通校方私有资料。
Kubernetes APIExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Cluster service
both
Resource reconciliation供AppDeploy、插件控制器与Agent控制器协调资源。
ServiceAccount + RBACExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Policy
both
Workload permissions限制控制器及平台服务的Kubernetes权限,独立于企业用户RBAC。
NetworkPolicy / CNIExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Policy
both
Runtime network rules以最终Pod和CNI验证允许/拒绝路径,代理配置不等于不可绕过网络边界。
PVC + StorageClassExternal / configured infrastructure
External / configured infrastructure
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Storage
both
Persistent volumes数据文件、插件与可选会话持久化按具体卷定义规划。
AI FoundationsLogical workspace
Logical workspace
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Logical boundary
both
Apps, knowledge, members课程工作空间是逻辑分区。
Workflow LabLogical workspace
Logical workspace
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Logical boundary
both
Apps, knowledge, members课程工作空间共享平台微服务。
Research LabLogical workspace
Logical workspace
This diagram item does not represent a single fixed Deployment or Service created by this Dify Chart.Logical boundary
both
Apps, knowledge, members不会自动创建独立Namespace、数据库或算力。

Sources: Official release · Pinned Chart. Runtime implementation cross-check: f815a071; binary equivalence to the 3.13.2 images was not verified.