已开启
docs: document expose-ports and sandbox-mis extensions in FluxSandbox guide #12
docs: document expose-ports and sandbox-mis extensions in FluxSandbox guide #12
已开启
thyzfmh创建于 9月28日
thyzfmh成员
9月28日

FluxSandbox中文指南补充expose-ports与sandbox-mis两个白名单扩展键,内容与《E2B沙箱出口管控与HostPort端口暴露架构及使用指南》对齐:

表5新增extensions.e2b.dev/expose-ports和extensions.cri-multiplex.dev/sandbox-mis两个可选参数。

新增HostPort端口映射一节:三种声明写法(P / P:H / P:H1-H2,端口池默认20000-29999需避开NodePort段)、格式校验失败与端口分配失败均导致创建失败(服务端日志含InvalidArgument/ResourceExhausted,整单回滚)、占用判定为内存分配表加bind探测双重检查、动态分配端口以get_endpoint返回为准,节点侧可用CRI注解e2b.dev/host-port*一次读回全部映射。

新增出口管控与HostPort组合使用小节:同一沙箱出向经代理管控、入向经宿主端口暴露,附extensions写法示例。

REST创建示例补充expose-ports写法,注明白名单转换语义;错误场景表补充FailedPrecondition(节点未开启出口管控)条目。

已在193.13.1.2实验室环境端到端验证:创建(注解下发与portmap持久化)、暂停/恢复(注解与映射还原)、endpoints接口(映射端口返回宿主端口、未映射端口原样返回)、VM内真实监听经节点IP:宿主端口可达。

likedislike
合并受阻
Tthyzfmh成员
9月28日 创建了 pull request,commit 3c8f6daa
openFuyao-botopenFuyao-bot成员
9月28日 添加了label:sig/sig-agent-sandbox
openFuyao-bot
openFuyao-bot成员
9月28日 评论:

欢迎来到 openFuyao 社区

Hey @thyzfmh , 感谢你对社区的贡献.

机器人使用手册

有关指令的使用,可以点击 此处 查看详情。开发人员可以在每个PR或Issue下方评论特定指令来触发机器人任务。您可以自助配置此仓库的 PR 合并规则,更多详情,请参阅此处。

联系指引

有疑问可以联系 SIG: sig-agent-sandbox ,
维护者是: @Gao-Pan, @fisher789, @ruanhanqing, @wwthw, @zbbbc, @zjw6 ,
审核者是: @Gao-Pan, @fisher789, @ruanhanqing, @wwthw, @zbbbc, @zjw6 .

likedislike
openFuyao-botopenFuyao-bot成员
9月28日 添加了label:openFuyao-cla/yes
openFuyao-botopenFuyao-bot成员
9月28日 添加了label:ci-running
此处折叠了91条消息 查看更多
openFuyao-bot
openFuyao-bot成员
18 天前 评论:

CLA 签署成功

thyzfmh, 感谢您的代码贡献。 所有的代码贡献者都已完成了 CLA 签署。 👍

likedislike
openFuyao-botopenFuyao-bot成员
18 天前 删除了label:ci-successful
openFuyao-botopenFuyao-bot成员
18 天前 添加了label:ci-running
openFuyao-botopenFuyao-bot成员
18 天前 删除了label:ci-running
openFuyao-botopenFuyao-bot成员
18 天前 添加了label:ci-successful