GitLab CI/CD: Architecting, Deploying, and Optimizing Pipelines

rob_kodekloud
Sun, 26 Apr 2026 19:57:36 +0000

If I understand what you mean, then you’re using a free Gitlab account for this. If so, then there are two ways you can get access to a K8s cluster:

You can use a cluster that’s available on the public internet (say, an EKS cluster from AWS)

You can create a local cluster inside of your CI/CD script using something like kind to create the cluster.

For the kubeconfig file, you’d use a kubeconfig that points to that cluster.