Jump To Close Expand all Collapse all Table of contents Serverless 1. 发行注记 Expand section "1. 发行注记" Collapse section "1. 发行注记" 1.1. 关于 API 版本 1.2. 正式发布(GA)和技术预览(TP)功能 1.3. 弃用和删除的功能 1.4. Red Hat OpenShift Serverless 1.28 发行注记 Expand section "1.4. Red Hat OpenShift Serverless 1.28 发行注记" Collapse section "1.4. Red Hat OpenShift Serverless 1.28 发行注记" 1.4.1. 新功能 1.4.2. 已知问题 1.5. Red Hat OpenShift Serverless 1.27 发行注记 Expand section "1.5. Red Hat OpenShift Serverless 1.27 发行注记" Collapse section "1.5. Red Hat OpenShift Serverless 1.27 发行注记" 1.5.1. 新功能 1.5.2. 修复的问题 1.5.3. 已知问题 1.6. Red Hat OpenShift Serverless 1.26 发行注记 Expand section "1.6. Red Hat OpenShift Serverless 1.26 发行注记" Collapse section "1.6. Red Hat OpenShift Serverless 1.26 发行注记" 1.6.1. 新功能 1.6.2. 修复的问题 1.6.3. 已知问题 1.7. Red Hat OpenShift Serverless 1.25.0 发行注记 Expand section "1.7. Red Hat OpenShift Serverless 1.25.0 发行注记" Collapse section "1.7. Red Hat OpenShift Serverless 1.25.0 发行注记" 1.7.1. 新功能 1.7.2. 修复的问题 1.7.3. 已知问题 1.8. Red Hat OpenShift Serverless 1.24.0 发行注记 Expand section "1.8. Red Hat OpenShift Serverless 1.24.0 发行注记" Collapse section "1.8. Red Hat OpenShift Serverless 1.24.0 发行注记" 1.8.1. 新功能 1.8.2. 修复的问题 1.8.3. 已知问题 1.9. Red Hat OpenShift Serverless 1.23.0 发行注记 Expand section "1.9. Red Hat OpenShift Serverless 1.23.0 发行注记" Collapse section "1.9. Red Hat OpenShift Serverless 1.23.0 发行注记" 1.9.1. 新功能 1.9.2. 已知问题 1.10. Red Hat OpenShift Serverless 1.22.0 发行注记 Expand section "1.10. Red Hat OpenShift Serverless 1.22.0 发行注记" Collapse section "1.10. Red Hat OpenShift Serverless 1.22.0 发行注记" 1.10.1. 新功能 1.10.2. 已知问题 1.11. Red Hat OpenShift Serverless 1.21.0 发行注记 Expand section "1.11. Red Hat OpenShift Serverless 1.21.0 发行注记" Collapse section "1.11. Red Hat OpenShift Serverless 1.21.0 发行注记" 1.11.1. 新功能 1.11.2. 修复的问题 1.11.3. 已知问题 1.12. Red Hat OpenShift Serverless 1.20.0 发行注记 Expand section "1.12. Red Hat OpenShift Serverless 1.20.0 发行注记" Collapse section "1.12. Red Hat OpenShift Serverless 1.20.0 发行注记" 1.12.1. 新功能 1.12.2. 已知问题 1.13. Red Hat OpenShift Serverless 1.19.0 发行注记 Expand section "1.13. Red Hat OpenShift Serverless 1.19.0 发行注记" Collapse section "1.13. Red Hat OpenShift Serverless 1.19.0 发行注记" 1.13.1. 新功能 1.13.2. 修复的问题 1.13.3. 已知问题 1.14. Red Hat OpenShift Serverless 1.18.0 发行注记 Expand section "1.14. Red Hat OpenShift Serverless 1.18.0 发行注记" Collapse section "1.14. Red Hat OpenShift Serverless 1.18.0 发行注记" 1.14.1. 新功能 1.14.2. 修复的问题 1.14.3. 已知问题 1.15. Red Hat OpenShift Serverless 1.17.0 发行注记 Expand section "1.15. Red Hat OpenShift Serverless 1.17.0 发行注记" Collapse section "1.15. Red Hat OpenShift Serverless 1.17.0 发行注记" 1.15.1. 新功能 1.15.2. 已知问题 1.16. Red Hat OpenShift Serverless 1.16.0 发行注记 Expand section "1.16. Red Hat OpenShift Serverless 1.16.0 发行注记" Collapse section "1.16. Red Hat OpenShift Serverless 1.16.0 发行注记" 1.16.1. 新功能 1.16.2. 已知问题 2. 发现 Expand section "2. 发现" Collapse section "2. 发现" 2.1. 关于 OpenShift Serverless Expand section "2.1. 关于 OpenShift Serverless" Collapse section "2.1. 关于 OpenShift Serverless" 2.1.1. Knative Serving Expand section "2.1.1. Knative Serving" Collapse section "2.1.1. Knative Serving" 2.1.1.1. Knative Serving 资源 2.1.2. Knative Eventing 2.1.3. 支持的配置 2.1.4. 可伸缩性和性能 2.1.5. 其他资源 2.2. 关于 OpenShift Serverless Functions Expand section "2.2. 关于 OpenShift Serverless Functions" Collapse section "2.2. 关于 OpenShift Serverless Functions" 2.2.1. 包括的运行时 2.2.2. 后续步骤 2.3. 事件源 2.4. 代理(Broker) Expand section "2.4. 代理(Broker)" Collapse section "2.4. 代理(Broker)" 2.4.1. 代理类型 Expand section "2.4.1. 代理类型" Collapse section "2.4.1. 代理类型" 2.4.1.1. 用于开发的默认代理实现 2.4.1.2. 生产环境就绪的 Kafka 代理实现 2.4.2. 后续步骤 2.5. 频道和订阅 Expand section "2.5. 频道和订阅" Collapse section "2.5. 频道和订阅" 2.5.1. 频道实现类型 2.5.2. 后续步骤 3. 安装 Expand section "3. 安装" Collapse section "3. 安装" 3.1. 安装 OpenShift Serverless Operator Expand section "3.1. 安装 OpenShift Serverless Operator" Collapse section "3.1. 安装 OpenShift Serverless Operator" 3.1.1. 开始前 Expand section "3.1.1. 开始前" Collapse section "3.1.1. 开始前" 3.1.1.1. 定义集群大小要求 3.1.1.2. 使用机器集扩展集群 3.1.2. 通过 Web 控制台安装 OpenShift Serverless Operator 3.1.3. 通过 CLI 安装 OpenShift Serverless Operator 3.1.4. 其他资源 3.1.5. 后续步骤 3.2. 安装 Knative Serving Expand section "3.2. 安装 Knative Serving" Collapse section "3.2. 安装 Knative Serving" 3.2.1. 使用 Web 控制台安装 Knative Serving 3.2.2. 使用 YAML 安装 Knative Serving 3.2.3. 后续步骤 3.3. 安装 Knative Eventing Expand section "3.3. 安装 Knative Eventing" Collapse section "3.3. 安装 Knative Eventing" 3.3.1. 使用 Web 控制台安装 Knative Eventing 3.3.2. 使用 YAML 安装 Knative Eventing 3.3.3. 后续步骤 3.4. 删除 OpenShift Serverless Expand section "3.4. 删除 OpenShift Serverless" Collapse section "3.4. 删除 OpenShift Serverless" 3.4.1. 卸载 Knative Serving 3.4.2. 卸载 Knative Eventing 3.4.3. 删除 OpenShift Serverless Operator Expand section "3.4.3. 删除 OpenShift Serverless Operator" Collapse section "3.4.3. 删除 OpenShift Serverless Operator" 3.4.3.1. 使用 Web 控制台从集群中删除 Operator 3.4.3.2. 使用 CLI 从集群中删除 Operator 3.4.3.3. 刷新失败的订阅 3.4.4. 删除 OpenShift Serverless 自定义资源定义 4. Knative CLI Expand section "4. Knative CLI" Collapse section "4. Knative CLI" 4.1. 安装 Knative CLI Expand section "4.1. 安装 Knative CLI" Collapse section "4.1. 安装 Knative CLI" 4.1.1. 使用 OpenShift Container Platform Web 控制台安装 Knative CLI 4.1.2. 使用 RPM 软件包管理器为 Linux 安装 Knative CLI 4.1.3. 为 Linux 安装 Knative CLI 4.1.4. 为 macOS 安装 Knative CLI 4.1.5. 为 Windows 安装 Knative CLI 4.2. 配置 Knative CLI 4.3. Knative CLI 插件 Expand section "4.3. Knative CLI 插件" Collapse section "4.3. Knative CLI 插件" 4.3.1. 使用 kn-event 插件构建事件 4.3.2. 使用 kn-event 插件发送事件 4.4. Knative Serving CLI 命令 Expand section "4.4. Knative Serving CLI 命令" Collapse section "4.4. Knative Serving CLI 命令" 4.4.1. kn service 命令 Expand section "4.4.1. kn service 命令" Collapse section "4.4.1. kn service 命令" 4.4.1.1. 使用 Knative CLI 创建无服务器应用程序 4.4.1.2. 使用 Knative CLI 更新无服务器应用程序 4.4.1.3. 应用服务声明 4.4.1.4. 使用 Knative CLI 描述无服务器应用程序 4.4.2. 关于 Knative CLI 离线模式 Expand section "4.4.2. 关于 Knative CLI 离线模式" Collapse section "4.4.2. 关于 Knative CLI 离线模式" 4.4.2.1. 使用离线模式创建服务 4.4.3. kn 容器命令 Expand section "4.4.3. kn 容器命令" Collapse section "4.4.3. kn 容器命令" 4.4.3.1. Knative 客户端多容器支持 4.4.4. kn 域命令 Expand section "4.4.4. kn 域命令" Collapse section "4.4.4. kn 域命令" 4.4.4.1. 使用 Knative CLI 创建自定义域映射 4.4.4.2. 使用 Knative CLI 管理自定义域映射 4.5. Knative Eventing CLI 命令 Expand section "4.5. Knative Eventing CLI 命令" Collapse section "4.5. Knative Eventing CLI 命令" 4.5.1. kn source 命令 Expand section "4.5.1. kn source 命令" Collapse section "4.5.1. kn source 命令" 4.5.1.1. 使用 Knative CLI 列出可用事件源类型 4.5.1.2. Knative CLI sink 标记 4.5.1.3. 使用 Knative CLI 创建和管理容器源 4.5.1.4. 使用 Knative CLI 创建 API 服务器源 4.5.1.5. 使用 Knative CLI 创建 ping 源 4.5.1.6. 使用 Knative CLI 创建 Kafka 事件源 4.6. 功能命令 Expand section "4.6. 功能命令" Collapse section "4.6. 功能命令" 4.6.1. 创建功能 4.6.2. 在本地运行一个函数 4.6.3. 构建函数 Expand section "4.6.3. 构建函数" Collapse section "4.6.3. 构建函数" 4.6.3.1. 镜像容器类型 4.6.3.2. 镜像 registry 类型 4.6.3.3. push 标记 4.6.3.4. help 命令 4.6.4. 部署功能 4.6.5. 列出现有功能 4.6.6. 描述函数 4.6.7. 使用测试事件调用部署的功能 Expand section "4.6.7. 使用测试事件调用部署的功能" Collapse section "4.6.7. 使用测试事件调用部署的功能" 4.6.7.1. kn func 调用可选参数 Expand section "4.6.7.1. kn func 调用可选参数" Collapse section "4.6.7.1. kn func 调用可选参数" 4.6.7.1.1. 主要参数 4.6.7.1.2. 示例命令 Expand section "4.6.7.1.2. 示例命令" Collapse section "4.6.7.1.2. 示例命令" 4.6.7.1.2.1. 使用数据指定文件 4.6.7.1.2.2. 指定功能项目 4.6.7.1.2.3. 指定部署目标功能的位置 4.6.8. 删除函数 5. 开发 Expand section "5. 开发" Collapse section "5. 开发" 5.1. 无服务器应用程序 Expand section "5.1. 无服务器应用程序" Collapse section "5.1. 无服务器应用程序" 5.1.1. 使用 Knative CLI 创建无服务器应用程序 5.1.2. 使用离线模式创建服务 5.1.3. 使用 YAML 创建无服务器应用程序 5.1.4. 验证无服务器应用程序的部署 5.1.5. 使用 HTTP2 和 gRPC 与无服务器应用程序交互 5.1.6. 在具有限制性网络策略的集群中启用与 Knative 应用程序通信 5.1.7. 配置 init 容器 5.1.8. 每个服务的 HTTPS 重定向 5.1.9. 其他资源 5.2. 自动缩放 Expand section "5.2. 自动缩放" Collapse section "5.2. 自动缩放" 5.2.1. 扩展范围 Expand section "5.2.1. 扩展范围" Collapse section "5.2.1. 扩展范围" 5.2.1.1. 最小扩展范围 Expand section "5.2.1.1. 最小扩展范围" Collapse section "5.2.1.1. 最小扩展范围" 5.2.1.1.1. 使用 Knative CLI 设置 min-scale 注解 5.2.1.2. 最大扩展范围 Expand section "5.2.1.2. 最大扩展范围" Collapse section "5.2.1.2. 最大扩展范围" 5.2.1.2.1. 使用 Knative CLI 设置 max-scale 注解 5.2.2. 并发 Expand section "5.2.2. 并发" Collapse section "5.2.2. 并发" 5.2.2.1. 配置软并发目标 5.2.2.2. 配置硬并发限制 5.2.2.3. 并发目标使用率 5.3. 流量管理 Expand section "5.3. 流量管理" Collapse section "5.3. 流量管理" 5.3.1. traffic 规格示例 5.3.2. Knative CLI 流量管理标志 Expand section "5.3.2. Knative CLI 流量管理标志" Collapse section "5.3.2. Knative CLI 流量管理标志" 5.3.2.1. 多个标志和顺序优先级 5.3.2.2. 修订版本的自定义 URL Expand section "5.3.2.2. 修订版本的自定义 URL" Collapse section "5.3.2.2. 修订版本的自定义 URL" 5.3.2.2.1. 示例:将标签分配给修订版本 5.3.2.2.2. 示例:从修订中删除标签 5.3.3. 使用 Knative CLI 创建流量分割 5.3.4. 使用 OpenShift Container Platform Web 控制台管理修订版本之间的流量 5.3.5. 使用蓝绿部署策略路由和管理流量 5.4. 路由 Expand section "5.4. 路由" Collapse section "5.4. 路由" 5.4.1. 为 OpenShift Container Platform 路由自定义标签和注解 5.4.2. 为 Knative 服务配置 OpenShift Container Platform 路由 5.4.3. 将集群可用性设置为集群本地 5.4.4. 其他资源 5.5. 事件 sink Expand section "5.5. 事件 sink" Collapse section "5.5. 事件 sink" 5.5.1. Knative CLI sink 标记 5.5.2. 使用 Developer 视角将事件源连接到接收器(sink) 5.5.3. 将触发器连接到 sink 5.6. 事件交付 Expand section "5.6. 事件交付" Collapse section "5.6. 事件交付" 5.6.1. 频道和代理的事件交付行为模式 Expand section "5.6.1. 频道和代理的事件交付行为模式" Collapse section "5.6.1. 频道和代理的事件交付行为模式" 5.6.1.1. Knative Kafka 频道和代理 5.6.2. 可配置事件交付参数 5.6.3. 配置事件交付参数示例 5.6.4. 为触发器配置事件交付顺序 5.7. 列出事件源和事件源类型 Expand section "5.7. 列出事件源和事件源类型" Collapse section "5.7. 列出事件源和事件源类型" 5.7.1. 使用 Knative CLI 列出可用事件源类型 5.7.2. 在 Developer 视角中查看可用事件源类型 5.7.3. 使用 Knative CLI 列出可用事件源 5.8. 创建 API 服务器源 Expand section "5.8. 创建 API 服务器源" Collapse section "5.8. 创建 API 服务器源" 5.8.1. 使用 Web 控制台创建 API 服务器源 5.8.2. 使用 Knative CLI 创建 API 服务器源 Expand section "5.8.2. 使用 Knative CLI 创建 API 服务器源" Collapse section "5.8.2. 使用 Knative CLI 创建 API 服务器源" 5.8.2.1. Knative CLI sink 标记 5.8.3. 使用 YAML 文件创建 API 服务器源 5.9. 创建 ping 源 Expand section "5.9. 创建 ping 源" Collapse section "5.9. 创建 ping 源" 5.9.1. 使用 Web 控制台创建 ping 源 5.9.2. 使用 Knative CLI 创建 ping 源 Expand section "5.9.2. 使用 Knative CLI 创建 ping 源" Collapse section "5.9.2. 使用 Knative CLI 创建 ping 源" 5.9.2.1. Knative CLI sink 标记 5.9.3. 使用 YAML 创建 ping 源 5.10. 自定义事件源 Expand section "5.10. 自定义事件源" Collapse section "5.10. 自定义事件源" 5.10.1. 接收器(sink)绑定 Expand section "5.10.1. 接收器(sink)绑定" Collapse section "5.10.1. 接收器(sink)绑定" 5.10.1.1. 使用 YAML 创建接收器绑定 5.10.1.2. 使用 Knative CLI 创建接收器绑定 Expand section "5.10.1.2. 使用 Knative CLI 创建接收器绑定" Collapse section "5.10.1.2. 使用 Knative CLI 创建接收器绑定" 5.10.1.2.1. Knative CLI sink 标记 5.10.1.3. 使用 Web 控制台创建接收器绑定 5.10.1.4. 接收器绑定引用 Expand section "5.10.1.4. 接收器绑定引用" Collapse section "5.10.1.4. 接收器绑定引用" 5.10.1.4.1. 主题参数 5.10.1.4.2. CloudEvent 覆盖 5.10.1.4.3. include 标签 5.10.2. 容器源 Expand section "5.10.2. 容器源" Collapse section "5.10.2. 容器源" 5.10.2.1. 创建容器镜像的指南 5.10.2.2. 使用 Knative CLI 创建和管理容器源 5.10.2.3. 使用 Web 控制台创建容器源 5.10.2.4. 容器源参考 Expand section "5.10.2.4. 容器源参考" Collapse section "5.10.2.4. 容器源参考" 5.10.2.4.1. CloudEvent 覆盖 5.11. 创建频道 Expand section "5.11. 创建频道" Collapse section "5.11. 创建频道" 5.11.1. 使用 Web 控制台创建频道 5.11.2. 使用 Knative CLI 创建频道 5.11.3. 使用 YAML 创建默认实现频道 5.11.4. 使用 YAML 创建 Kafka 频道 5.11.5. 后续步骤 5.12. 创建和管理订阅 Expand section "5.12. 创建和管理订阅" Collapse section "5.12. 创建和管理订阅" 5.12.1. 使用 Web 控制台创建订阅 5.12.2. 使用 YAML 创建订阅 5.12.3. 使用 Knative CLI 创建订阅 5.12.4. 使用 Knative CLI 描述订阅 5.12.5. 使用 Knative CLI 列出订阅 5.12.6. 使用 Knative CLI 更新订阅 5.12.7. 后续步骤 5.13. 创建代理 Expand section "5.13. 创建代理" Collapse section "5.13. 创建代理" 5.13.1. 使用 Knative CLI 创建代理 5.13.2. 通过注解触发器来创建代理 5.13.3. 通过标记命名空间来创建代理 5.13.4. 删除通过注入创建的代理 5.13.5. 当配置为 default 代理类型时,创建 Kafka 代理 Expand section "5.13.5. 当配置为 default 代理类型时,创建 Kafka 代理" Collapse section "5.13.5. 当配置为 default 代理类型时,创建 Kafka 代理" 5.13.5.1. 使用 YAML 创建 Kafka 代理 5.13.5.2. 创建使用外部管理的 Kafka 主题的 Kafka 代理 5.13.6. 管理代理 Expand section "5.13.6. 管理代理" Collapse section "5.13.6. 管理代理" 5.13.6.1. 使用 Knative CLI 列出现有代理 5.13.6.2. 使用 Knative CLI 描述现有代理 5.13.7. 后续步骤 5.13.8. 其他资源 5.14. 触发器 Expand section "5.14. 触发器" Collapse section "5.14. 触发器" 5.14.1. 使用 Web 控制台创建触发器 5.14.2. 使用 Knative CLI 创建触发器 5.14.3. 使用 Knative CLI 列出触发器 5.14.4. 使用 Knative CLI 描述触发器 5.14.5. 使用 Knative CLI 使用触发器过滤事件 5.14.6. 使用 Knative CLI 更新触发器 5.14.7. 使用 Knative CLI 删除触发器 5.14.8. 为触发器配置事件交付顺序 5.14.9. 后续步骤 5.15. 使用 Knative Kafka Expand section "5.15. 使用 Knative Kafka" Collapse section "5.15. 使用 Knative Kafka" 5.15.1. Kafka 事件交付和重试 5.15.2. Kafka 源 Expand section "5.15.2. Kafka 源" Collapse section "5.15.2. Kafka 源" 5.15.2.1. 使用 Web 控制台创建 Kafka 事件源 5.15.2.2. 使用 Knative CLI 创建 Kafka 事件源 Expand section "5.15.2.2. 使用 Knative CLI 创建 Kafka 事件源" Collapse section "5.15.2.2. 使用 Knative CLI 创建 Kafka 事件源" 5.15.2.2.1. Knative CLI sink 标记 5.15.2.3. 使用 YAML 创建 Kafka 事件源 5.15.3. Kafka 代理 5.15.4. 使用 YAML 创建 Kafka 频道 5.15.5. Kafka 接收器 Expand section "5.15.5. Kafka 接收器" Collapse section "5.15.5. Kafka 接收器" 5.15.5.1. 使用 Kafka sink 5.15.6. 其他资源 6. 管理 Expand section "6. 管理" Collapse section "6. 管理" 6.1. 全局配置 Expand section "6.1. 全局配置" Collapse section "6.1. 全局配置" 6.1.1. 配置默认频道实施 6.1.2. 配置默认代理支持频道 6.1.3. 配置默认代理类 6.1.4. 启用 scale-to-zero 6.1.5. 配置 scale-to-zero 宽限期 6.1.6. 覆盖系统部署配置 Expand section "6.1.6. 覆盖系统部署配置" Collapse section "6.1.6. 覆盖系统部署配置" 6.1.6.1. 覆盖 Knative Serving 系统部署配置 6.1.6.2. 覆盖 Knative Eventing 系统部署配置 6.1.7. 配置 EmptyDir 扩展 6.1.8. HTTPS 重定向全局设置 6.1.9. 为外部路由设置 URL 方案 6.1.10. 设置 Kourier 网关服务类型 6.1.11. 启用 PVC 支持 6.1.12. 启用 init 容器 6.1.13. tag-to-digest 解析 Expand section "6.1.13. tag-to-digest 解析" Collapse section "6.1.13. tag-to-digest 解析" 6.1.13.1. 使用 secret 配置 tag-to-digest 解析 6.1.14. 其他资源 6.2. 配置 Knative Kafka Expand section "6.2. 配置 Knative Kafka" Collapse section "6.2. 配置 Knative Kafka" 6.2.1. 安装 Knative Kafka 6.2.2. Knative Kafka 的安全配置 Expand section "6.2.2. Knative Kafka 的安全配置" Collapse section "6.2.2. Knative Kafka 的安全配置" 6.2.2.1. 为 Kafka 代理配置 TLS 身份验证 6.2.2.2. 为 Kafka 代理配置 SASL 身份验证 6.2.2.3. 为 Kafka 频道配置 TLS 验证 6.2.2.4. 为 Kafka 频道配置 SASL 验证 6.2.2.5. 为 Kafka 源配置 SASL 身份验证 6.2.2.6. 为 Kafka sink 配置安全性 6.2.3. 配置 Kafka 代理设置 6.2.4. 其他资源 6.3. Administrator 视角中的 Serverless 组件 Expand section "6.3. Administrator 视角中的 Serverless 组件" Collapse section "6.3. Administrator 视角中的 Serverless 组件" 6.3.1. 使用管理员视角创建无服务器应用程序 6.3.2. 使用 Administrator 视角创建事件源 6.3.3. 使用 Administrator 视角创建代理 6.3.4. 使用 Administrator 视角创建触发器 6.3.5. 使用 Administrator 视角创建频道 6.3.6. 使用 Administrator 视角创建订阅 6.3.7. 其他资源 6.4. 将 Service Mesh 与 OpenShift Serverless 集成 Expand section "6.4. 将 Service Mesh 与 OpenShift Serverless 集成" Collapse section "6.4. 将 Service Mesh 与 OpenShift Serverless 集成" 6.4.1. 先决条件 6.4.2. 创建证书来加密传入的外部流量 6.4.3. 将 Service Mesh 与 OpenShift Serverless 集成 6.4.4. 在使用带有 mTLS 的 Service Mesh 时启用 Knative Serving 指标 6.4.5. 在启用了 Kourier 时将 Service Mesh 与 OpenShift Serverless 集成 6.4.6. 为 Service Mesh 使用 secret 过滤来改进内存用量 6.5. Serverless 管理员指标 Expand section "6.5. Serverless 管理员指标" Collapse section "6.5. Serverless 管理员指标" 6.5.1. 先决条件 6.5.2. 控制器指标 6.5.3. Webhook 指标 6.5.4. Knative Eventing 指标 Expand section "6.5.4. Knative Eventing 指标" Collapse section "6.5.4. Knative Eventing 指标" 6.5.4.1. 代理入口指标 6.5.4.2. 代理过滤指标 6.5.4.3. InMemoryChannel 分配程序指标 6.5.4.4. 事件源指标 6.5.5. Knative Serving 指标 Expand section "6.5.5. Knative Serving 指标" Collapse section "6.5.5. Knative Serving 指标" 6.5.5.1. 激活器指标 6.5.5.2. 自动缩放器指标 6.5.5.3. Go 运行时指标 6.6. 使用 OpenShift Serverless 的 metering Expand section "6.6. 使用 OpenShift Serverless 的 metering" Collapse section "6.6. 使用 OpenShift Serverless 的 metering" 6.6.1. 安装 metering 6.6.2. Knative making metering 的数据源 Expand section "6.6.2. Knative making metering 的数据源" Collapse section "6.6.2. Knative making metering 的数据源" 6.6.2.1. Knativelatesting 中 CPU 用量的数据源 6.6.2.2. 用于 Knative making 中的内存使用的数据源 6.6.2.3. 为 KnativeUping metering 应用数据源 6.6.3. 对 Knative Serving metering 的查询 Expand section "6.6.3. 对 Knative Serving metering 的查询" Collapse section "6.6.3. 对 Knative Serving metering 的查询" 6.6.3.1. 在 Knativelatesting 中查询 CPU 用量 6.6.3.2. 在 Knative Serving 中查询内存用量 6.6.3.3. 为 Knative Serving metering 应用查询 6.6.4. Knative Serving 的 metering 报告 Expand section "6.6.4. Knative Serving 的 metering 报告" Collapse section "6.6.4. Knative Serving 的 metering 报告" 6.6.4.1. 运行 metering 报告 6.7. 高可用性 Expand section "6.7. 高可用性" Collapse section "6.7. 高可用性" 6.7.1. 为 Knative Serving 配置高可用性副本 6.7.2. 为 Knative Eventing 配置高可用性副本 6.7.3. 为 Knative Kafka 配置高可用性副本 7. Monitor Expand section "7. Monitor" Collapse section "7. Monitor" 7.1. 在 OpenShift Serverless 中使用 OpenShift Logging Expand section "7.1. 在 OpenShift Serverless 中使用 OpenShift Logging" Collapse section "7.1. 在 OpenShift Serverless 中使用 OpenShift Logging" 7.1.1. 关于部署 OpenShift Logging 7.1.2. 关于部署和配置 OpenShift Logging Expand section "7.1.2. 关于部署和配置 OpenShift Logging" Collapse section "7.1.2. 关于部署和配置 OpenShift Logging" 7.1.2.1. 配置和调优 OpenShift Logging 7.1.2.2. 修改后的 ClusterLogging 自定义资源示例 7.1.3. 使用 OpenShift Logging 查找 Knative Serving 组件的日志 7.1.4. 使用 OpenShift Logging 查找通过 Knative Serving 部署的服务的日志 7.2. Serverless 开发人员指标 Expand section "7.2. Serverless 开发人员指标" Collapse section "7.2. Serverless 开发人员指标" 7.2.1. Knative 服务指标默认公开 7.2.2. 带有自定义应用程序指标的 Knative 服务 7.2.3. 配置提取自定义指标 7.2.4. 检查服务的指标 Expand section "7.2.4. 检查服务的指标" Collapse section "7.2.4. 检查服务的指标" 7.2.4.1. 队列代理指标 7.2.5. 在仪表板中检查服务的指标 7.2.6. 其他资源 8. 跟踪请求 Expand section "8. 跟踪请求" Collapse section "8. 跟踪请求" 8.1. 分布式追踪概述 8.2. 使用 Red Hat OpenShift distributed tracing 启用分布式追踪 8.3. 使用 Jaeger 启用分布式追踪 8.4. 其他资源 9. OpenShift Serverless 支持 Expand section "9. OpenShift Serverless 支持" Collapse section "9. OpenShift Serverless 支持" 9.1. 关于红帽知识库 9.2. 搜索红帽知识库 9.3. 提交支持问题单 9.4. 为支持收集诊断信息 Expand section "9.4. 为支持收集诊断信息" Collapse section "9.4. 为支持收集诊断信息" 9.4.1. 关于 must-gather 工具 9.4.2. 关于收集 OpenShift Serverless 数据 10. 安全性 Expand section "10. 安全性" Collapse section "10. 安全性" 10.1. 配置 TLS 身份验证 Expand section "10.1. 配置 TLS 身份验证" Collapse section "10.1. 配置 TLS 身份验证" 10.1.1. 为内部流量启用 TLS 身份验证 10.1.2. 为集群本地服务启用 TLS 身份验证 10.1.3. 使用 TLS 证书保护带有自定义域的服务 10.1.4. 为 Kafka 代理配置 TLS 身份验证 10.1.5. 为 Kafka 频道配置 TLS 验证 10.2. 为 Knative 服务配置 JSON Web 令牌身份验证 Expand section "10.2. 为 Knative 服务配置 JSON Web 令牌身份验证" Collapse section "10.2. 为 Knative 服务配置 JSON Web 令牌身份验证" 10.2.1. 在 Service Mesh 2.x 和 OpenShift Serverless 中使用 JSON Web 令牌身份验证 10.2.2. 在 Service Mesh 1.x 和 OpenShift Serverless 中使用 JSON Web 令牌身份验证 10.3. 为 Knative 服务配置自定义域 Expand section "10.3. 为 Knative 服务配置自定义域" Collapse section "10.3. 为 Knative 服务配置自定义域" 10.3.1. 创建自定义域映射 10.3.2. 使用 Knative CLI 创建自定义域映射 10.3.3. 使用 TLS 证书保护带有自定义域的服务 11. Functions Expand section "11. Functions" Collapse section "11. Functions" 11.1. 设置 OpenShift Serverless 功能 Expand section "11.1. 设置 OpenShift Serverless 功能" Collapse section "11.1. 设置 OpenShift Serverless 功能" 11.1.1. 先决条件 11.1.2. 设置 Podman 11.1.3. 在 macOS 中设置 Podman 11.1.4. 后续步骤 11.2. 功能入门 Expand section "11.2. 功能入门" Collapse section "11.2. 功能入门" 11.2.1. 先决条件 11.2.2. 创建功能 11.2.3. 在本地运行一个函数 11.2.4. 构建函数 Expand section "11.2.4. 构建函数" Collapse section "11.2.4. 构建函数" 11.2.4.1. 镜像容器类型 11.2.4.2. 镜像 registry 类型 11.2.4.3. push 标记 11.2.4.4. help 命令 11.2.5. 部署功能 11.2.6. 使用测试事件调用部署的功能 11.2.7. 删除函数 11.2.8. 其他资源 11.2.9. 后续步骤 11.3. On-cluster 功能构建和部署 Expand section "11.3. On-cluster 功能构建和部署" Collapse section "11.3. On-cluster 功能构建和部署" 11.3.1. 在集群中构建和部署功能 11.3.2. 指定功能修订 11.4. 开发 Quarkus 功能 Expand section "11.4. 开发 Quarkus 功能" Collapse section "11.4. 开发 Quarkus 功能" 11.4.1. 先决条件 11.4.2. Quarkus 功能模板结构 11.4.3. 关于调用 Quarkus 功能 Expand section "11.4.3. 关于调用 Quarkus 功能" Collapse section "11.4.3. 关于调用 Quarkus 功能" 11.4.3.1. 调用示例 11.4.4. CloudEvent 属性 11.4.5. Quarkus 功能返回值 Expand section "11.4.5. Quarkus 功能返回值" Collapse section "11.4.5. Quarkus 功能返回值" 11.4.5.1. 允许的类型 11.4.6. 测试 Quarkus 功能 11.4.7. 后续步骤 11.5. 开发 Node.js 功能 Expand section "11.5. 开发 Node.js 功能" Collapse section "11.5. 开发 Node.js 功能" 11.5.1. 先决条件 11.5.2. Node.js 功能模板结构 11.5.3. 关于调用 Node.js 功能 Expand section "11.5.3. 关于调用 Node.js 功能" Collapse section "11.5.3. 关于调用 Node.js 功能" 11.5.3.1. Node.js 上下文对象 Expand section "11.5.3.1. Node.js 上下文对象" Collapse section "11.5.3.1. Node.js 上下文对象" 11.5.3.1.1. 上下文对象方法 11.5.3.1.2. CloudEvent 数据 11.5.4. Node.js 功能返回值 Expand section "11.5.4. Node.js 功能返回值" Collapse section "11.5.4. Node.js 功能返回值" 11.5.4.1. 返回的标头 11.5.4.2. 返回状态代码 11.5.5. 测试 Node.js 功能 11.5.6. 后续步骤 11.6. 开发类型脚本功能 Expand section "11.6. 开发类型脚本功能" Collapse section "11.6. 开发类型脚本功能" 11.6.1. 先决条件 11.6.2. TypeScript 功能模板结构 11.6.3. 关于调用 TypeScript 函数 Expand section "11.6.3. 关于调用 TypeScript 函数" Collapse section "11.6.3. 关于调用 TypeScript 函数" 11.6.3.1. TypeScript 上下文对象 Expand section "11.6.3.1. TypeScript 上下文对象" Collapse section "11.6.3.1. TypeScript 上下文对象" 11.6.3.1.1. 上下文对象方法 11.6.3.1.2. 上下文类型 11.6.3.1.3. CloudEvent 数据 11.6.4. TypeScript 功能返回值 Expand section "11.6.4. TypeScript 功能返回值" Collapse section "11.6.4. TypeScript 功能返回值" 11.6.4.1. 返回的标头 11.6.4.2. 返回状态代码 11.6.5. 测试类型脚本功能 11.6.6. 后续步骤 11.7. 使用 Knative Eventing 的功能 Expand section "11.7. 使用 Knative Eventing 的功能" Collapse section "11.7. 使用 Knative Eventing 的功能" 11.7.1. 使用 Developer 视角将事件源连接到函数 11.8. func.yaml 中的功能项目配置 Expand section "11.8. func.yaml 中的功能项目配置" Collapse section "11.8. func.yaml 中的功能项目配置" 11.8.1. func.yaml 中的可配置字段 Expand section "11.8.1. func.yaml 中的可配置字段" Collapse section "11.8.1. func.yaml 中的可配置字段" 11.8.1.1. buildEnvs 11.8.1.2. envs 11.8.1.3. builder 11.8.1.4. build 11.8.1.5. 卷 11.8.1.6. 选项 11.8.1.7. image 11.8.1.8. imageDigest 11.8.1.9. labels 11.8.1.10. name 11.8.1.11. namespace 11.8.1.12. runtime 11.8.2. 从 func.yaml 字段引用本地环境变量 11.8.3. 其他资源 11.9. 从功能访问 secret 和配置映射 Expand section "11.9. 从功能访问 secret 和配置映射" Collapse section "11.9. 从功能访问 secret 和配置映射" 11.9.1. 以互动方式修改对 secret 和配置映射的功能访问 11.9.2. 使用专用命令以互动方式修改对 secret 和配置映射的功能访问 11.9.3. 手动添加对 secret 和配置映射的功能访问 Expand section "11.9.3. 手动添加对 secret 和配置映射的功能访问" Collapse section "11.9.3. 手动添加对 secret 和配置映射的功能访问" 11.9.3.1. 将 secret 挂载为卷 11.9.3.2. 将配置映射挂载为卷 11.9.3.3. 从 secret 中定义的键值设置环境变量 11.9.3.4. 从配置映射中定义的键值设置环境变量 11.9.3.5. 从 secret 中定义的所有值设置环境变量 11.9.3.6. 从配置映射中定义的所有值设置环境变量 11.10. 在功能中添加注解 Expand section "11.10. 在功能中添加注解" Collapse section "11.10. 在功能中添加注解" 11.10.1. 在功能中添加注解 11.11. 功能开发参考指南 Expand section "11.11. 功能开发参考指南" Collapse section "11.11. 功能开发参考指南" 11.11.1. Node.js 上下文对象引用 Expand section "11.11.1. Node.js 上下文对象引用" Collapse section "11.11.1. Node.js 上下文对象引用" 11.11.1.1. log 11.11.1.2. query 11.11.1.3. 正文(body) 11.11.1.4. 标头 11.11.1.5. HTTP 请求 11.11.2. TypeScript 上下文对象引用 Expand section "11.11.2. TypeScript 上下文对象引用" Collapse section "11.11.2. TypeScript 上下文对象引用" 11.11.2.1. log 11.11.2.2. query 11.11.2.3. 正文(body) 11.11.2.4. 标头 11.11.2.5. HTTP 请求 12. 集成 Expand section "12. 集成" Collapse section "12. 集成" 12.1. 将 Serverless 与成本管理服务集成 Expand section "12.1. 将 Serverless 与成本管理服务集成" Collapse section "12.1. 将 Serverless 与成本管理服务集成" 12.1.1. 先决条件 12.1.2. 使用标签进行成本管理查询 12.1.3. 其他资源 12.2. 使用无服务器应用程序的 NVIDIA GPU 资源 Expand section "12.2. 使用无服务器应用程序的 NVIDIA GPU 资源" Collapse section "12.2. 使用无服务器应用程序的 NVIDIA GPU 资源" 12.2.1. 为服务指定 GPU 要求 12.2.2. 其他资源 法律通告 Settings Close Language: 简体中文 日本語 한국어 English Language: 简体中文 日本語 한국어 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 简体中文 日本語 한국어 English Language: 简体中文 日本語 한국어 English Format: Multi-page Single-page Format: Multi-page Single-page 8.4. 其他资源 Red Hat OpenShift distributed tracing 架构 安装分布式追踪 Previous Next