Supported version: Cloud.
API Rate Limit: - https://cloud.google.com/kubernetes-engine/quotas
Supported Authentication: OAuth 2.0 Authentication
Application Registration on Google
This document explains the steps to register the application and how to use it on Gathr.
Step 1. Create a Google Cloud Platform (GCP) Project:
Go to the Google Cloud Console: URL- https://console.cloud.google.com/
Create a new project or select an existing project.
Step 2. Enable the GKE API:
In the Cloud Console, navigate to the "APIs & Services" > "Library" section.
Search for "Kubernetes Engine API" and enable it for your project.
Step 3. Create OAuth2 Credentials:
- In the Cloud Console, navigate to the "APIs & Services" > "Credentials" section.
- Click on "Create Credentials" and select "OAuth client ID".
- Choose the application type -Web application.
- Configure the consent screen with the required information (application name, authorized domains, etc.).
- For a web application, specify the authorized redirect URIs (this is where Google will redirect users after authentication).For example, URL- https://HostName-123.gathr.com:48444/AccountManagementWebService/callback.html
- Click "Create" to generate your OAuth client ID and secret.
- Copy the Client ID and Client Secret and keep it safe. We will need this information in the next step.
IMPORTANT: Google Kubernetes Engine (Cluster instance) should be accessible from the Gathr machine.
Steps to configure Google Kubernetes Connector:
Right-click on “Google Kubernetes Connector” -> Connectors -> Connections -> Configure.
Enter the following details in the form
a. Instance URL: e.g. - https://35.224.164.78 (Google Kubernetes cluster)
b. Application Key: Client ID.
c. Application Secret: Client Secret.
d. Authorization URL: https://accounts.google.com/o/oauth2/auth?access_type=offline&prompt=consent
e. Access Token URL: https://oauth2.googleapis.com/token
f. Domain for Callback Authentication: Enter HostName with Domain Name.
Example: https://HostName-123.gathr.com:48444/AccountManagementWebService/callback.html
g. Scope: https://www.googleapis.com/auth/cloud-platform
i. Select' Create New Account' from' Add New Account'. Give any user-friendly name like "Google Kubernetes Connection Account".
j. Click on ‘Save’.
k. On clicking ‘Save’, a pop-up will appear that requires the Google user to log in using the credentials and choose ‘Allow access’ if asked in the pop-up on the screen.
Important: Please make sure, the pop-up is not blocked by the chrome browser.