Please check gitlab-tutorial
You can use Infrastructure as Code (IaC) to create clusters on cloud providers. You connect the clusters to GitLab by using the agent for Kubernetes.