Skip to content

Latest commit

 

History

History

gh-runner-gke-simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Simple Self Hosted runners on GKE

Overview

This example shows how to deploy ARC runners on GKE.

More examples of Self Hosted Runners on GKE/Anthos.

Deployment

  1. Follow the instructions in the GitHub documentation to create a GitHub App for authenticating ARC

  2. Gather the values for your GitHub App ID, GitHub App Installation ID, and GitHub App Private Key from the instructions linked above.

  3. Substitute your values into the example main.tf. Modify any other values as needed. For a full list of available variables, refer to the module documentation.

  4. Execute Terraform commands to create the required resources.

terraform init
terraform apply
  1. Your runners should become active at https://github.com/organizations/ORGANIZATION/settings/actions/runners.

Inputs

Name Description Type Default Required
project_id The project id to deploy Github Runner MIG string n/a yes

Outputs

Name Description
cluster_name Cluster name
location Cluster location
network_name Name of VPC
project_id The project in which resources are created
service_account The default service account used for running nodes.
subnet_name Name of VPC