feat: 添加基础测试环境的 ArgoCD 应用配置

添加了完整的 basic-test 环境配置文件,包括:

- 创建了 9 个 ArgoCD Application 和 ApplicationSet 配置文件:
  - agents.yaml: Agent 单元应用集配置
  - audit.yaml: 审计服务应用配置
  - edges.yaml: Edge 单元应用集配置
  - gateway.yaml: 网关服务应用配置
  - infra.yaml: 基础设施应用配置
  - longhorn.yaml: Longhorn 存储应用配置
  - sso.yaml: SSO 单点登录应用配置
  - ultra.yaml: Ultra 看板应用配置
  - bootstrap/mixingx-basic-test-root.yaml: 基础测试根应用配置

- 添加了 9 个环境变量值文件:
  - agent-common-values.yaml: Agent 通用配置
 - agents.yaml: Agent 实例定义
  - audit-values.yaml: 审计服务配置
  - edge-common-values.yaml: Edge 通用配置
  - edges.yaml: Edge 实例定义
  - gateway-values.yaml: 网关配置
  - image-version.yaml: 镜像版本配置
  - infra-values.yaml: 基础设施配置
  - single-node-values.yaml: 单节点部署配置
  - sso-values.yaml: SSO 服务配置
 - ultra-values.yaml: Ultra 服务配置

这些配置支持通过 ApplicationSet 动态生成多个 Agent 和 Edge 实例,
并包含了完整的单节点测试环境部署所需的所有组件。
This commit is contained in:
王野 committed 2026-09-03 14:43:24 +08:00
1 parent dd2237e24f
commit e26d1934d6
20 files changed
+486

No files matched your search

@@ -0,0 +1,15 @@
images:
backend:
repository: agent
tag: ""
frontend:
repository: agent-web
tag: ""
postgres:
repository: 192.168.1.119:8888/docker-proxy/library/postgres
tag: "17"
mqttCredentials:
- credentialRef: edge-main-mqtt
username: ""
password: ""
+4
View File
@@ -0,0 +1,4 @@
agents:
- id: main
description: 主 Agent
phaseType: ""
+21
View File
@@ -0,0 +1,21 @@
audit:
enabled: true
port: 5900
replicas: 1
database: audit-db
pgStorage: 5Gi
retentionMonths: 6
jwt:
ssoBaseUrl: http://sso-service:8080
mqtt:
image: 192.168.1.119:8888/docker-proxy/emqx/nanomq:0.25.2-2
brokerHost: audit-nanomq-service
brokerPort: 1883
managementPort: 8081
managementUsername: admin
managementPassword: "b093ca6f899a56a869a1cb44b9360ec2d333031969c36d8c"
consume:
queueCapacity: 128
queueMaxWaitMs: 5000
dbWriteTimeoutMs: 3000
concurrency: 2
@@ -0,0 +1,21 @@
images:
backend:
repository: edge
tag: ""
frontend:
repository: edge-web
tag: ""
mqtt:
enabled: true
image:
repository: 192.168.1.119:8888/docker-proxy/emqx/nanomq
tag: 0.25.2-2
port: 1883
wsPort: 8083
credentialRef: edge-main-mqtt
resources: {}
edgeSecrets:
root: /var/run/secrets/mixingx-edge
mounts: []
+4
View File
@@ -0,0 +1,4 @@
edges:
- id: main
idWorkerId: 17
description: 主 Edge
@@ -0,0 +1,10 @@
gateway:
port: 8080
replicas: 1
rbac: true
ingress:
enabled: true
domain: app.mixingx.local
gatewayService: gateway-service
gatewayPort: 8080
@@ -0,0 +1,37 @@
registry: 192.168.1.119:8888/mixingx
tag: develop-v.1.0.1-202607100034-13
timezone: Asia/Shanghai
images:
gateway:
repository: gateway
tag: develop-v.1.0.1-202608050744-6
sso:
repository: sso
tag: develop-v.1.0.1-202609030134-47
ssoWeb:
repository: sso-web
tag: develop-v.1.0.1-202609030134-47
ultra:
repository: ultra
tag: develop-v.1.0.1-202609030137-44
ultraWeb:
repository: ultra-web
tag: develop-v.1.0.1-202609030137-44
audit:
repository: audit
tag: develop-v.1.0.1-202608310641-11
auditWeb:
repository: audit-web
tag: develop-v.1.0.1-202608310641-11
edge:
repository: edge
tag: develop-v.1.0.1-202608280807-46
edgeWeb:
repository: edge-web
tag: develop-v.1.0.1-202608280807-46
agent:
repository: agent
tag: develop-v.1.0.1-202609030136-94
agentWeb:
repository: agent-web
tag: develop-v.1.0.1-202609030136-94
+11
View File
@@ -0,0 +1,11 @@
sharedDatastores:
- name: redis
image: 192.168.1.119:8888/docker-proxy/library/redis:8.6
port: 6379
storage: 2Gi
mountPath: /data
- name: messaging
image: 192.168.1.119:8888/docker-proxy/library/rabbitmq:4.3-management
port: 5672
storage: 2Gi
mountPath: /var/lib/rabbitmq
@@ -0,0 +1,41 @@
timezone: Asia/Shanghai
storage:
className: longhorn
size: 5Gi
keep: true
sharedInfra:
ultra:
host: ultra-service
port: 8080
postgres:
image: 192.168.1.119:8888/docker-proxy/library/postgres:17
username: postgres
password: "585ef774ffcf0b8704d3767c4e97bc6f1ec48066b8f2b7f1"
port: 5432
redis:
host: redis-service
port: 6379
password: "1dea4def9d1755061f671fd38583337b21c6bf887fd1f935"
rabbitmq:
host: messaging-service
port: 5672
username: mixingx
password: "8a322bf86129110552cbbe0369f0ccc263c67b9fb54ce9cc"
otlp:
endpoint: http://k8s-dashboard-service:18889
protocol: grpc
images:
postgres:
repository: 192.168.1.119:8888/docker-proxy/library/postgres
tag: "17"
audit:
publisher:
enabled: true
brokerUrl: mqtt://audit-nanomq-service:1883
tier:
enabled: false
+9
View File
@@ -0,0 +1,9 @@
sso:
name: sso
role: sso
serviceId: sso
database: sso-db
pgStorage: 10Gi
replicas: 1
description: 统一登录
webBasePath: /sso/
@@ -0,0 +1,9 @@
ultra:
name: ultra
role: ultra
serviceId: ultra
database: ultra-db
pgStorage: 10Gi
replicas: 1
description: Ultra 看板
webBasePath: /ultra/