Jump To Close Expand all Collapse all Table of contents 无服务器应用程序 1. OpenShift Serverless 发行注记 Expand section "1. OpenShift Serverless 发行注记" Collapse section "1. OpenShift Serverless 发行注记" 1.1. Red Hat OpenShift Serverless 1.7.2 发行注记 Expand section "1.1. Red Hat OpenShift Serverless 1.7.2 发行注记" Collapse section "1.1. Red Hat OpenShift Serverless 1.7.2 发行注记" 1.1.1. 修复的问题 1.2. Red Hat OpenShift Serverless 1.7.1 发行注记 Expand section "1.2. Red Hat OpenShift Serverless 1.7.1 发行注记" Collapse section "1.2. Red Hat OpenShift Serverless 1.7.1 发行注记" 1.2.1. 新功能 1.2.2. 修复的问题 1.3. Red Hat OpenShift Serverless 1.7.0 发行注记 Expand section "1.3. Red Hat OpenShift Serverless 1.7.0 发行注记" Collapse section "1.3. Red Hat OpenShift Serverless 1.7.0 发行注记" 1.3.1. 新功能 1.3.2. 修复的问题 1.3.3. 已知问题 1.4. Red Hat OpenShift Serverless 技术预览 1.6.0 发行注记 Expand section "1.4. Red Hat OpenShift Serverless 技术预览 1.6.0 发行注记" Collapse section "1.4. Red Hat OpenShift Serverless 技术预览 1.6.0 发行注记" 1.4.1. 新功能 1.4.2. 修复的问题 1.4.3. 已知问题 1.5. Red Hat OpenShift Serverless 技术预览 1.5.0 发行注记 Expand section "1.5. Red Hat OpenShift Serverless 技术预览 1.5.0 发行注记" Collapse section "1.5. Red Hat OpenShift Serverless 技术预览 1.5.0 发行注记" 1.5.1. 新功能 1.5.2. 修复的问题 1.5.3. 已知问题 1.6. 其他资源 2. OpenShift Serverless 支持 Expand section "2. OpenShift Serverless 支持" Collapse section "2. OpenShift Serverless 支持" 2.1. 获取支持 2.2. 为支持收集诊断信息 Expand section "2.2. 为支持收集诊断信息" Collapse section "2.2. 为支持收集诊断信息" 2.2.1. 关于 must-gather 工具 2.2.2. 关于收集 OpenShift Serverless 数据 3. 架构 Expand section "3. 架构" Collapse section "3. 架构" 3.1. Knative Serving 架构 Expand section "3.1. Knative Serving 架构" Collapse section "3.1. Knative Serving 架构" 3.1.1. Knative Serving CRDs 3.2. Knative Eventing 架构 Expand section "3.2. Knative Eventing 架构" Collapse section "3.2. Knative Eventing 架构" 3.2.1. 事件 sink 4. OpenShift Serverless 入门 Expand section "4. OpenShift Serverless 入门" Collapse section "4. OpenShift Serverless 入门" 4.1. OpenShift Serverless 的工作原理 4.2. 支持的配置 4.3. 后续步骤 5. 安装 OpenShift Serverless Expand section "5. 安装 OpenShift Serverless" Collapse section "5. 安装 OpenShift Serverless" 5.1. 安装 OpenShift Serverless Expand section "5.1. 安装 OpenShift Serverless" Collapse section "5.1. 安装 OpenShift Serverless" 5.1.1. 为 OpenShift Serverless 安装定义集群大小要求 5.1.2. 高级用例所需的额外资源 5.1.3. 使用机器集扩展集群 5.1.4. 安装 OpenShift Serverless Operator 5.1.5. 后续步骤 5.2. 安装 Knative Serving Expand section "5.2. 安装 Knative Serving" Collapse section "5.2. 安装 Knative Serving" 5.2.1. 创建 knative-serving 命名空间 Expand section "5.2.1. 创建 knative-serving 命名空间" Collapse section "5.2.1. 创建 knative-serving 命名空间" 5.2.1.1. 使用 web 控制台创建 knative-serving 命名空间 5.2.1.2. 使用 CLI 创建 knative-serving 命名空间 5.2.2. 先决条件 5.2.3. 使用 Web 控制台安装 Knative Serving 5.2.4. 使用 YAML 安装 Knative Serving 5.2.5. 后续步骤 5.3. 安装 Knative Eventing Expand section "5.3. 安装 Knative Eventing" Collapse section "5.3. 安装 Knative Eventing" 5.3.1. 创建 knative-serving 命名空间 Expand section "5.3.1. 创建 knative-serving 命名空间" Collapse section "5.3.1. 创建 knative-serving 命名空间" 5.3.1.1. 使用 web 控制台创建 knative-eventing 命名空间 5.3.1.2. 使用 CLI 创建 knative-eventing 命名空间 5.3.2. 先决条件 5.3.3. 使用 web 控制台安装 Knative Eventing 5.3.4. 使用 YAML 安装 Knative Eventing 5.3.5. 后续步骤 5.4. 高级安装配置选项 Expand section "5.4. 高级安装配置选项" Collapse section "5.4. 高级安装配置选项" 5.4.1. Knative Serving 支持的安装配置选项 Expand section "5.4.1. Knative Serving 支持的安装配置选项" Collapse section "5.4.1. Knative Serving 支持的安装配置选项" 5.4.1.1. 控制器自定义证书 5.4.1.2. 高可用性 5.4.2. 其他资源 5.5. 升级 OpenShift Serverless Expand section "5.5. 升级 OpenShift Serverless" Collapse section "5.5. 升级 OpenShift Serverless" 5.5.1. 更新 Knative 服务 URL 格式 5.5.2. 升级订阅频道 5.6. 删除 OpenShift Serverless Expand section "5.6. 删除 OpenShift Serverless" Collapse section "5.6. 删除 OpenShift Serverless" 5.6.1. 卸载 Knative Serving 5.6.2. 卸载 Knative Eventing 5.6.3. 删除 OpenShift Serverless Operator 5.6.4. 删除 OpenShift Serverless CRD 5.6.5. 先决条件 5.7. 安装 Knative CLI(kn) Expand section "5.7. 安装 Knative CLI(kn)" Collapse section "5.7. 安装 Knative CLI(kn)" 5.7.1. 使用 OpenShift Container Platform web 控制台安装 kn CLI 5.7.2. 使用 RPM 为 Linux 安装 kn CLI 5.7.3. 为 Linux 安装 kn CLI 5.7.4. 为 macOS 安装 kn CLI 5.7.5. 为 Windows 安装 kn CLI 6. 创建并管理无服务器应用程序 Expand section "6. 创建并管理无服务器应用程序" Collapse section "6. 创建并管理无服务器应用程序" 6.1. 使用 Knative 服务的无服务器应用程序 6.2. 使用 OpenShift Container Platform web 控制台创建无服务器应用程序 Expand section "6.2. 使用 OpenShift Container Platform web 控制台创建无服务器应用程序" Collapse section "6.2. 使用 OpenShift Container Platform web 控制台创建无服务器应用程序" 6.2.1. 使用管理员视角创建无服务器应用程序 6.2.2. 使用 Developer 视角创建应用程序 6.3. 使用 CLI 创建无服务器应用程序 6.4. 使用 YAML 创建无服务器应用程序 6.5. 验证无服务器应用程序的部署 6.6. 使用 HTTP2 / gRPC 与无服务器应用程序交互 7. OpenShift Serverless 中的高可用性 Expand section "7. OpenShift Serverless 中的高可用性" Collapse section "7. OpenShift Serverless 中的高可用性" 7.1. 在 OpenShift Serverless 中配置高可用性副本 8. 使用 Jaeger 追踪请求 Expand section "8. 使用 Jaeger 追踪请求" Collapse section "8. 使用 Jaeger 追踪请求" 8.1. 配置 Jaeger 用于 OpenShift Serverless 9. Knative Serving Expand section "9. Knative Serving" Collapse section "9. Knative Serving" 9.1. 使用 kn 完成 Knative Serving 任务 Expand section "9.1. 使用 kn 完成 Knative Serving 任务" Collapse section "9.1. 使用 kn 完成 Knative Serving 任务" 9.1.1. 使用 kn 的基本工作流 9.1.2. 使用 kn 自动扩展工作流 9.1.3. 使用 kn 进行流量分割 Expand section "9.1.3. 使用 kn 进行流量分割" Collapse section "9.1.3. 使用 kn 进行流量分割" 9.1.3.1. 分配标签修订 9.1.3.2. 取消分配标签修订版本 9.1.3.3. 流量标志操作优先级 9.1.3.4. 流量分割标志 9.2. 配置 Knative Serving 自动扩展 Expand section "9.2. 配置 Knative Serving 自动扩展" Collapse section "9.2. 配置 Knative Serving 自动扩展" 9.2.1. 为 Knative Serving 自动扩展配置并发请求 Expand section "9.2.1. 为 Knative Serving 自动扩展配置并发请求" Collapse section "9.2.1. 为 Knative Serving 自动扩展配置并发请求" 9.2.1.1. 使用目标注解配置并发请求 9.2.1.2. 使用 containerConcurrency 字段配置并发请求 9.2.2. 配置扩展范围 Knative Serving 自动扩展 9.3. 使用 OpenShift Serverless 的集群日志记录 Expand section "9.3. 使用 OpenShift Serverless 的集群日志记录" Collapse section "9.3. 使用 OpenShift Serverless 的集群日志记录" 9.3.1. 集群日志记录 9.3.2. 关于部署和配置集群日志记录 Expand section "9.3.2. 关于部署和配置集群日志记录" Collapse section "9.3.2. 关于部署和配置集群日志记录" 9.3.2.1. 配置和调优集群日志记录 9.3.2.2. 修改后的 ClusterLogging 自定义资源示例 9.3.3. 使用集群日志来查找 Knative Serving 组件的日志 9.3.4. 使用集群日志来查找通过 Knative Serving 部署的服务的日志 9.4. 在修订版本间分割流量 Expand section "9.4. 在修订版本间分割流量" Collapse section "9.4. 在修订版本间分割流量" 9.4.1. 使用 Developer 视角在修订版本间分割流量 10. Knative Eventing Expand section "10. Knative Eventing" Collapse section "10. Knative Eventing" 10.1. 在 Knative Eventing 中使用代理 Expand section "10.1. 在 Knative Eventing 中使用代理" Collapse section "10.1. 在 Knative Eventing 中使用代理" 10.1.1. 手动创建代理 10.1.2. 使用命名空间注解自动创建代理 10.1.3. 使用命名空间注解删除创建的代理 10.2. 使用频道 Expand section "10.2. 使用频道" Collapse section "10.2. 使用频道" 10.2.1. 支持的频道类型 10.2.2. 使用默认 InMemoryChannel 配置 10.3. 使用订阅将事件从频道发送到 sink Expand section "10.3. 使用订阅将事件从频道发送到 sink" Collapse section "10.3. 使用订阅将事件从频道发送到 sink" 10.3.1. 创建订阅 10.4. 使用触发器(trigger) Expand section "10.4. 使用触发器(trigger)" Collapse section "10.4. 使用触发器(trigger)" 10.4.1. 先决条件 10.4.2. 使用 kn创建触发器 10.4.3. 使用 kn列出触发器 10.4.4. 使用 kn 输出触发器信息 10.4.5. 使用 kn删除触发器 10.4.6. 使用 kn更新触发器 10.4.7. 使用触发器过滤事件 10.5. 使用 SinkBinding Expand section "10.5. 使用 SinkBinding" Collapse section "10.5. 使用 SinkBinding" 10.5.1. 通过 Knative CLI (kn) 使用 SinkBinding 10.5.2. 通过 YAML 的方法使用 SinkBinding 11. 事件源 Expand section "11. 事件源" Collapse section "11. 事件源" 11.1. 事件源入门 Expand section "11.1. 事件源入门" Collapse section "11.1. 事件源入门" 11.1.1. 先决条件 11.1.2. 创建事件源 11.1.3. 其他资源 11.2. 使用 Knative CLI 列出事件源和事件源类型 Expand section "11.2. 使用 Knative CLI 列出事件源和事件源类型" Collapse section "11.2. 使用 Knative CLI 列出事件源和事件源类型" 11.2.1. 使用 Knative CLI 列出可用事件源类型 11.2.2. 使用 Knative CLI 列出可用事件源 11.2.3. 后续步骤 11.3. 使用 API 服务器源 Expand section "11.3. 使用 API 服务器源" Collapse section "11.3. 使用 API 服务器源" 11.3.1. 通过 Knative CLI 使用 API 服务器源 11.3.2. 使用 Knative CLI 删除 API 服务器源 11.3.3. 使用 YAML 文件创建 API 服务器源 11.3.4. 删除 API 服务器源 11.4. 使用 ping 源 Expand section "11.4. 使用 ping 源" Collapse section "11.4. 使用 ping 源" 11.4.1. 使用 Knative CLI 创建 ping 源 Expand section "11.4.1. 使用 Knative CLI 创建 ping 源" Collapse section "11.4.1. 使用 Knative CLI 创建 ping 源" 11.4.1.1. 删除 ping 源 11.4.2. 使用 YAML 文件创建 ping 源 Expand section "11.4.2. 使用 YAML 文件创建 ping 源" Collapse section "11.4.2. 使用 YAML 文件创建 ping 源" 11.4.2.1. 删除 PingSource 12. 使用 OpenShift Serverless 的 metering Expand section "12. 使用 OpenShift Serverless 的 metering" Collapse section "12. 使用 OpenShift Serverless 的 metering" 12.1. 安装 metering 12.2. Knative Serving metering 的数据源 Expand section "12.2. Knative Serving metering 的数据源" Collapse section "12.2. Knative Serving metering 的数据源" 12.2.1. Knative Serving 中 CPU 用量的数据源 12.2.2. Knative Serving 中内存用量的数据源 12.2.3. 为 Knative Serving metering 应用数据源 12.3. 对 Knative Serving metering 的查询 Expand section "12.3. 对 Knative Serving metering 的查询" Collapse section "12.3. 对 Knative Serving metering 的查询" 12.3.1. 在 Knativelatesting 中查询 CPU 用量 12.3.2. 在 Knative Serving 中查询内存用量 12.3.3. 对 Knative Serving metering 应用查询 12.4. Knative Serving 的 metering 报告 Expand section "12.4. Knative Serving 的 metering 报告" Collapse section "12.4. Knative Serving 的 metering 报告" 12.4.1. 运行 metering 报告 法律通告 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 无服务器应用程序 OpenShift Container Platform 4.4OpenShift Serverless 的安装、使用与发行注记Red Hat OpenShift Documentation Team法律通告摘要 本文档提供有关如何在 OpenShift Container Platform 中使用 OpenShift Serverless 的信息. Next