Create GKE Cluster
Create Kubernetes cluster on Google Cloud platform
1. Create Google Account
If you don’t have Google account, you can create it from here
2. Create Project
Sign in to Google Cloud Console and select an existing project or create a new one:
3. Get access to Google Cloud resources
- Notice that you are paying for running resources. Therefore, If you are not planning to use them after this tutorial, it is suggested to delete them.
- For more information - Check GKE pricing
Enable Container Engine API
Enable Compute Engine API
If you are a new user, you will get $500 credit. You need to create a Kubernetes cluster on Google Cloud and connect it to Codefresh to be eligible. After the cluster is connected to your Codefresh account you will receive an email prompting you to apply and claim your credits.
Follow the link in the email to fill in the application. You will receive your free credits as soon as Google approves it. The process usually takes a couple of days. Make sure to look in your spam folder if you can’t see the email in your mailbox.
4. Create your cluster
To create a Kubernetes cluster, visit this short guide.
Don’t forget to enable basic authentication, as it is needed for Codefresh to access your cluster. You can change this setting after cluster creation by editing and changing the setting from the drop-down list.
Verify your Kubernetes version
- Ensure that you are running the latest version of Kubernetes
- Ensure that your Permissions are at least “Project Editor”
If you create a new project/cluster, these whould be the default settings.