Giter Site home page Giter Site logo

lozanomatheus / gce_gke_stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 35 KB

Deploy Google Kubernetes Engine entire stack with Terraform, Bash and Helm

Shell 16.25% HCL 83.75%
helm kubernetes kubernetes-cluster kubernetes-setup kubernetes-dashboard bash bash-script bash-scripting gke gke-cluster gke-terraform

gce_gke_stack's Introduction

Deploy GKE cluster

The intention for this project is to deploy a Google Cloud GKE Stack configured, with auto-scaler, over TLS and fully automated. Also, it will deploy the dashboard and Joomla/MariaDB.

How to use

You can run the initial Bash script, it will look for dependencies (terraform, helm, etc) and you can choose between Deploy, Destroy and just deploy the apps.

Example:

./deploy_eks_stack.sh
2019-07-14 19:07:24 Checking for dependencies
What action you want to execute?
  1) Deploy     3) Setup
  2) Destroy    4) App_deploy
  Default: Deploy
  -> 1

or

./deploy_eks_stack.sh Deploy
2019-07-21 21:37:45 Checking for dependencies
2019-07-21 21:37:46 Starting to deploy the Google Cloud GKE Stack
2019-07-21 21:37:46 Runnning terraform init

Getting my Token

By default, this automation will create two users. One is mlozano-admin (Cluster admin) and another mlozano-user (For default namespace).

To get the token, you can run this command.

my_user=mlozano
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | awk '/'"${my_user}"'/ { rc = 1; print $1 }; END { exit !rc }' || echo "${my_user}")

Endpoints

All endpoints will be exposed via sidecar, via HTTP over TLS.

gce_gke_stack's People

Contributors

lozanomatheus 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.