Deploy Kubernetes Сluster with Automated SSH


Learn how to deploy a Kubernetes cluster on-premises with the Kublr Platform using the SSH protocol.


You will need to run Kublr Control Plane. For instruction on how to do this, go to On-Premises Installation.

To install Kubernetes via ssh, your setting should be:

  1. Direct connection from Kublr Control Plane
  2. Opened 22 ssh port
  3. Nodes are accessed through one ssh private key for each node in the instance group
  4. Ssh key must be without passphrase
  5. Command sudo for escalate privileges should work without a password

Create secret for ssh private key

Go to the Credentials tab and create ssh private key

create SSH key

Create Cluster

  1. Click on Cluster Menu in Left Navigation Menu Bar
  2. Click on Add Cluster Add New Cluster
  3. Enter Cluster Name.
  4. Set Provider to “Bring Your own Infrastructure”.

Master nodes

Select Number of Master Nodes Number of Masters

Select Installation Type “Automated using SSH”, enter the username and select ssh private key

enter username

Enter the IP addresses or DNS for your master nodes, which should be available for Kublr Control Plane


Worker nodes

Also select Installation Type “Automated using SSH” then enter the username and select ssh private key for worker nodes

To add a working node, click the Plus button and enter the IP or DNS addresses, and then confirm the entered addresses by pressing the Confirm button.


Click Confirm and Install at the bottom right of the screen.

In a few minutes the cluster will be created.

Cluster created