|
| 1 | +== OpenShift Cluster Sizing for the Retail Pattern |
| 2 | + |
| 3 | +=== Tested Platforms |
| 4 | + |
| 5 | +The *retail* pattern has been tested in the following Certified Cloud |
| 6 | +Providers. |
| 7 | + |
| 8 | +[cols="<,<",options="header",] |
| 9 | +|=== |
| 10 | +|*Certified Cloud Providers* |4.10 |
| 11 | +|Amazon Web Services |:heavy_check_mark: |
| 12 | +|Microsoft Azure | |
| 13 | +|Google Cloud Platform | |
| 14 | +|=== |
| 15 | + |
| 16 | +=== General OpenShift Minimum Requirements |
| 17 | + |
| 18 | +OpenShift 4 has the following minimum requirements for sizing of nodes: |
| 19 | + |
| 20 | +* *Minimum 4 vCPU* (additional are strongly recommended). |
| 21 | +* *Minimum 16 GB RAM* (additional memory is strongly recommended, |
| 22 | +especially if etcd is colocated on masters). |
| 23 | +* *Minimum 40 GB* hard disk space for the file system containing /var/. |
| 24 | +* *Minimum 1 GB* hard disk space for the file system containing |
| 25 | +/usr/local/bin/. |
| 26 | + |
| 27 | +There are several applications that comprise the *retail* pattern. In |
| 28 | +addition, the *retail* pattern also includes a number of supporting |
| 29 | +operators that are installed by *OpenShift GitOps* using ArgoCD. |
| 30 | + |
| 31 | +==== Retail Pattern OpenShift Datacenter HUB Cluster Size |
| 32 | + |
| 33 | +The retail pattern has been tested with a defined set of specifically |
| 34 | +tested configurations that represent the most common combinations that |
| 35 | +Red Hat OpenShift Container Platform (OCP) customers are using or |
| 36 | +deploying for the x86_64 architecture. |
| 37 | + |
| 38 | +The Datacenter HUB OpenShift Cluster is made up of the the following on |
| 39 | +the AWS deployment tested: |
| 40 | + |
| 41 | +[cols="<,^,<,<",options="header",] |
| 42 | +|=== |
| 43 | +|Node Type |Number of nodes |Cloud Provider |Instance Type |
| 44 | +|Master |3 |Amazon Web Services |m5.xlarge |
| 45 | +|Worker |3 |Amazon Web Services |m5.xlarge |
| 46 | +|=== |
| 47 | + |
| 48 | +The Datacenter HUB OpenShift cluster needs to be a bit bigger than the |
| 49 | +Factory/Edge clusters because this is where the developers will be |
| 50 | +running pipelines to build and deploy the *Industrial Edge* pattern on |
| 51 | +the cluster. The above cluster sizing is close to a *minimum* size for a |
| 52 | +Datacenter HUB cluster. In the next few sections we take some snapshots |
| 53 | +of the cluster utilization while the *Industrial Edge* pattern is |
| 54 | +running. Keep in mind that resources will have to be added as more |
| 55 | +developers are working building their applications. |
| 56 | + |
| 57 | +==== Retail Pattern OpenShift Store Edge Cluster Size |
| 58 | + |
| 59 | +The OpenShift cluster is made of 3 Nodes combining Master/Workers for |
| 60 | +the Edge/Factory cluster. |
| 61 | + |
| 62 | +[cols="^,^,^,^",options="header",] |
| 63 | +|=== |
| 64 | +|Node Type |Number of nodes |Cloud Provider |Instance Type |
| 65 | +|Master/Worker |3 |Google Cloud |n1-standard-8 |
| 66 | +|Master/Worker |3 |Amazon Cloud Services |m5.2xlarge |
| 67 | +|Master/Worker |3 |Microsoft Azure |Standard_D8s_v3 |
| 68 | +|=== |
| 69 | + |
| 70 | +==== AWS Instance Types |
| 71 | + |
| 72 | +The *retail* pattern was tested with the highlighted AWS instances in |
| 73 | +*bold*. The OpenShift installer will let you know if the instance type |
| 74 | +meets the minimum requirements for a cluster. |
| 75 | + |
| 76 | +The message that the openshift installer will give you will be similar |
| 77 | +to this message |
| 78 | + |
| 79 | +[source,text] |
| 80 | +---- |
| 81 | +INFO Credentials loaded from default AWS environment variables |
| 82 | +FATAL failed to fetch Metadata: failed to load asset "Install Config": [controlPlane.platform.aws.type: Invalid value: "m4.large": instance type does not meet minimum resource requirements of 4 vCPUs, controlPlane.platform.aws.type: Invalid value: "m4.large": instance type does not meet minimum resource requirements of 16384 MiB Memory] |
| 83 | +---- |
| 84 | + |
| 85 | +Below you can find a list of the AWS instance types that can be used to |
| 86 | +deploy the *retail* pattern. |
| 87 | + |
| 88 | +[width="100%",cols="^26%,^20%,^20%,^17%,^17%",options="header",] |
| 89 | +|=== |
| 90 | +|Instance type |Default vCPUs |Memory (GiB) |Datacenter |Factory/Edge |
| 91 | +| | | |3x3 OCP Cluster |3 Node OCP Cluster |
| 92 | +|m4.xlarge |4 |16 |N |N |
| 93 | +|m4.2xlarge |8 |32 |Y |Y |
| 94 | +|m4.4xlarge |16 |64 |Y |Y |
| 95 | +|m4.10xlarge |40 |160 |Y |Y |
| 96 | +|m4.16xlarge |64 |256 |Y |Y |
| 97 | +|*m5.xlarge* |4 |16 |Y |N |
| 98 | +|m5.2xlarge |8 |32 |Y |Y |
| 99 | +|m5.4xlarge |16 |64 |Y |Y |
| 100 | +|m5.8xlarge |32 |128 |Y |Y |
| 101 | +|m5.12xlarge |48 |192 |Y |Y |
| 102 | +|m5.16xlarge |64 |256 |Y |Y |
| 103 | +|m5.24xlarge |96 |384 |Y |Y |
| 104 | +|=== |
| 105 | + |
| 106 | +The OpenShift cluster is made of 3 Masters and 3 Workers for the |
| 107 | +Datacenter and the Edge/Factory cluster are made of 3 Master/Worker |
| 108 | +nodes. For the node sizes we used the *m5.xlarge* on AWS and this |
| 109 | +instance type met the minimum requirements to deploy the *retail* |
| 110 | +pattern successfully on the Datacenter hub. On the Factory/Edge cluster |
| 111 | +we used the *m5.2xlarge* since the minimum cluster was comprised of 3 |
| 112 | +nodes. . |
| 113 | + |
| 114 | +To understand better what types of nodes you can use on other Cloud |
| 115 | +Providers we provide some of the details below. |
| 116 | + |
| 117 | +==== Azure Instance Types |
| 118 | + |
| 119 | +The *retail* pattern was also deployed on Azure using the |
| 120 | +*Standard_D8s_v3* VM size. Below is a table of different VM sizes |
| 121 | +available for Azure. Keep in mind that due to limited access to Azure we |
| 122 | +only used the *Standard_D8s_v3* VM size. |
| 123 | + |
| 124 | +The OpenShift cluster is made of 3 Master and 3 Workers for the |
| 125 | +Datacenter cluster. |
| 126 | + |
| 127 | +The OpenShift cluster is made of 3 Nodes combining Master/Workers for |
| 128 | +the Edge/Factory cluster. |
| 129 | + |
| 130 | +[width="100%",cols="<34%,<33%,<33%",options="header",] |
| 131 | +|=== |
| 132 | +|Type |Sizes |Description |
| 133 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-general[General |
| 134 | +purpose] |B, Dsv3, Dv3, Dasv4, Dav4, DSv2, Dv2, Av2, DC, DCv2, Dv4, |
| 135 | +Dsv4, Ddv4, Ddsv4 |Balanced CPU-to-memory ratio. Ideal for testing and |
| 136 | +development, small to medium databases, and low to medium traffic web |
| 137 | +servers. |
| 138 | + |
| 139 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-compute[Compute |
| 140 | +optimized] |F, Fs, Fsv2, FX |High CPU-to-memory ratio. Good for medium |
| 141 | +traffic web servers, network appliances, batch processes, and |
| 142 | +application servers. |
| 143 | + |
| 144 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-memory[Memory |
| 145 | +optimized] |Esv3, Ev3, Easv4, Eav4, Ev4, Esv4, Edv4, Edsv4, Mv2, M, |
| 146 | +DSv2, Dv2 |High memory-to-CPU ratio. Great for relational database |
| 147 | +servers, medium to large caches, and in-memory analytics. |
| 148 | + |
| 149 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-storage[Storage |
| 150 | +optimized] |Lsv2 |High disk throughput and IO ideal for Big Data, SQL, |
| 151 | +NoSQL databases, data warehousing and large transactional databases. |
| 152 | + |
| 153 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-gpu[GPU] |
| 154 | +|NC, NCv2, NCv3, NCasT4_v3, ND, NDv2, NV, NVv3, NVv4 |Specialized |
| 155 | +virtual machines targeted for heavy graphic rendering and video editing, |
| 156 | +as well as model training and inferencing (ND) with deep learning. |
| 157 | +Available with single or multiple GPUs. |
| 158 | + |
| 159 | +|https://docs.microsoft.com/en-us/azure/virtual-machines/sizes-hpc[High |
| 160 | +performance compute] |HB, HBv2, HBv3, HC, H |Our fastest and most |
| 161 | +powerful CPU virtual machines with optional high-throughput network |
| 162 | +interfaces (RDMA). |
| 163 | +|=== |
| 164 | + |
| 165 | +For more information please refer to the |
| 166 | +https://docs.microsoft.com/en-us/azure/virtual-machines/sizes[Azure VM |
| 167 | +Size Page]. |
| 168 | + |
| 169 | +==== Google Cloud (GCP) Instance Types |
| 170 | + |
| 171 | +The *retail* pattern was also deployed on GCP using the *n1-standard-8* |
| 172 | +VM size. Below is a table of different VM sizes available for GCP. Keep |
| 173 | +in mind that due to limited access to GCP we only used the |
| 174 | +*n1-standard-8* VM size. |
| 175 | + |
| 176 | +The OpenShift cluster is made of 3 Master and 3 Workers for the |
| 177 | +Datacenter cluster. |
| 178 | + |
| 179 | +The OpenShift cluster is made of 3 Nodes combining Master/Workers for |
| 180 | +the Edge/Factory cluster. |
| 181 | + |
| 182 | +The following table provides VM recommendations for different workloads. |
| 183 | + |
| 184 | +[verse] |
| 185 | +-- |
| 186 | +*General purpose* | *Workload optimized* |
| 187 | +Cost-optimized | Balanced | Scale-out optimized | Memory-optimized |Compute-optimized | Accelerator-optimized |
| 188 | +:—- | :—- | :—- | :—- | :—- | :—- |
| 189 | +E2 | N2, N2D, N1 | T2D | M2, M1 | C2 | A2 |
| 190 | +-- |
| 191 | + |
| 192 | +Day-to-day computing at a lower cost | Balanced price/performance across |
| 193 | +a wide range of VM shapes | Best performance/cost for scale-out |
| 194 | +workloads | Ultra high-memory workloads | Ultra high performance for |
| 195 | +compute-intensive workloads | Optimized for high performance computing |
| 196 | +workloads |
| 197 | + |
| 198 | +For more information please refer to the |
| 199 | +https://cloud.google.com/compute/docs/machine-types[GCP VM Size Page]. |
0 commit comments