feat: 集成内置 Plugin Server 并升级版本至 2.2.1#254
Merged
johnlanni merged 2 commits intoMar 22, 2026
Merged
Conversation
- 新增 all-in-one 镜像内 Plugin Server 组件及其 nginx 配置 - 在 superviosrd 中新增 plugin-server 启动管理 - 通过环境变量 USE_PLUGIN_SERVER 控制 Plugin Server 启用与否 - 调整启动脚本以支持根据 USE_PLUGIN_SERVER 配置加载 WASM 插件方式 - 配置脚本增加 --use-plugin-server 与 --no-plugin-server 参数支持 - docker-compose 添加 plugin-server 服务及相关环境变量 - 支持 All-in-One 模式通过环境变量灵活开启或关闭内置 Plugin Server - README 增加 All-in-One 发布模式文档说明使用 Plugin Server 配置 - 调整默认配置,启用 Plugin Server 并更新相关镜像标签和地址 - 增加 gitignore 忽略插件服务器生成及 IDE 配置文件
- 将 all-in-one 中插件服务器及相关组件版本从 2.1.11 升级至 2.2.1 - 优化插件服务器 nginx 配置,新增健康检查接口 /healthz - 修改 docker-compose 健康检查命令以适配新的健康检查路径 - 清理根目录 .gitignore 文件,简化忽略规则 - all-in-one/.gitignore 修正.idea 文件忽略配置 - compose/scripts/prepare.sh 脚本新增插件服务器配置检查和默认 nginx 配置写入功能
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
user: "1337:1337"配置:去除是因为 podman 的兼容性问题,可以在 envoy 镜像中添加用户来解决权限需求Changes
Plugin Server 集成
plugin-server/nginx.conf配置,监听 8002 端口,提供静态文件服务和/healthz健康检查plugin-server进程管理,通过USE_PLUGIN_SERVER环境变量控制启停plugin-server服务,配置健康检查和 profile 控制console和controller服务通过环境变量配置 WASM 插件的 HTTP 加载地址configure.sh新增--use-plugin-server/--no-plugin-server参数prepare.sh新增checkPluginServer函数,自动生成默认 nginx 配置版本升级
HIGRESS_CONTROLLER_TAG、HIGRESS_PILOT_TAG、HIGRESS_GATEWAY_TAG、HIGRESS_CONSOLE_TAG、HIGRESS_ENVOY_TAG从2.1.11升级至2.2.1CORE_VERSION、CONSOLE_VERSION、ENVOY_VERSION同步升级配置优化
COMPOSE_PROFILES判断逻辑,从精确匹配改为包含匹配(== "nacos"→== *"nacos"*),支持多 profile 场景.gitignore忽略.idea/目录Test plan
--no-plugin-server参数可正确禁用 Plugin Server🤖 Generated with [Qoder][https://qoder.com]