Prerequisites for OCP on bare metal
Environment Prerequisites
The minimum supported size for a Portworx cluster is three nodes. Each node must meet the following hardware, software, and network requirements:
Hardware | |
---|---|
CPU | 4 cores minimum, 8 cores recommended |
RAM | 4GB minimum, 8GB recommended |
Disk
|
|
Backing drive | 8GB (minimum required) 128 GB (minimum recommended) |
Operating system root partition | 64 GB is the minimum required size for the root filesystem which contains the operating system 128 GB minimum recommended |
Storage drives | Storage drives must be unmounted block storage: raw disks, drive partitions, LVM, or cloud block storage. |
Network connectivity | Bandwidth:
Latency requirements for synchronous replication: less than 10ms between nodes in the cluster |
Node type | Virtual machine (VM) |
Open ports needed | Portworx requires different open ports depending on how it's installed:
|
Domain Allowlisting | For environments with locked down network connectivity, Portworx requires different domains to be allowlisted depending on how it's installed:
|
Software | |
---|---|
Linux kernel and distro | Kernel version 3.10 or greater. To check if your Linux distro and kernel are supported, see Supported Kernels. |
Key-value store | Portworx needs a key-value store to perform its operations. As such, install a clustered key-value database (kvdb ) with a three node cluster.You can also use Internal KVDB during installation. In this mode, Portworx will create and manage an internal key-value store (KVDB) cluster. If you plan of using your own KVDB, refer to KVDB for Portworx for details on recommendations for installing and configuring a KVDB cluster. |
Disable swap | Please disable swap on all nodes that will run the Portworx software. Ensure that the swap device is not automatically mounted on server reboot. |
Portworx network requirements
Portworx runs as a pod in a Kubernetes cluster and uses specific ports for communication, data transfer, and telemetry.
- East-to-west
- Inbound
- Outbound
note
Portworx also requires the following ports:
- An open KVDB port. For example, if you're using etcd externally, open port 2379.
- An open UDP port at 17002.
OpenShift | Description |
---|---|
17001 | Portworx management port [REST] |
17002 | Portworx node-to-node port [gossip]/UDP |
17003 | Portworx storage data port |
17004 | Portworx namespace [RPC] |
17009 | Portworx node-to-node communication port [gRPC] |
17010 | Portworx namespace driver [gRPC] |
17011 | Portworx diags server port [gRPC] |
17015 | Portworx kvdb peer-to-peer port [gRPC] |
17016 | Portworx kvdb client service [gRPC] |
17018 | Portworx gRPC SDK gateway [REST] |
17019 | Portworx health monitor [REST] |
17021 | Telemetry log uploader |
20002 | Telemetry phone home |
OpenShift | Description |
---|---|
17001 | Portworx management port [REST] |
17018 | Portworx gRPC SDK gateway [REST] |
Portworx Enterprise supported versions
Before you install Portworx on Kubernetes, ensure that you're using a supported Kubernetes version:
- 3.2
- 3.1
- 3.0
Type | Supported Versions |
---|---|
Red Hat OpenShift |
|
Type | Supported Versions |
---|---|
Red Hat OpenShift |
|
Supported Kubernetes Version |
---|
Red Hat OpenShift:
NOTE: Supports both bare metal and VM. |