Register MicroK8s
Steps to register Microk8s Cluster in gopaddle
Last updated
Steps to register Microk8s Cluster in gopaddle
Last updated
Microk8s cluster can be registered in gopaddle either using its public IP address or a fully qualified domain name (FQDN) or securely via a Bastion Host or a Jump server.
Make sure port the cluster API server port (default 16443) is open to public.
Add Subject Alternative Names (SAN) on the microk8s server TLS cert.
a) Login to the microk8s master node.
b) Edit or create the file /var/snap/microk8s/current/certs/csr.conf.template file with the below configuration :
c) Restart the microk8s service
d) Check the status of the microk8s service and make sure it is in running state.
Get kube config and save in your local desktop as kube.config
Edit the server section in kube.config to point to the Cluster API server public IP address or its FQDN.
Verify if kube configuration works.
Use this kube.config file to register the cluster in gopaddle.
In the gopaddle UI, navigate to the Clusters section
Click on Add a Cluster and select Register an existing Cluster
In the Cluster registration wizard, select the Cluster Access Method as Kube Config
Choose the Cluster Provider type as Other
In the Authentication Step, upload the Kubernetes config file obtained under section "Validate Connection from Local Desktop Environment"
If you have configured a bastion host, provide the Bastion Host IP, SSH Pem file, SSH port
If you are using a Bastion Host setup, make sure the Bastion Host IP and Port are accessible publicly. If you are looking for a private only setup, get in touch with us to explore gopaddle Enterprises.
Click on Finish to register the On-premises Cluster.
If you see the error - Network Error ! ServerError: Response not successful: Received status code 503, while view the cluster resources, then check this troubleshooting section for more information.