关于

OpenShift Container Platform 4.12

OpenShift Container Platform 简介

Red Hat OpenShift Documentation Team

摘要

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

第 1 章 OpenShift Container Platform 4.12 文档

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

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

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

架构安全及合规性开始。然后请查看发行注记

1.1. 集群安装程序操作

探索这些 OpenShift Container Platform 安装任务。

1.2. 开发人员活动

使用 OpenShift Container Platform 开发和部署容器化应用。OpenShift Container Platform 是一个用于开发和部署容器化应用程序的平台。OpenShift Container Platform 文档可帮助您:

  • 了解 OpenShift Container Platform 开发 :了解不同类型的容器化应用,从简单的容器到高级 Kubernetes 部署和 Operator。
  • 使用项目 :通过 OpenShift Container Platform Web 控制台或 OpenShift CLI(oc)创建项目以组织和共享您开发的软件。
  • 使用应用程序
  • 使用 OpenShift Container Platform Web 控制台中的 Developer 视角创建和部署应用程序
  • 使用 Topology 视图查看应用程序、监控状态、连接和组组件,以及修改您的代码库。
  • 将您的工作负载连接到后端服务 : Service Binding Operator 可让应用程序开发人员通过自动收集并共享与工作负载的绑定数据,将工作负载与 Operator 管理的支持服务绑定在一起。Service Binding Operator 使用一致和声明性服务绑定方法改进开发生命周期,可防止集群环境中的差异。
  • 使用开发人员 CLI 工具(odo CLI 工具): odo CLI 工具可让开发人员轻松创建单一或多组件应用程序,并自动执行部署、构建和服务路由配置。它提取了复杂的 Kubernetes 和 OpenShift Container Platform 概念,允许您专注于开发应用程序。
  • 创建 CI/CD 管道 :管道 (Pipeline) 是无服务器、云原生、持续集成和持续部署(CI/CD)的系统,它在隔离的容器中运行。Pipelines 使用标准的 Tekton 自定义资源来自动化部署,并为处理基于微服务的架构的非中心化团队设计。
  • 管理您的基础架构和应用程序配置 :GitOps 是为云原生应用程序实施持续部署的一种声明方式。GitOps 将基础架构和应用程序定义定义为代码。GitOps 使用此代码来管理多个工作区和集群来简化基础架构和应用程序配置的创建过程。GitOps 以快速的速度处理和自动化复杂部署,节省部署和发行周期期间的时间。
  • 部署 Helm chartHelm 是一个软件包管理器,简化了应用程序和服务部署到 OpenShift Container Platform 集群的过程。Helm 使用名为 chart 的打包格式。Helm chart 是描述 OpenShift Container Platform 资源的一个文件集合。
  • 了解镜像构建 :从不同的构建策略(Docker、S2I、自定义和管道)中选择可以包括不同类型的源资料(Git 存储库、本地二进制输入和外部工件)。然后,请参阅从基本构建到高级构建的构建类型示例。
  • 创建容器镜像 :容器镜像是 OpenShift Container Platform(和 Kubernetes)应用程序中最基本的构建块。通过定义镜像流,在继续开发镜像时,可让您在一个位置保存镜像的多个版本。S2I 容器允许您将源代码插入到基本容器中,该容器被设置为运行特定类型的代码,如 Ruby、Node.js 或 Python。
  • 创建部署 :使用 DeploymentDeploymentConfig 对象对应用程序进行精细管理。使用 Workloads 页面或 OpenShift CLI (oc) 管理部署。了解滚动、重新创建和自定义部署策略
  • 创建模板 :使用现有模板或创建自己的模板来描述应用的构建或部署方式。模板可以将镜像与描述、参数、副本、公开端口和其他定义如何运行或构建的内容相结合。
  • 了解 Operator:Operator 是为 OpenShift Container Platform 4.12 创建集群应用程序的首选方法。了解 Operator Framework 以及如何使用已安装的 Operator 部署到项目中。
  • 开发 Operator:Operator 是为 OpenShift Container Platform 4.12 创建集群应用程序的首选方法。了解构建、测试和部署 Operator 的工作流。然后,基于 AnsibleHelm 创建自己的 Operator,或使用 Operator SDK 配置内置 Prometheus 监控
  • REST API 参考 :了解 OpenShift Container Platform 应用程序编程接口端点。

1.3. 集群管理员活动

作为 OpenShift Container Platform 的集群管理员,本文档可帮助您:

  • 了解 OpenShift Container Platform 管理 :了解 OpenShift Container Platform 4.12 control plane 的组件。请参阅 OpenShift Container Platform control plane 和计算节点如何通过 Machine APIOperator 进行管理和更新。
  • 启用在安装集群管理员前禁用的集群功能,可以启用在安装前禁用的集群功能。如需更多信息,请参阅启用集群功能

1.3.1. 管理集群组件

1.3.2. 更改集群组件

1.3.3. 监控集群

  • 使用 OpenShift Logging :了解 OpenShift Logging 并配置不同的 OpenShift Logging 类型,如 Elasticsearch、Fluentd 和 Kibana。
  • Red Hat OpenShift distributed tracing 平台 :存储和视觉化通过分布式系统、整个微服务堆栈和高负载的大量请求。使用分布式追踪平台来监控分布式事务,收集检测服务、网络分析、性能和延迟优化,根本原因分析,并对现代云原生微服务的应用中组件之间的交互进行故障排除。

第 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.