Red Hat Openshift Container Storage 4.6: Planning Your Deployment
Red Hat Openshift Container Storage 4.6: Planning Your Deployment
4.6
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.
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.
Abstract
Read this document for important considerations when planning your Red Hat OpenShift Container
Storage deployment.
Table of Contents
Table of Contents
. . . . . . . . . . . 1.. .INTRODUCTION
CHAPTER . . . . . . . . . . . . . . . . . TO
. . . .RED
. . . . .HAT
. . . . OPENSHIFT
. . . . . . . . . . . . . CONTAINER
. . . . . . . . . . . . . .STORAGE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. . . . . . . . . . . . .
.CHAPTER
. . . . . . . . . . 2.
. . ARCHITECTURE
. . . . . . . . . . . . . . . . . .OF
. . .OPENSHIFT
. . . . . . . . . . . . .CONTAINER
. . . . . . . . . . . . . STORAGE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4. . . . . . . . . . . . .
2.1. ABOUT OPERATORS 4
2.2. STORAGE CLUSTER DEPLOYMENT APPROACHES 5
2.2.1. Internal approach 5
2.2.2. External approach 6
2.3. NODE TYPES 6
. . . . . . . . . . . 3.
CHAPTER . . INTERNAL
. . . . . . . . . . . .STORAGE
. . . . . . . . . . .SERVICES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8. . . . . . . . . . . . .
. . . . . . . . . . . 4.
CHAPTER . . .EXTERNAL
. . . . . . . . . . . .STORAGE
. . . . . . . . . . SERVICES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9. . . . . . . . . . . . .
. . . . . . . . . . . 5.
CHAPTER . . SECURITY
. . . . . . . . . . . .CONSIDERATIONS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
..............
5.1. FIPS-140-2 10
5.2. PROXY ENVIRONMENT 10
5.3. DATA ENCRYPTION OPTIONS 10
. . . . . . . . . . . 6.
CHAPTER . . .SUBSCRIPTIONS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
..............
6.1. SUBSCRIPTION OFFERINGS 12
6.2. DISASTER RECOVERY SUBSCRIPTIONS 12
6.3. CORES VERSUS VCPUS AND HYPERTHREADING 12
6.3.1. Cores versus vCPUs and simultaneous multithreading (SMT) for IBM Power Systems 12
6.4. SPLITTING CORES 13
6.4.1. Shared Processor Pools for IBM Power Systems 13
6.5. SUBSCRIPTION REQUIREMENTS 13
.CHAPTER
. . . . . . . . . . 7.
. . INFRASTRUCTURE
. . . . . . . . . . . . . . . . . . . . REQUIREMENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
..............
7.1. PLATFORM REQUIREMENTS 14
7.1.1. Amazon EC2 14
7.1.2. Bare Metal 14
7.1.3. VMware vSphere 14
7.1.4. Microsoft Azure 15
7.1.5. Google Cloud [Technology Preview] 15
7.1.6. Red Hat Virtualization Platform [Technology Preview] 15
7.1.7. Red Hat OpenStack Platform [Technology Preview] 15
7.1.8. IBM Power Systems 15
7.1.9. IBM Z and LinuxONE [Technology Preview] 15
7.2. EXTERNAL MODE REQUIREMENT 15
7.2.1. Red Hat Ceph Storage 15
7.3. RESOURCE REQUIREMENTS 16
7.3.1. Minimum deployment resource requirements [Technology Preview] 16
7.3.2. Compact deployment resource requirements [Technology Preview] 17
7.4. POD PLACEMENT RULES 18
7.5. STORAGE DEVICE REQUIREMENTS 18
7.5.1. Dynamic storage devices 18
7.5.2. Local storage devices 19
7.5.3. Capacity planning 19
. . . . . . . . . . . 8.
CHAPTER . . .DISCONNECTED
. . . . . . . . . . . . . . . . . ENVIRONMENT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
..............
. . . . . . . . . . . 9.
CHAPTER . . .NEXT
. . . . . .STEPS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
..............
1
Red Hat OpenShift Container Storage 4.6 Planning your deployment
2
CHAPTER 1. INTRODUCTION TO RED HAT OPENSHIFT CONTAINER STORAGE
Red Hat OpenShift Container Storage services are primarily made available to applications by way of
storage classes that represent the following components:
Block storage devices, catering primarily to database workloads. Prime examples include Red
Hat OpenShift Container Platform logging and monitoring, and PostgreSQL.
Shared and distributed file system, catering primarily to software development, messaging, and
data aggregation workloads. Examples include Jenkins build sources and artifacts, Wordpress
uploaded content, Red Hat OpenShift Container Platform registry, and messaging using JBoss
AMQ.
Multicloud object storage, featuring a lightweight S3 API endpoint that can abstract the storage
and retrieval of data from multiple cloud object stores.
On premises object storage, featuring a robust S3 API endpoint that scales to tens of petabytes
and billions of objects, primarily targeting data intensive applications. Examples include the
storage and access of row, columnar, and semi-structured data with applications like Spark,
Presto, Red Hat AMQ Streams (Kafka), and even machine learning frameworks like TensorFlow
and Pytorch.
NOTE
OpenShift Container Storage 4.6 on IBM Power Systems supports only block and file
storage and not the object storage.
Red Hat OpenShift Container Storage version 4.x integrates a collection of software projects, including:
Ceph, providing block storage, a shared and distributed file system, and on-premises object
storage
Ceph CSI, to manage provisioning and lifecycle of persistent volumes and claims
OpenShift Container Storage, Rook-Ceph, and NooBaa operators to initialize and manage
OpenShift Container Storage services.
3
Red Hat OpenShift Container Storage 4.6 Planning your deployment
Red Hat OpenShift Container Storage supports deployment into Red Hat OpenShift Container
Platform clusters deployed on Installer Provisioned Infrastructure or User Provisioned Infrastructure. For
details about these two approaches, see OpenShift Container Platform - Installation process . To know
more about interoperability of components for the Red Hat OpenShift Container Storage and Red Hat
OpenShift Container Platform, see the interoperability matrix.
NOTE
For IBM Power Systems refer OpenShift Container Platform - Installation process .
For information about the architecture and lifecycle of OpenShift Container Platform, see OpenShift
Container Platform architecture.
4
CHAPTER 2. ARCHITECTURE OF OPENSHIFT CONTAINER STORAGE
Rook-Ceph operator
This operator automates the packaging, deployment, management, upgrading, and scaling of persistent
storage and file, block, and object services. It creates block and file storage classes for all environments,
and creates an object storage class and services object bucket claims made against it in on-premises
environments.
Additionally, for internal mode clusters, it provides the Ceph cluster resource, which manages the
deployments and services representing the following:
Monitors (MONs)
Manager (MGR)
NooBaa operator
This operator automates the packaging, deployment, management, upgrading, and scaling of the
Multicloud Object Gateway object service. It creates an object storage class and services object bucket
claims made against it.
Additionally, it provides the NooBaa cluster resource, which manages the deployments and services for
NooBaa core, database, and endpoint.
There are two different deployment modalities available when Red Hat OpenShift Container Storage is
running entirely within Red Hat OpenShift Container Platform:
Simple
Optimized
Simple deployment
Red Hat OpenShift Container Storage services run co-resident with applications, managed by operators
in Red Hat OpenShift Container Platform.
5
Red Hat OpenShift Container Storage 4.6 Planning your deployment
In order for Red Hat OpenShift Container Storage to run co-resident with applications, they must have
local storage devices, or portable storage devices attached to them dynamically, like EBS volumes on
EC2, or vSphere Virtual Volumes on VMware, or SAN volumes dynamically provisioned by PowerVC.
Optimized deployment
OpenShift Container Storage services run on dedicated infrastructure nodes managed by Red Hat
OpenShift Container Platform.
Creating a node instance of a specific size is easy (Cloud, Virtualized environment, etc.)
Multiple OpenShift Container Platform clusters need to consume storage services from a
common external cluster.
Another team (SRE, Storage, etc.) needs to manage the external cluster providing storage
services. Possibly pre-existing.
NOTE
External approach is not applicable for IBM Power Systems, IBM Z and LinuxONE
architecture.
6
CHAPTER 2. ARCHITECTURE OF OPENSHIFT CONTAINER STORAGE
Master These nodes run processes that expose the Kubernetes API, watch and
schedule newly created pods, maintain node health and quantity, and
control interaction with underlying cloud providers.
Infrastructure (Infra) Infra nodes run cluster level infrastructure services such as logging,
metrics, registry, and routing. These are optional in OpenShift Container
Platform clusters. It is recommended to use infra nodes for OpenShift
Container Storage in virtualized and cloud environments.
To create Infra nodes, you can provision new nodes labeled as infra. See
How to use dedicated worker nodes for Red Hat OpenShift Container
Storage?
Worker Worker nodes are also known as application nodes since they run
applications.
NOTE
Nodes that run only storage workloads require a subscription for Red Hat OpenShift
Container Storage. Nodes that run other workloads in addition to storage workloads
require both Red Hat OpenShift Container Storage and Red Hat OpenShift Container
Platform subscriptions. See Chapter 6, Subscriptions for more information.
7
Red Hat OpenShift Container Storage 4.6 Planning your deployment
Bare metal
VMware vSphere
Microsoft Azure
Ease of deployment and management are the highlights of running OpenShift Container Storage
services internally on OpenShift Container Platform. Creation of an internal cluster resource will result in
the internal provisioning of the OpenShift Container Storage base services, and make additional storage
classes available to applications.
8
CHAPTER 4. EXTERNAL STORAGE SERVICES
VMware vSphere
Bare Metal
The OpenShift Container Storage operators create and manage services to satisfy persistent volume
and object bucket claims against external services. External cluster can serve Block, File and Object
storage classes for applications running on OpenShift Container Platform. External clusters are not
deployed or managed by operators.
9
Red Hat OpenShift Container Storage 4.6 Planning your deployment
5.1. FIPS-140-2
The Federal Information Processing Standard Publication 140-2 (FIPS-140-2) is a standard defining a
set of security requirements for the use of cryptographic modules. This standard is mandated by law for
US government agencies and contractors and is also referenced in other international and industry
specific standards.
Red Hat OpenShift Container Storage is now using FIPS validated cryptographic modules as delivered
by Red Hat Enterprise Linux OS/CoreOS (RHCOS).
The cryptography modules are currently being processed by Cryptographic Module Validation Program
(CMVP) and their state can be seen at Modules in Process List . For more up-to-date information, see
the knowledge base article.
NOTE
FIPS mode must be enabled on the OpenShift Container Platform, prior to installing
OpenShift Container Storage. OpenShift Container Platform must run on RHCOS nodes,
as OpenShift Container Storage deployment on RHEL 7 is not supported for this feature.
FIPS is not supported on OpenShift Container Storage 4.6 on IBM Power Systems.
For more information, see installing a cluster in FIPS mode and support for FIPS cryptography .
Red Hat supports deployment of Openshift Container Storage versions 4.5 and higher in proxy
environments when OpenShift Container Platform has been configured according to configuring the
cluster-wide proxy.
NOTE
Proxy environment is not supported on OpenShift Container Storage 4.6 on IBM Power
Systems.
OpenShift Container Storage 4.6 uses Linux Unified Key System (LUKS) version 2 based encryption
with a key size of 512 bits and the aes-xts-plain64 cipher. Each device has a different encryption key,
which is stored as a Kubernetes secret.
You can enable or disable encryption for your whole cluster during cluster deployment. It is disabled by
10
CHAPTER 5. SECURITY CONSIDERATIONS
You can enable or disable encryption for your whole cluster during cluster deployment. It is disabled by
default. Working with encrypted data incurs only a very small penalty to performance.
Data encryption is only supported for new clusters deployed using OpenShift Container Storage 4.6. It is
not supported on existing clusters that are upgraded to version 4.6.
11
Red Hat OpenShift Container Storage 4.6 Planning your deployment
CHAPTER 6. SUBSCRIPTIONS
Cores can be distributed across as many virtual machines (VMs) as needed. For example, ten 2-
core subscriptions will provide 20 cores and in case of IBM Power Systems a 2-core subscription
at SMT level of 8 will provide 2 cores or 16 vCPUs that can be used across any number of VMs.
OpenShift Container Storage subscriptions are available with Premium or Standard support.
For systems where hyperthreading is enabled and where one hyperthread equates to one visible system
core, the calculation of cores is a ratio of 2 cores to 4 vCPUs. Therefore, a 2-core subscription covers 4
vCPUs in a hyperthreaded system. A large virtual machine (VM) might have 8 vCPUs, equating to 4
subscription cores. As subscriptions come in 2-core units, you will need two 2-core subscriptions to
cover these 4 cores or 8 vCPUs.
Where hyperthreading is not enabled, and where each visible system core correlates directly to an
underlying physical core, the calculation of cores is a ratio of 2 cores to 2 vCPUs.
6.3.1. Cores versus vCPUs and simultaneous multithreading (SMT) for IBM Power
Systems
Making a determination about whether or not a particular system consumes one or more cores is
currently dependent on the level of simultaneous multithreading configured (SMT). IBM Power systems
provide simultaneous multithreading levels of 1, 2, 4 or 8.
For systems where SMT is configured the calculation of cores depends on the SMT level. Therefore, a
2-core subscription 2 vCPU on SMT level of 1, 4 vCPUs on SMT level of 2, 8 vCPUs on SMT level of 4
and 16 vCPUs on SMT level of 8. A large virtual machine (VM) might have 16 vCPUs, which at a SMT
level 8 will be equivalent of 2 subscription cores. As subscriptions come in 2-core units, you will need 1 2-
core subscription to cover these 2 cores or 16 vCPUs.
12
CHAPTER 6. SUBSCRIPTIONS
When a single virtual machine (VM) with 2 vCPUs uses hyperthreading resulting in 1 calculated vCPU, a
full 2-core subscription is required; a single 2-core subscription may not be split across two VMs with 2
vCPUs using hyperthreading. See section Cores versus vCPUs and hyperthreading for more information.
It is recommended that virtual instances be sized so that they require an even number of cores.
13
Red Hat OpenShift Container Storage 4.6 Planning your deployment
NOTE
For OpenShift Container Storage 4.6 on IBM Power Systems, IBM Z and LinuxONE
infrastructure, only OpenShift Container Platform 4.6 or later is supported.
For external cluster subscription requirements, see this Red Hat Knowledgebase article .
For a complete list of supported platform versions, see the Red Hat OpenShift Container Storage and
Red Hat OpenShift Container Platform interoperability matrix.
An Internal cluster must both meet storage device requirements and have a storage class providing
either
An Internal cluster must both meet storage device requirements and have a storage class providing local
SSD (NVMe/SATA/SAS, SAN) via the Local Storage Operator.
Additionally, an Internal cluster must both meet storage device requirements and have a storage class
providing either
14
CHAPTER 7. INFRASTRUCTURE REQUIREMENTS
VMDK, RDM, or DirectPath storage devices via the Local Storage Operator.
An Internal cluster must both meet storage device requirements and have a storage class providing
An Internal cluster must both meet storage device requirements and have a storage class providing
An Internal cluster must both meet storage device requirements and have a storage class providing local
SSD (NVMe/SATA/SAS, SAN) via the Local Storage Operator.
An Internal cluster must both meet storage device requirements and have a storage class providing
An Internal cluster must both meet storage device requirements and have a storage class providing local
SSD (NVMe/SATA/SAS, SAN) via the Local Storage Operator.
An Internal cluster must both meet storage device requirements and have a storage class providing local
SSD (NVMe/SATA/SAS, SAN) via the Local Storage Operator.
Red Hat Ceph Storage (RHCS) version 4.1.2 or later is required. For more information on versions
15
Red Hat OpenShift Container Storage 4.6 Planning your deployment
Red Hat Ceph Storage (RHCS) version 4.1.2 or later is required. For more information on versions
supported, see this knowledge base article on Red Hat Ceph Storage releases and corresponding Ceph
package versions.
For instructions regarding how to install a RHCS 4 cluster, see Installation guide.
NOTE
Internal
30 CPU (logical) 6 CPU (logical)
72 GB memory 15 GB memory
16 GB memory
Example: For a 3 node cluster in an internal mode deployment with a single device set, a minimum of 3 x
10 = 30 units of CPU are required.
CPU units
In this section, 1 CPU Unit maps to the Kubernetes concept of 1 CPU unit.
For additional guidance with designing your OpenShift Container Storage cluster, see the OCS Sizing
Tool.
An OpenShift Container Storage cluster will be deployed with minimum configuration when the standard
16
CHAPTER 7. INFRASTRUCTURE REQUIREMENTS
An OpenShift Container Storage cluster will be deployed with minimum configuration when the standard
deployment resource requirement is not met.
Internal
24 CPU (logical)
72 GB memory
3 storage devices
If you want to add additional device sets, we recommend converting your minimum deployment to
standard deployment.
IMPORTANT
Table 7.3. Aggregate resource requirements for OpenShift Container Storage only
Internal
24 CPU (logical) 6 CPU (logical)
72 GB memory 15 GB memory
To configure OpenShift Container Platform on a compact bare metal cluster, see Configuring a three-
node cluster and Delivering a Three-node Architecture for Edge Deployments .
IMPORTANT
17
Red Hat OpenShift Container Storage 4.6 Planning your deployment
IMPORTANT
This leads to the requirement that there be at least three nodes, and that nodes be in three distinct rack
or zone failure domains in the case of pre-existing topology labels.
For additional device sets, there must be a storage device, and sufficient resources for the pod
consuming it, in each of the three failure domains. Manual placement rules can be used to override
default placement rules, but generally this approach is only suitable for bare metal deployments.
NOTE
You can expand the storage capacity only in the increment of the capacity selected at
the time of installation.
NOTE
OpenShift Container Storage 4.6 on IBM Power Systems does not support dynamic
storage devices.
18
CHAPTER 7. INFRASTRUCTURE REQUIREMENTS
Capacity alerts are issued when cluster storage capacity reaches 75% (near-full) and 85% (full) of total
capacity. Always address capacity warnings promptly, and review your storage regularly to ensure that
you do not run out of storage space. If you do run out of storage space completely, contact Red Hat
Customer Support.
The following tables show example node configurations for Red Hat OpenShift Container Storage with
dynamic storage devices.
Storage Device size Storage Devices per Total capacity Usable storage
node capacity
Storage Device size (D) Storage Devices per Total capacity (D * M * Usable storage
node (M) N) capacity (D*M*N/3)
19
Red Hat OpenShift Container Storage 4.6 Planning your deployment
Red Hat supports deployment of OpenShift Container Storage in disconnected environments where
OpenShift Container Platform is installed in restricted networks.
NOTE
When you install OpenShift Container Storage in a restricted network environment, apply
a custom Network Time Protocol (NTP) configuration to the nodes, because by default,
internet connectivity is assumed in OpenShift Container Platform and chronyd is
configured to use *.rhel.pool.ntp.org servers. See Red Hat Knowledgebase article and
Configuring chrony time service for more details.
For more information, see Preparing to deploy OpenShift Container Storage in disconnected
environments.
NOTE
OpenShift Container Storage 4.6 on IBM Power Systems does not support Disconnected
environment .
20
CHAPTER 9. NEXT STEPS
Internal mode
Deploying OpenShift Container Storage using Red Hat OpenStack Platform [Technology
Preview]
Deploying OpenShift Container Storage using Red Hat Virtualization Platform [Technology
Preview]
External mode
21