OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
第 3 章 使用本地存储设备部署
使用本地存储设备在 OpenShift Container Platform 上部署 OpenShift Container Storage 可让您选择创建内部集群资源。这将会在内部置备基础服务,这有助于为应用提供额外的存储类。
使用本节在已安装 OpenShift Container Platform 的 VMware 上部署 OpenShift Container Storage。
另外,在执行后续步骤前,请确保您已满足 准备部署 OpenShift Container Storage 章节的要求。
3.1. 安装 Local Storage Operator 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
您可以使用 Red Hat OpenShift Container Platform Operator Hub 安装 Local Storage Operator。
前提条件
- 使用具有 cluster-admin 和 Operator 安装权限的账户访问 OpenShift Container Platform 集群。
步骤
- 登录 OpenShift Web 控制台。
-
点 Operators
OperatorHub。 -
在 Filter by keyword… 框中键入
local storage
,从操作器列表中搜索Local Storage
operator 并单击它。 - 点击 Install。
在 Install Operator 页面中设置以下选项:
- 频道为 stable-4.8。
- 安装模式是 A specific namespace on the cluster。
- Installed Namespace 为 Operator recommended namespace openshift-local-storage。
- 批准策略为 Automatic。
- 点击 Install。
验证步骤
-
验证 Local Storage Operator 是否显示 Status 为
Succeeded
。