This plugin streamlines the creation and configuration of a Google Kubernetes Engine (GKE) cluster on your Google Cloud Platform (GCP). It automates the provisioning process while implementing essential security measures, including a preconfigured firewall that allows access to SSH, HTTP (port 80), 8080, and Kubernetes NodePorts. By automating the GKE provisioning process through this plugin, you can save time, ensure consistency in cluster setup, maintain security standards, and provide a Kubernetes-ready environment for deploying your containerized applications.
The GKE Provisioner plugin creates a Standard GKE Cluster, not an Autopilot GKE cluster.
Before integrating the GKE Provisioner plugin make sure that you have a GCP account with valid permissions to provision GKE.
Navigate to the Jobs section, click Create, and choose Job.
In the 'Create job' window, enter Job Name and choose a target project.
Click Create Job.
In the 'Configurations' tab, fill the required fields under the 'Source code' section and click Save.
In Workflow Editor, click + Job Pipeline.
Give a name to the workflow and click Create Workflow.
Click Add job pipeline to this workflow.
Fill the required fields in ‘Basic configuration’ tab.
Go to the ‘Tasks to be executed’ tab.
Under ‘Tasks’, click the + Add task button.
Select the GKE Provisioner plugin.
Enter the following user inputs with appropriate values.
Enter the name of your task
e.g., GKE Provisioner
Add a brief explanation of the task and the reason for choosing the plugin. Include information for someone else to understand the purpose of the task.
e.g., The GKE Provisioner plugin is integrated for provisioning of GKE cluster.
Here you can set conditions to execute or skip the task. You can select Set trigger conditions
for the execution of a task or Set skip conditions
to skip the task.
Click Update Pipeline.
Variable | Format | Description | Sample Value |
---|---|---|---|
Variable | Format | Description |
---|---|---|
GcpServiceAccountEncodedCredential
STRING
GCP Service Account credentials (base64 encoded) for GKE cluster creation.
ZHVtbXliYXNlNjR2YWx1ZQ==
GkeMinNodes
STRING
Minimum node count for the GKE cluster (default: 1)
2
DisplayGkeKubeConfig
BOOL
Flag to determine if the GKE Kubeconfig should be displayed.
true
Identifier
STRING
Brief description of the GKE cluster's purpose or characteristics
plugin-demo-test
GkeMaxNodes
STRING
Maximum node count for the GKE cluster (default: 3).
4
GkeNodeServiceAccountName
STRING
Custom GCP service account name for node VMs (uses project default if not specified)
gke-node-service-account-xyz123
GkeRegion
STRING
GCP region for cluster provisioning (default: us-central1).
us-central1
GkeMachineType
STRING
Machine type for GKE nodes (default: n1-standard-4).
e2-medium
GkeImageType
STRING
OS image for GKE nodes (default: COS_CONTAINERD).
COS_CONTAINERD
GcpProjectId
STRING
GCP project ID where the GKE cluster will be created.
gcp-68493
GkeClusterVersion
STRING
Kubernetes version for the GKE cluster.
1.30.2-gke.1587003
GkeKubeconfigFilePath
STRING
File path of the generated GKE cluster kubeconfig