关于

OpenShift Container Platform 4.15

OpenShift Container Platform 简介

Red Hat OpenShift Documentation Team

摘要

本文档概述 OpenShift Container Platform 的功能。

第 1 章 OpenShift Container Platform 4.15 文档

内容表

欢迎使用官方的 OpenShift Container Platform 4.15 文档,您可以在其中了解 OpenShift Container Platform 并开始了解其功能。

要浏览 OpenShift Container Platform 4.15 文档,您可以使用以下方法之一:

  • 使用左侧导航栏浏览文档。
  • 从此 Welcome 页面上的内容中选择您感兴趣的内容。

架构安全及合规性开始。接下来,参阅发行注记

1.1. 集群安装程序操作

探索以下 OpenShift Container Platform 安装任务。

1.2. 其他集群安装程序活动

1.3. 开发人员活动

使用 OpenShift Container Platform 开发和部署容器化应用。OpenShift Container Platform 是一个用于开发和部署容器化应用程序的平台。阅读以下 OpenShift Container Platform 文档,以便您可以更好地了解 OpenShift Container Platform 功能:

  • 了解 OpenShift Container Platform 开发 :了解不同类型的容器化应用,从简单的容器到高级 Kubernetes 部署和 Operator。
  • 使用项目 :通过 OpenShift Container Platform Web 控制台或 OpenShift CLI(oc)创建项目以组织和共享您开发的软件。
  • 使用 Developer 视角创建应用程序 :使用 OpenShift Container Platform Web 控制台中的 Developer 视角轻松创建和部署应用程序。
  • 使用 Topology 视图 查看应用程序组成:使用 Topology 视图来视觉地与应用程序、监控状态、连接和组组件进行交互,并修改您的代码库。
  • 了解 Service Binding Operator:通过 Service Binding Operator,应用程序开发人员可以通过自动收集并与工作负载共享绑定数据,将工作负载与 Operator 管理的后备服务绑定。Service Binding Operator 使用一致和声明性服务绑定方法改进开发生命周期,可防止集群环境中的差异。
  • 创建 CI/CD 管道 :管道 (Pipeline) 是无服务器、云原生、持续集成和持续部署(CI/CD)的系统,它在隔离的容器中运行。Pipelines 使用标准的 Tekton 自定义资源来自动化部署,并为处理基于微服务的架构的非中心化团队设计。
  • 管理您的基础架构和应用程序配置 :GitOps 是为云原生应用程序实施持续部署的一种声明方式。GitOps 将基础架构和应用程序定义定义为代码。GitOps 使用此代码来管理多个工作区和集群来简化基础架构和应用程序配置的创建过程。GitOps 以快速的速度处理和自动化复杂部署,节省部署和发行周期期间的时间。
  • 部署 Helm chartHelm 是一个软件包管理器,简化了应用程序和服务部署到 OpenShift Container Platform 集群的过程。Helm 使用名为 charts 的打包格式。Helm chart 是描述 OpenShift Container Platform 资源的一个文件集合。
  • 了解镜像构建 :选择不同的构建策略(Docker、S2I、自定义和管道),包括不同类型的源资料(例如 Git 存储库、本地二进制输入和外部工件)。请参阅从基本构建到高级构建的构建类型示例。
  • 创建容器镜像 :容器镜像是 OpenShift Container Platform(和 Kubernetes)应用程序中最基本的构建块。通过定义镜像流,您可以在继续开发镜像流时在一个位置收集镜像的多个版本。通过 S2I 容器,您可以将源代码插入到基础容器中。基本容器配置为运行一个特定类型的代码,如 Ruby、Node.js 或 Python。
  • 创建部署 :使用 Deployment 对象对应用程序进行精细管理。Deployment 根据 rollout 策略创建副本集,用于编配 Pod 生命周期。
  • 创建模板:使用现有模板或创建自己的模板来描述应用的构建或部署方式。模板可以将镜像与描述、参数、副本、公开端口和其他定义如何运行或构建的内容相结合。
  • 了解 Operator:Operator 是为 OpenShift Container Platform 4.15 创建集群应用程序的首选方法。了解 Operator Framework 以及如何使用已安装的 Operator 部署到项目中。
  • method开发 Operator:Operator 是为 OpenShift Container Platform 4.15 创建集群应用程序的首选方法。了解构建、测试和部署 Operator 的工作流。然后,您可以使用 AnsibleHelm 创建自己的 Operator,或使用 Operator SDK 配置 内置 Prometheus 监控
  • 参考 REST API 索引 :了解 OpenShift Container Platform 应用程序编程接口端点。
  • Software Supply Chain Security enhancements: web 控制台的 DeveloperAdministrator 视角中的 PipelineRun 详情页面提供了识别的漏洞的可视化表示,这些漏洞按严重性分类。此外,这些增强功能还提供了下载或查看 Software Bill of Materials (SBOMs) 的选项,以增强您的供应链中的透明度和控制。了解在 web 控制台中设置 OpenShift Pipelines 以查看软件供应链安全元素

1.4. 集群管理员活动

管理虚拟机,向用户提供服务,并遵循监控和日志记录报告。阅读以下 OpenShift Container Platform 文档,以便您可以更好地了解 OpenShift Container Platform 功能:

1.4.1. 管理集群组件

1.4.2. 更改集群组件

1.4.3. 观察集群

  • OpenShift Logging: 了解日志记录并配置不同的日志记录组件,如日志存储、日志收集器和日志记录 Web 控制台插件。
  • Red Hat OpenShift distributed tracing 平台 :存储和视觉化通过分布式系统、整个微服务堆栈和高负载的大量请求。使用分布式追踪平台来监控分布式事务,收集检测服务、网络分析、性能和延迟优化,根本原因分析,并对现代云原生微服务的应用中组件之间的交互进行故障排除。
  • 红帽构建的 OpenTelemetry :生成、收集和导出遥测追踪、指标和日志,以分析和了解您的软件性能和行为。使用 Tempo 或 Prometheus 等开源后端,或使用商业产品。了解一组 API 和约定,并拥有您生成的数据。
  • Network Observability: 使用 eBPF 技术观察 OpenShift Container Platform 集群的网络流量,以创建和丰富的网络流。您可以查看仪表板、自定义警报分析网络流信息,以进一步洞察和故障排除。
  • 集群内监控 :了解如何配置监控堆栈。配置监控后,使用 Web 控制台访问监控仪表板。除了基础架构指标外,您还可以提取和查看您自己的服务的指标。
  • 远程健康监控:OpenShift Container Platform 会收集有关集群的匿名汇总信息。通过使用 Telemetry 和 Insights Operator,红帽会接收这些数据,用于改进 OpenShift Container Platform。您可以查看远程健康监控收集的数据
  • Red Hat OpenShift 的电源监控(技术预览):您可以使用 Red Hat OpenShift 的电源监控来监控电源使用情况,并识别在 OpenShift Container Platform 集群中运行的电源消耗容器。电源监控从各种组件(如 CPU 和 DRAM)收集和导出与能源相关的系统统计信息。电源监控为 Kubernetes pod、命名空间和节点提供精细的功耗数据。

1.5. 托管的 control plane 活动

第 2 章 了解有关 OpenShift Container Platform 的更多信息

使用以下小节查找内容以帮助您了解和使用 OpenShift Container Platform。

2.1. 架构

2.2. Cluster Administrator

2.3. 应用程序站点可靠性工程师 (App SRE)

2.4. 开发者

法律通告

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.