Helm部署minio\nginx\mongodb\elasticsearch

本文介绍如何配置MinIO及数据库服务,包括独立与分布式模式下的设置,详细讲解了存储类、端口映射等参数,并提供了针对特定问题的解决方案。

minio

appVersion:2022-06-25

chartVersion:11.7.7

一、独立模式

auth:
  auth:
    rootPassword: "12345678rtt"     # 密码长度需>=8位
    rootUser: "root"
mode: standalone                    # 默认为单机模式
persistence:
  storageClass: minio-data          # 存储类,必填
  size: 8Gi
service:
  type: NodePort                    # 暴露端口
  port: 9000
  nodePort: 31311

二、分布式模式

auth:
  auth:
    rootPassword: "12345678rtt"     # 密码长度需>=8位
    rootUser: "root"
mode: standalonedistributed                    # 默认为单机模式
statefulset:
  replicaCount: 3                   # 分布式模式可根据需求添加,默认
persistence:
  storageClass: minio-data          # 存储类,必填
  size: 8Gi
service:
  type: NodePort                    # 暴露端口
  port: 9000
  nodePort: 31311

验证

在这里插入图片描述

nginx

appVersion:1.22.0

chartVersion:12.0.4

service:
  type: NodePort                    # 暴露端口

验证

通过暴露端口访问 查看nginx页面

mongodb

appVersion:4.4.13

chartVersion:11.2.0

一、 独立模式

persistence:
  storageClass: "nfs-client"
architecture: "standalone"
auth:
  rootPassword: "5gTU4o7g5g"
  rootUser: "root"
service:
  type: "NodePort"

二、主从模式

persistence:
  storageClass: "nfs-client"
architecture: "replicaset"
auth:
  rootPassword: "5gTU4o7g5g"
  rootUser: "root"
  replicaSetKey: "mymongodb"   # 更新时需要,一般不用
replicaCount: 2                # 默认为2
externalAccess:
  enabled: true
  service:
    type: "NodePort"
    nodePorts:                 # nodePorts数量需与replicaCount数量一致
     - 30018
     - 30019

该版本测试安装时,会出现容器无法就绪的问题

可以去掉readinessProbe

readinessProbe:
  enabled: false             # 默认为true

可以修改chart包,修改template->standalone->dep-sts.yaml template->replicaset->statefulset.yaml

mongosh $TLS_OPTIONS --eval 'db.hello().isWritablePrimary || db.hello().secondary' | grep -q 'true'

将mongosh改成mongo,作用差不多

验证(使用navicat for mongodb):

独立模式
在这里插入图片描述

主从模式
在这里插入图片描述

elasticsearch

appVersion:7.17.3

chartVersion:17.9.29

global:
  storageClass: "alicloud-cnfs-nas"
  kibanaEnabled: false
master:
  replicaCount: 1
data:
  replicaCount: 1
coordinating:
  replicaCount: 1
ingest:
  replicaCount: 1

kibana作为子chart可集成

global:
  storageClass: "alicloud-cnfs-nas"
  kibanaEnabled: true
kibana:
  elasticsearch:
    hosts:
      - 172.34.24.23
kibana:
  elasticsearch:
    port: 30333(可通过下面协调节点(coordinating)暴露接口)
coordinating:
  service:
    type: NodePort
    nodePort:30333

可通过kubectl edit修改以上kibana - service的type为NodePort

第二种方式,单独部署kibana进行验证

vim rtt.yaml

内容:
service:
  type: NodePort
elasticsearch:
  hosts: [your-elasticsearch-ip]
  port: your-elasticsearch-port
persistence:
  storageClass: "alicloud-cnfs-nas"
  size: 10Gi

通过helm安装

helm install -f rtt.yaml test-kibana bitnami/kibana --version 9.3.17 --namespace chart

注意kibana版本需与elasticsearch版本适配

验证

访问暴露端口
在这里插入图片描述

系统需支持私有化部署,使用J2EE相关的主流应用框架,具备易维护、可扩展等特点。 (1) 项目架构设计总体要求 ①项目必须采用前后端分离架构;静态资源独立存放;涉及到文件(如图片)需单独服务提供。 ②前端使用vue框架,后端服务使用SpringBoot+dubbo微服务框架。 ③项目总体要求具备高可用、高性能、可扩展性等特点。 (2) Java开源包及框架选型要求 ①jdk限定选用1.8版本。 ②开源jar包选用应注意license,应使用合法license的jar包(如:Apache License,Spring License等),避免安全隐患;能够通过maven下载管理。 ③开源框架应选用以Spring boot为核心的常规主流框架,ORM框架选用mybatis,json处理框架处理使用jackson、fastjson、Gson,不能使用存在安全隐患的框架等。 ④如涉及后台管理系统,则应采用公司自研的nebula框架。 (3) 中间件选用 ①数据库中间件应选用mysql。 ②应用服务器及Web服务器中间件应选用主流产品,包含:tomcat、nginx、apache http server(优先使用tomcat、nginx)。 ③消息服务中间件应选用主流产品,包含但不限于:rabbitMQ、activeMQ、rocketMQ、kafka(优先使用kafka)。 ④缓存中间件应选用主流产品,包含但不限于:redis、memcache(优先使用redis)。 ⑤搜索引擎必须使用常见的产品,如: elasticsearch、solr(优先使用elasticsearch) 你是资深软件专家,根据上述要求,给出系统架构设计
09-03
<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="2200" height="1900" viewBox="0 0 2200 1900"> <!-- 定义箭头标记 --> <defs> <marker id="arrow" markerWidth="10" markerHeight="10" refX="10" refY="5" orient="auto" markerUnits="strokeWidth"> <path d="M0,0 L10,5 L0,10 z" fill="#444"/> </marker> </defs> <!-- 标题和说明 --> <text x="40" y="60" fill="#111" font-size="34" font-family="Segoe UI, Arial, sans-serif" font-weight="700">.NET 低代码 BI/报表平台(帆软风格)参考架构</text> <text x="40" y="95" fill="#555" font-size="18" font-family="Segoe UI, Arial, sans-serif">设计时(Design-time)与运行时(Run-time)双通道,支持插件生态、一键打包部署与企业级治理能力</text> <text x="1400" y="95" fill="#333" font-size="16" font-family="Segoe UI, Arial, sans-serif">关键技术栈:.NET 8/9, ASP.NET Core, EF Core, Redis, Quartz, OTel, RabbitMQ/Kafka, Elasticsearch, MinIO/S3, Keycloak/OIDC</text> <!-- 架构层级容器 - 增加了层级间距,避免重叠 --> <rect x="20" y="130" width="2160" height="250" rx="20" ry="20" fill="#ffffff" stroke="#e0e6ef" stroke-width="2" stroke-dasharray="6 6"/> <rect x="20" y="410" width="2160" height="260" rx="20" ry="20" fill="#ffffff" stroke="#e0e6ef" stroke-width="2" stroke-dasharray="6 6"/> <rect x="20" y="700" width="2160" height="300" rx="20" ry="20" fill="#ffffff" stroke="#e0e6ef" stroke-width="2" stroke-dasharray="6 6"/> <rect x="20" y="1030" width="2160" height="310" rx="20" ry="20" fill="#ffffff" stroke="#e0e6ef" stroke-width="2" stroke-dasharray="6 6"/> <rect x="20" y="1370" width="2160" height="280" rx="20" ry="20" fill="#ffffff" stroke="#e0e6ef" stroke-width="2" stroke-dasharray="6 6"/> <!-- 层级标题 --> <text x="32" y="158" fill="#6b7280" font-size="20" font-family="Segoe UI, Arial, sans-serif" font-weight="600">客户端 / 设计中心(前端 UI + CLI)</text> <text x="32" y="438" fill="#6b7280" font-size="20" font-family="Segoe UI, Arial, sans-serif" font-weight="600">低代码引擎(DSL/模型/编排/代码生成)</text> <text x="32" y="728" fill="#6b7280" font-size="20" font-family="Segoe UI, Arial, sans-serif" font-weight="600">应用服务层(业务模块 / 微内核插件)</text> <text x="32" y="1058" fill="#6b7280" font-size="20" font-family="Segoe UI, Arial, sans-serif" font-weight="600">平台核心层(网关/配置/缓存/事件/安全/可观测性/多租户)</text> <text x="32" y="1398" fill="#6b7280" font-size="20" font-family="Segoe UI, Arial, sans-serif" font-weight="600">基础设施层(数据库/存储/消息/身份/CI/CD/容器/外部系统)</text> <!-- 第一层:客户端 / 设计中心 --> <g> <rect x="40" y="180" width="560" height="200" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="40" y="180" width="560" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="56" y="212" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">Web 可视化设计器</text> <text x="58" y="258" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 页面/报表/仪表盘拖拽</text> <text x="58" y="286" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 数据绑定与查询向导</text> <text x="58" y="314" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 组件库(表格/图表/表单/布局/地图)</text> <text x="58" y="342" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 即时预览/调试(Mock 数据)</text> </g> <g> <rect x="620" y="180" width="480" height="200" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="620" y="180" width="480" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="636" y="212" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">CLI 工具</text> <text x="638" y="258" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 项目初始化(dotnet new)</text> <text x="638" y="286" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 一键打包发布(EXE/Docker/NuGet)</text> <text x="638" y="314" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 脚手架 & 模板管理</text> <text x="638" y="342" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 密钥/证书/环境管理</text> </g> <g> <rect x="1120" y="180" width="520" height="200" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="1120" y="180" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="1136" y="212" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">运行态预览与权限控制</text> <text x="1138" y="258" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 多租户/多环境预览</text> <text x="1138" y="286" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• RBAC 权限模拟</text> <text x="1138" y="314" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 版本/变更对比</text> <text x="1138" y="342" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 审计日志入口</text> </g> <!-- 第二层:低代码引擎 --> <g> <rect x="40" y="440" width="520" height="220" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="40" y="440" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="56" y="472" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">DSL / 模型层</text> <text x="58" y="518" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• YAML/JSON/Schema</text> <text x="58" y="546" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 元数据:数据集/参数/模板/流程</text> <text x="58" y="574" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 版本与依赖管理(语义化)</text> <text x="58" y="602" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 校验器与约束(SchemaValidation)</text> </g> <g> <rect x="580" y="440" width="520" height="220" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="580" y="440" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="596" y="472" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">代码生成与模板</text> <text x="598" y="518" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• C# partials/Source Generators</text> <text x="598" y="546" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• T4/Handlebars 模板</text> <text x="598" y="574" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 最小 API / 控制台项目生成</text> <text x="598" y="602" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 插件包装与签名</text> </g> <g> <rect x="1120" y="440" width="520" height="220" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="1120" y="440" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="1136" y="472" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">流程/规则/表达式引擎</text> <text x="1138" y="518" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 状态机/BPMN-风格编排</text> <text x="1138" y="546" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 规则引擎(Expressions/JS/CSX)</text> <text x="1138" y="574" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 任务编排(依赖/重试/补偿)</text> <text x="1138" y="602" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 模板引擎(报表/打印)</text> </g> <!-- 第三层:应用服务层 --> <g> <rect x="40" y="730" width="520" height="260" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="40" y="730" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="56" y="762" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">报表/仪表盘服务</text> <text x="58" y="808" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 分页/填报/联动/钻取</text> <text x="58" y="836" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 导出:Excel/PDF/CSV/图片</text> <text x="58" y="864" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 模板与主题管理</text> <text x="58" y="892" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 权限与水印/脱敏</text> </g> <g> <rect x="580" y="730" width="520" height="260" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="580" y="730" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="596" y="762" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">数据源 & 查询引擎</text> <text x="598" y="808" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 适配器:SQLServer/MySQL/PostgreSQL/Oracle/SQLite</text> <text x="598" y="836" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• API/CSV/Excel/Parquet</text> <text x="598" y="864" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• SQL Builder/聚合/联接/缓存</text> <text x="598" y="892" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 连接池与熔断/重试/限流</text> </g> <g> <rect x="1120" y="730" width="520" height="260" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="1120" y="730" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="1136" y="762" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">用户/组织/权限(RBAC/ABAC)</text> <text x="1138" y="808" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• SSO(OAuth2/OIDC/SAML)</text> <text x="1138" y="836" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 租户/组织/岗位/角色</text> <text x="1138" y="864" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 细粒度数据权限(Row/Column)</text> <text x="1138" y="892" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 审计与合规(留痕/审批)</text> </g> <!-- 第四层:平台核心层 --> <g> <rect x="40" y="1060" width="520" height="280" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="40" y="1060" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="56" y="1092" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">API 网关 / 反向代理</text> <text x="58" y="1138" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 路由/聚合/协议转换</text> <text x="58" y="1166" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 认证鉴权(JWT/Keycloak)</text> <text x="58" y="1194" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 限流/熔断/灰度发布</text> <text x="58" y="1222" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 全链路跟踪注入</text> </g> <g> <rect x="580" y="1060" width="520" height="280" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="580" y="1060" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="596" y="1092" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">核心框架</text> <text x="598" y="1138" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• .NET 8/9 + ASP.NET Core</text> <text x="598" y="1166" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• DI/Options/配置中心</text> <text x="598" y="1194" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• EF Core/Dapper 数据访问</text> <text x="598" y="1222" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• Redis 缓存/分布式锁</text> <text x="598" y="1250" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• Quartz 调度中心</text> <text x="598" y="1278" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 事件总线(RabbitMQ/Kafka)</text> </g> <g> <rect x="1120" y="1060" width="520" height="280" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="1120" y="1060" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="1136" y="1092" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">治理与可观测性</text> <text x="1138" y="1138" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 日志/指标/追踪(OpenTelemetry)</text> <text x="1138" y="1166" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 多租户隔离(库/架构/字段)</text> <text x="1138" y="1194" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 灰度/金丝雀发布</text> <text x="1138" y="1222" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 国际化/本地化(i18n/L10n)</text> <text x="1138" y="1250" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• License 管控/插件签名验证</text> </g> <!-- 第五层:基础设施层 --> <g> <rect x="40" y="1400" width="520" height="240" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="40" y="1400" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="56" y="1432" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">数据与缓存</text> <text x="58" y="1478" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 数据库集群:SQL Server/MySQL/PostgreSQL/Oracle</text> <text x="58" y="1506" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 缓存:Redis Cluster</text> <text x="58" y="1534" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 搜索:Elasticsearch/OpenSearch</text> <text x="58" y="1562" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 对象存储:MinIO/S3/OSS</text> </g> <g> <rect x="580" y="1400" width="520" height="240" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="580" y="1400" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="596" y="1432" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">消息与集成</text> <text x="598" y="1478" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• RabbitMQ/Kafka</text> <text x="598" y="1506" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 定时任务队列/重试/死信</text> <text x="598" y="1534" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 外部系统:SAP/ERP/CRM/表单系统</text> <text x="598" y="1562" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• Webhooks/GraphQL Federation</text> </g> <g> <rect x="1120" y="1400" width="520" height="240" rx="12" ry="12" fill="#f9fbfd" stroke="#3a6ea5" stroke-width="2"/> <rect x="1120" y="1400" width="520" height="48" rx="12" ry="12" fill="#3a6ea5" stroke="#3a6ea5" stroke-width="2"/> <text x="1136" y="1432" fill="#ffffff" font-size="24" font-family="Segoe UI, Arial, sans-serif" font-weight="700">运维与部署</text> <text x="1138" y="1478" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• Kubernetes/Docker/Helm</text> <text x="1138" y="1506" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• CI/CD(GitHub Actions/Jenkins/Azure Pipelines)</text> <text x="1138" y="1534" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• 制品库(NuGet/Nexus/ACR/ECR)</text> <text x="1138" y="1562" fill="#1b1f23" font-size="18" font-family="Segoe UI, Arial, sans-serif">• CDN/WAF/反向代理(Nginx/Traefik)</text> </g> <!-- 连接线条与说明 - 调整了线条路径,避免交叉重叠 --> <line x1="320" y1="380" x2="300" y2="440" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="310" y="403" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">模型/DSL</text> <line x1="860" y1="380" x2="840" y2="440" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="850" y="403" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">模板生成/构建</text> <line x1="1380" y1="380" x2="1380" y2="440" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="1390" y="403" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">流程/规则</text> <line x1="300" y1="660" x2="300" y2="730" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="310" y="685" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">生成报表/页面</text> <line x1="840" y1="660" x2="840" y2="730" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="850" y="685" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">生成 API/任务</text> <line x1="1380" y1="660" x2="1380" y2="730" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="1390" y="685" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">注册流程/权限</text> <line x1="320" y1="180" x2="300" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="220" y="620" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">HTTP/gRPC</text> <line x1="860" y1="180" x2="840" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="850" y="620" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">发布/回滚</text> <line x1="1380" y1="180" x2="1380" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="1390" y="620" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">预览/审计</text> <line x1="300" y1="1370" x2="300" y2="1340" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="310" y="1350" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">SQL/缓存</text> <line x1="840" y1="1370" x2="840" y2="1340" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="850" y="1350" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">事件/队列</text> <line x1="1380" y1="1370" x2="1380" y2="1340" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="1390" y="1350" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">日志/镜像</text> <line x1="300" y1="1340" x2="840" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="570" y="1190" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">数据 API</text> <line x1="840" y1="1340" x2="300" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="570" y="1190" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">API 路由</text> <line x1="1380" y1="1340" x2="840" y2="1060" stroke="#444" stroke-width="2.5" marker-end="url(#arrow)"/> <text x="1110" y="1190" fill="#444" font-size="16" font-family="Segoe UI, Arial, sans-serif">鉴权校验</text> </svg> 这个svg描述的架构怎么样
08-31
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值