101 - Creating Kubernetes cluster

Objective: Manually creating a Kubernetes cluster to use with Auto DevOps in GitLab

You will need Kubernetes cluster up and running in order to use GitLab Auto DevOps feature. This is a step by step guide to help you to manually create a Kubernetes cluster in Google Cloud Platform.

More details Auto DevOps

Preparation

You need a Google Cloud Platform account, GitLab employees will have this. Ensure you are logged in with your GitLab account.

Steps to create Kubernetes cluster

| Step | What it looks like | | 1. Open a browser and login to Google Kubernetes Engine | | 2. GitLab employees - Sign-in using your GitLab email. | | | 3. GitLab employees should use the gitlab-demos project. Others should select or create a project to work in.| gitlab demos| | 4. Under COMPUTE on the side bar select Kubernetes Engine -> Clusters.| kubernetes engine| | 5. Click CREATE CLUSTER. | kubernetes engine| | 6. Set name for your cluster.
GitLab Product and Solution Marketing employees, the naming convention is sm_<yourname>, or, if you are in the Product Marketing sub-group use pmm_<yourname>, or for the Technical Marketing group use tmm_<yourname>. Keep the overall name short (up to 16 chars).
Set the number of nodes to 3, and expand the page for additional settings.| kubernetes engine| | 7. GitLab employees should select the ‘demonet’ network in Networking. Others should select or create network. | kubernetes engine| | 8. Enable legacy authorization. | kubernetes engine| | 9. You are ready to create the cluster, click Create. | kubernetes engine| | 10. It will take a few minutes to create the cluster, once it is created, you will see your just created cluster on the list.| kubernetes engine| | 11. Now you are ready to integrate your GitLab project with Kubernetes, and use the Auto DevOps feature. | 12. Cleanup steps PLACEHOLDER ||

Last modified June 27, 2024: Fix various vale errors (46417d02)