Cluster sizing for Cloudera Migration Assistant

Choose a hardware tier for the Cloudera Migration Assistant cluster from the number of parallel migrations, the number of Cloudera Data Engineering jobs to migrate, the number of agents, and the size of the large resource files. Each tier sets the node groups of the cluster.

Hardware tiers

When you deploy, you select one of four hardware tiers. Pick the tier by the work that you expect:

Table 1. Hardware tiers of Cloudera Migration Assistant
Tier Parallel migrations Cloudera Data Engineering jobs Agents Large resource files, such as Spark JAR files
Small Up to 2 About 500 1 50 GB
Medium Up to 4 About 2,000 Up to 3 100 GB
Large Up to 10 About 5,000 Up to 6 100 GB
Extra Large Up to 20 About 10,000 Up to 12 100 GB

A tier sets only the node groups of the cluster. The pods of Cloudera Migration Assistant have the same size in every tier. A parallel migration is one agent run and, when Code Migrator is turned on, one build sandbox pod.

For the Medium, Large, and Extra Large tiers, set CMA Resource Storage Size to 100Gi in the engine configuration, or bind a bucket for the large resource files. The default of 50Gi fits the Small tier.

Node groups for each tier

The cluster has two node groups. The CMA Control Plane node group runs the Kubernetes control plane, and Cloudera Migration Assistant runs nothing on it. The CMA Nodes node group runs the Anywhere Cloud platform services, the Cloudera Migration Assistant engine with its web interface, sign-in service, built-in Git server, and Code Migrator, the agents, their databases, and the build sandboxes.

Table 2. Node groups for each tier
Tier CMA Control Plane CMA Nodes: nodes (default / minimum) CMA Nodes: minimum per node CMA Nodes: disk per node (default / minimum)
Small 1 node of 4 vCPU and 8 GiB 5 / 4 8 vCPU, 16 GiB 50 GiB / 30 GiB
Medium 1 node of 4 vCPU and 8 GiB 3 / 3 16 vCPU, 32 GiB 100 GiB / 75 GiB
Large 1 node of 4 vCPU and 8 GiB 5 / 4 16 vCPU, 32 GiB 150 GiB / 100 GiB
Extra Large 1 node of 8 vCPU and 16 GiB 8 / 7 16 vCPU, 32 GiB 150 GiB / 120 GiB

The control plane nodes have a disk of 50 GiB by default, and at least 30 GiB. One control plane node is enough for development and testing. Use three or more for a highly available control plane.

All the workloads share the CMA Nodes. The Anywhere Cloud platform requests about 17 vCPU and 22 GB, the Cloudera Migration Assistant engine about 2.5 vCPU and 7.5 GB, each agent with its database about 1.7 vCPU and 4.3 GB, and each running migration a build sandbox of 1 vCPU and 4 GB. Memory runs out before CPU, so choose an instance flavor with at least the memory in the table. Add about one node for every two more agents or every three more parallel migrations, or choose a larger tier. Without Code Migrator, no build sandboxes run, and fewer nodes are enough.

The minimum node count works, but it runs close to the limit and leaves no room for vertical autoscaling. With vertical autoscaling, a pod can grow to twice its memory, and each resize restarts the pod.

The cluster needs Kubernetes 1.35 or later and the gVisor runtime class. Anywhere Cloud sets up the gVisor runtime class only on a cluster that it creates for this blueprint.

For the sizing of Anywhere Cloud itself, see Sizing references in the Anywhere Cloud documentation.

Disk of the CMA Nodes

The disk of each node holds the operating system and the container images (about 30 GB), the temporary space of an agent (up to 26 GB), and the temporary space of each build sandbox (9 GB). Unless you bind a bucket for the large resource files, it also holds their volume (50 GB by default).

The Small tier keeps a small disk. With files near 10 GB, the temporary space of an agent can outgrow the node, so use a disk of at least 80 GB for those files.

Storage

Cloudera Migration Assistant requests the following persistent volumes from the default storage class of the cluster, or from the shared-fs storage class when Use Shared Storage is turned on:

Table 3. Default persistent volumes
Volume Size
Cloudera Migration Assistant engine: data 50 GiB
Cloudera Migration Assistant engine: keystore 1 GiB
Cloudera Migration Assistant engine: large Cloudera Data Engineering resources 50 GiB by default, set by CMA Resource Storage Size. Not created when a bucket is bound for these resources.
Built-in Git server 10 GiB
Cloudera Migration Assistant engine: PostgreSQL 12 GiB
Each agent: data 10 GiB
Each agent: keystore 1 GiB
Each agent: PostgreSQL 2 GiB

When an agent migrates large Cloudera Data Engineering files, it uses up to 26 GiB of temporary space on its node. Ensure that each node that runs an agent has that much free ephemeral storage. If the agent uses more than that, Kubernetes evicts the agent pod.

These volumes use the disk of the CMA Nodes only when the default storage class of the cluster is node-local.

Logs do not use these volumes. They go to the S3 bucket that you bind for logs.