Google Cloud Add Kubernetes Cluster - GKE - Auto Deployment
Prerequisite
- The Service Account monitoring the Google project must be grant with Organization Administrator and Project Owner roles.
- If the cluster is publicly accessible, then no additional configuration is needed.
- Make sure the private cluster network and subnet are accessible by the Container Protection IP.
If the cluster is private, then it needs to be accessible by one of the following Container Protection IP:
United States: 54.191.73.255
European Union: 34.248.196.209
The Container Protection IP can be added at Networking > Control plane authorized networks on Google GKE.
Note: Enter the single IP as 54.191.73.55/32.
Add Google GKE Kubernetes Cluster - Auto Deploment
After you have verified all prerequisites, follow the steps below to add the Google Kubernetes cluster.
- From the Container Protection navigation menu, go to CONFIGURE > Kubernetes Cluster.
- Click +ADD NEW to add a Kubernetes Cluster.
- Enter a Cluster Name to be shown in Container Protection or use the original cluster name, click Select Kubernetes Platform drop down menu and select Google Cloud. Click Select Kubernetes Type drop down menu and select GKE.
- Enter the Google Cloud Project ID. Google Cloud project ID can be obtained on Google Cloud Platform by clicking on Select A Project drop down menu.
- Enter the Cluster Name and Location.
- Click Select Google OAuth drop down menu and select the Google OAuth that is registered through the credential store.
- Select Automatic as the deployment method and click Add Kubernetes Cluster.
Cluster name and location can be obtained through Kubernetes Clusters on Google Cloud console.