Skip to content

CI/CD using CircleCI and Google Kubernetes Engine

Notifications You must be signed in to change notification settings

mariolase/node-circle-gke

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google assistant Kubernetes Deployer using CircleCI and GKE

A Dialogflow agent for deploying kubernetes clusters in GKE using voice commands

This code is based on the sample code accompanying mousetree's blog post on building a Continuous Integration and Delivery (CI/CD) pipeline using CircleCI and Google Kubernetes Engine (GKE).

The config.yml file has been edited. It now makes an API call to CircleCI in order to start the deployment job from the build job. This enables integration with Dialogflow via webhook.

On GKE:

  • Create a new cluster
  • Create a new registry
  • Create a service account with premissions as Kubernetes Engine Admin and Storage Admin.

On CircleCI:

  • Select the repository to start building
  • Go onto project settings > Environment variables create a GCLOUD_SERVICE_KEY and paste your GKE service account token
  • Create project token and user tokens

On your forked repo:

  • Edit the config.yml file and set up the correct Google SDK details.
  • Add your circle CI user token

On Dialogflow:

Now you can command your digital underling to do your bidding (results may vary)

About

CI/CD using CircleCI and Google Kubernetes Engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 63.2%
  • Dockerfile 36.8%