Try Devtron Enterprise!
Start Free Trial
LogoLogo
WebsiteDevtron demoGithub RepoJoin Discord
v0.7
v0.7
  • Introduction
  • Getting Started
  • Install Devtron
    • Install Devtron with CI/CD
    • Install Devtron with CI/CD and GitOps (Argo CD)
    • Install Devtron without Integrations
    • Install Devtron on Minikube, Microk8s, K3s, Kind, Cloud VMs
    • Install Devtron on Airgapped Environment
    • Demo on Popular Cloud Providers
    • Backup for Disaster Recovery
    • Uninstall Devtron
    • FAQs
  • Install Devtron Enterprise Trial
  • Devtron Kubernetes Client
  • Configurations
    • Installation Configurations
    • Override Configurations
    • Ingress Setup
  • Global Configurations
    • Host URL
    • GitOps
    • Projects
    • Clusters & Environments
    • Git Accounts
    • Container/OCI Registry
    • Chart Repositories
    • Deployment Charts
    • Authorization
      • SSO Login Services
        • Google
        • GitHub
        • GitLab
        • Microsoft
        • LDAP
        • OIDC
          • Keycloak
          • Okta
        • OpenShift
      • User Permissions
      • Permission Groups
      • API Tokens
    • Notifications
    • Deployment Window
    • Approval Policy
    • External Links
    • Catalog Framework
    • Scoped Variables
    • Plugin Policy
    • Pull Image Digest
    • Tags Policy
    • Filter Condition
    • Lock Deployment Configuration
    • Image Promotion Policy
    • Build Infra
  • Devtron Upgrade
    • Update Devtron from Devtron UI
    • Upgrade to 1.5.0
    • 0.6.x-0.7.x
    • 0.5.x-0.6.x
    • 0.4.x-0.5.x
    • 0.4.x-0.4.x
    • 0.3.x-0.4.x
    • 0.3.x-0.3.x
    • 0.2.x-0.3.x
  • Usage
    • Applications
      • Create a New Application
      • Clone an Existing Application
      • Deploy a Sample Application
      • App Configuration
        • Git Repository
        • Build Configuration
        • Base Deployment Template
          • Deployment
          • Rollout Deployment
          • Job and Cronjob
          • StatefulSets
        • GitOps Configuration
        • Workflow Editor
          • CI Pipeline
            • Pre-Build/Post-Build Stages
            • Override Build Configuration
          • CD Pipeline
        • ConfigMaps
        • Secrets
          • External Secret Operator (ESO)
            • AWS Secrets Manager
            • Google Secrets Manager
            • HashiCorp Vault
        • Environment Overrides
        • Deleting Application
      • Build and Deploy
        • Triggering CI
        • Triggering CD
        • Rollback Deployment
        • Applying Labels to Images
      • App Details
        • Debugging Deployment And Monitoring
        • Using Ephemeral Containers
        • Application Metrics
      • Application Overview
    • Jobs
      • Create a new job
      • Configurations
      • Workflow Editor
      • Trigger Job
      • Overview
    • Application Groups
    • Software Distribution Hub
      • Tenants
      • Release Hub
    • Resource Browser
    • Resource Watcher
    • Charts
      • Charts Overview
      • Deploy & Observe
      • Examples
        • Deploying Mysql Helm Chart
        • Deploying MongoDB Helm Chart
      • Chart Group
    • Security
      • Security Scans
      • Security Policies
    • Bulk Edit
    • Integrations
      • Build and Deploy (CI/CD)
      • GitOps (Argo CD)
      • Vulnerability Scanning (Clair)
      • Notifications
      • Monitoring (Grafana)
    • Pipeline Plugins
      • Create Your Plugin
      • Our Plugins
        • Ansible Runner
        • Bitbucket Runner Trigger
        • Codacy
        • Code-Scan
        • Copacetic
        • Container Image Exporter
        • Copy Container Image
        • Cosign
        • CraneCopy
        • Dependency track - Maven & Gradle
        • Dependency track - NodeJS
        • Dependency track - Python
        • Devtron CD Trigger
        • Devtron CI Trigger
        • Devtron Job Trigger
        • DockerSlim
        • EKS Create Cluster
        • GCS Create Bucket
        • GitHub Pull Request Updater
        • GKE Provisioner
        • GoLang-migrate
        • Jenkins
        • Jira Issue Validator
        • Jira Issue Updater
        • K6 Load Testing
        • Pull images from container repository
        • Semgrep
        • SonarQube
        • SonarQube v1.1.0
        • Terraform CLI
        • Vulnerability Scanning
  • Resources
    • Glossary
    • Troubleshooting
    • Use Cases
      • Devtron Generic Helm Chart To Run CronJob Or One Time Job
      • Connect SpringBoot with Mysql Database
      • Connect Expressjs With Mongodb Database
      • Connect Django With Mysql Database
      • Pull Helm Charts from OCI Registry
    • Telemetry Overview
    • Devtron on Graviton
    • Release Notes
Powered by GitBook
On this page
  • Introduction
  • Prerequisites
  • Steps
  • User Inputs
  • Task Name
  • Description
  • Input Variables
  • Trigger/Skip Condition
  • Output Variables

Was this helpful?

Export as PDF
  1. Usage
  2. Pipeline Plugins
  3. Our Plugins

GKE Provisioner

PreviousGitHub Pull Request UpdaterNextGoLang-migrate

Last updated 6 months ago

Was this helpful?

Introduction

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 , not an Autopilot GKE cluster.

Prerequisites

Before integrating the GKE Provisioner plugin make sure that you have a GCP account with valid permissions to provision GKE.


Steps

  1. Navigate to the Jobs section, click Create, and choose Job.

  2. In the 'Create job' window, enter Job Name and choose a target project.

  3. Click Create Job.

  4. In the 'Configurations' tab, fill the required fields under the 'Source code' section and click Save.

  5. In Workflow Editor, click + Job Pipeline.

  6. Give a name to the workflow and click Create Workflow.

  7. Click Add job pipeline to this workflow.

  8. Fill the required fields in ‘Basic configuration’ tab.

  9. Go to the ‘Tasks to be executed’ tab.

  10. Under ‘Tasks’, click the + Add task button.

  11. Select the GKE Provisioner plugin.

  12. Enter the following with appropriate values.


User Inputs

Task Name

Enter the name of your task

e.g., GKE Provisioner

Description

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.

Input Variables

Variable
Format
Description
Sample Value

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

Trigger/Skip Condition

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.

Output Variables

Variable
Format
Description

GkeKubeconfigFilePath

STRING

File path of the generated GKE cluster kubeconfig

Click Update Pipeline.

Standard GKE Cluster
user inputs