In some cases, your cluster sits in a private network. Although this is a very good practice, it means additional steps needs to be taken in order to allow our products to connect to your cluster.
Before following this guide, make sure that there is a way to reach your private network from a machine that is publicly exposed. This machine is commonly called a bastion host and it controls all access to your private network.
We will walk you through the creation of a specific user on the bastion host that will be used by our products to reach your cluster.
๐ Prerequisites
Following content assumes that your bastion is a Linux machine and ssh-keygen binary is installed on it.
Next commands needs to be executed on your bastion with superuser privileges. Make sure you have the permissions to perform such commands or use sudo command if itโs available.
๐ค Create a new user
This command will create a new kubolabs system user.
useradd--system--create-homekubolabs
useradd--disabled-password--systemkubolabs
๐ Generate SSH keys
This command will generate a SSH key pair that will be used by our products to authenticate on your bastion.