Skip to content

Creates a GKE cluster (Google Kubernetes Engine) in GCP (Google Cloud Provider) that hosts the podinfo application

Notifications You must be signed in to change notification settings

the-robots/gke-podinfo-cluster

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project contains the necessary configurations for deploying an application on Kubernetes and setting up the required infrastructure.

  • applications/podinfo: Contains Kubernetes manifests for the Podinfo application.
  • infrastructure: Contains Terraform configuration for infrastructure provisioning.
  • .github/workflows: Contains the GitHub Actions workflow for deployment.

deployment.yaml

Defines the Deployment for the Podinfo application in Kubernetes, specifying the container image, replicas, and other configurations.

ingress.yaml

Configures external access to the service, including URL routing and SSL termination.

kustomization.yaml

Used by Kustomize for managing Kubernetes resources, listing all the resources to be applied.

service.yaml

Specifies the Service resource, exposing the application pods to network traffic.

main.tf

Contains Terraform configuration for provisioning cloud infrastructure, including the cloud provider and resource configurations.

How to Run

Deploying Infrastructure and Application

Deployment is automated via GitHub Actions, triggered manually using the workflow_dispatch event.

  • note: triggering the Workflow requires adequate access to the repository, however you should see the history of a previous successful run.
  1. Go to the GitHub repository.
  2. Click on "Actions".
  3. Select Deploy GKE Cluster and Podinfo.
  4. Click "Run workflow" to start the deployment.

The workflow provisions infrastructure with Terraform and deploys the Podinfo application to Kubernetes.

About

Creates a GKE cluster (Google Kubernetes Engine) in GCP (Google Cloud Provider) that hosts the podinfo application

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%