Adding a server

Select Add Server on the K8s tab to open the Add Server drawer.

  1. In Server Name, enter a name for the server.
  2. In Role, choose Bastion, Control Plane or Node.
    • Bastion: A secure gateway (jump host) and management bridge between external networks and the private cluster servers. The bastion is not part of the Kubernetes cluster.
    • Control Plane: Runs the Kubernetes control plane components that maintain the desired state of the cluster, schedule workloads, and manage cluster-wide operations. Use an odd number of control plane servers (1, 3, or 5).
    • Node: A worker where containerized applications and workloads run.
  3. In Flavor, choose one of the bound flavors.
  4. In Disk Size, enter the disk size in GB.

    The minimum is 30 GB.

  5. In Number Of Servers, enter how many servers to create with these settings.
  6. In Subnet, choose the subnet for the servers.
  7. Optional: select Add label to add Kubernetes node labels, or Add taint to add Kubernetes node taints.
  8. Select Add.
Figure 1. Add Server drawer

Add Server drawer

Follow these sizing rules:

  • A working cluster needs at least one bastion, one control plane server and one node.
  • For a highly available control plane, use an odd number of control plane servers: three or more.
  • Cloudera recommends at least 2 vCPU and 2 GB of RAM for the bastion and at least 4 vCPU and 8 GB of RAM for control plane servers.
  • For production clusters, Cloudera recommends NVMe disks, which offer faster read and write speeds and lower latency than SSDs or HDDs.

Server names can contain alphanumeric characters and hyphens, and must be 1 to 30 characters long. In Server Name, you can use the shortcuts b for bastion, m for master (control plane), and w for worker.

Larger flavors take longer to create, and very small flavors can prevent the cluster from working well. Creating a server takes about 7 minutes on average. Deploying a whole cluster takes longer and depends on the cloud and size. Plan for 30 to 60 minutes, and check the deployment progress before you assume that it is stuck. During deployment, the status of a server changes from Pending to Updating to Ready. If a server fails to create and the project has the Failure status, select Repair to restore it. Until you bind flavors to the project, Add Server is unavailable and shows No flavor(s) found. Bind a flavor first, as described in Flavors and Binding flavors to a project.