GithubHelp home page GithubHelp logo

gk8s_counter_iac's Introduction

Google Cloud K8S cluster using terraform.

This project aims at creating a Highly scalable K8S cluster by using terraform.
The idea is to follow Infrastructure as code such that it is easy to manage. In order to maintain cross compatablity between cloud providers terraform is used instead of google deployment manager/AWS cloud formation.

Requirements:

  1. Google Cloud Account.
  2. Terraform.
  3. Google SDK.

GCP Resources used:

  1. VPC.
  2. Kubernetes cluster with custom node pool.
  3. Memorystore.

Prerequisites:

  1. Google service account with permissions to create K8S cluster.
  2. Service account file.

Steps to run:

  1. Run terraform init to download required libraries.
  2. Run terraform plan which will show what will happen.
  3. Run terraform apply and approve te changes by typing yes when prompted.

Notes:

  1. All the variables have default value in order to over ride either use -var=variablename=value or export them as TF_VAR_variablename. As mentioned in the documentation.
  2. Since mostly we will be given service account file with least privileges. Service account creation is not a part of the project. The same can be created with gcloud as per this google community tutorial.

gk8s_counter_iac's People

Contributors

maannniii avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.