特性总览

本文档描述 YuanRong 相对于上游版本的新增特性。

目录

新增特性汇总

特性模块 状态 涉及组件
yrcli 命令行工具 GA yuanrong
异步调用 GA yuanrong, frontend
Oneshot 函数 GA functionsystem
WebTerminal GA frontend, functionsystem
Sandbox 实现综述 GA yuanrong, frontend, functionsystem
OpenTelemetry GA functionsystem
Prometheus/Loki/Tempo (日志/告警) GA functionsystem, frontend
Traefik HTTP 路由 GA functionsystem
Quota 配额管理 Beta (TODO: 与 IAM 对接) functionsystem
IAM 认证与授权 Beta (TODO: 与函数系统对接) functionsystem, frontend
Sandbox 外部认证 Beta frontend
Snapshot/Checkpoint Beta functionsystem, yuanrong

待办事项 (TODO)

功能 状态 说明
Quota 与 IAM 对接 进行中 实现配额查询和同步机制
IAM 与函数系统对接 进行中 验证完整认证流程

升级说明

Quota 配置迁移

旧版本用户如需启用 Quota 功能:

# 新增 quota_config_file 参数
quota:
  config_file: /etc/yuanrong/quota.json

IAM 配置

iam:
  enabled: true
  keycloak:
    endpoint: "${KEYCLOAK_ENDPOINT}"
  jwt:
    secret: "${JWT_SECRET}"

Traefik 路由

旧 TCP 路由配置需要迁移到新的 HTTP 路径路由格式。