Git Product home page Git Product logo

gke_nginx_kcert_quick_start's Introduction

GKE NGINX KCERT Quick Start

A repository for a production grade GKE cluster with nginx and kcert LetsEncrypt SSL certificate manager

Assumptions

  1. You have a public DNS for your website
  2. Use are using nignx ingress controller
  3. You are using kcert SSL manager for your public Site

Tools / CLI to download and put in path

  1. Terraform CLI https://developer.hashicorp.com/terraform/downloads
  2. Terraform-docs CLI ( optional ) https://github.com/terraform-docs/terraform-docs/releases

Terraform IAC for creating the resources

  1. Clone this repository and change to the checkout directory
  2. Change the values in sample.tfvars or create a new tfvars with correct values
  3. Change other variables if needed to customize the cluster details.
  4. Uncomment the backend.tf keys and provide the correct values if using GCS for storing the state. Delete backend.tf to use the local file system for state management.
  5. Execute the following .
    • terraform init

    • terraform plan -var-file=sample.tfvars ( change sample.tfvars to your specific config file )

    • terraform apply -var-file=sample.tfvars ( change sample.tfvars to your specific config file )

Outputs:

devops_k8s_nginx_controller_lb_ip = "104.154.118.189"

Setup DNS for the provided IP address

Setup a A record for your domain / sub domain with the IP provisioned

gke_nginx_kcert_quick_start's People

Contributors

agileguru avatar

Stargazers

Deepak Kumar 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.