Giter VIP home page Giter VIP logo

complex-k8s's Introduction

"Complex" Kubernetes

Local setup (using Minikube)

  1. Boot up Minikube
    $ minikube start
  2. Install ingress-nginx on MiniKube
    $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/provider/cloud-generic.yaml
    $ minikube addons enable ingress
  3. Set a Postgres password as a Kubernetes secret
    $ kubectl create secret generic pgpassword --from-literal PGPASSWORD=<your password>
  4. Apply Kubernetes conigs
    $ kubectl apply -f k8s

Cluster setup (on Google Cloud Kubernetes Engine)

  1. Set up cluster (e.g. via Google Cloud web console)
  2. Set a Postgres password as a Kubernetes secret
    $ kubectl create secret generic pgpassword --from-literal PGPASSWORD=<your password>
  3. Install Helm (v3)
    $ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
    $ chmod 700 get_helm.sh
    $ ./get_helm.sh
  4. Install nginx-ingress chart
    $ helm repo add stable https://kubernetes-charts.storage.googleapis.com/
    $ helm repo update
    $ helm install my-nginx stage/nginx-ingress --set rbac.create=true
  5. Install certificate manager
    $ kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.11/deploy/manifests/00-crds.yaml
    $ kubectl create namespace cert-manager
    $ helm repo add jetstack https://charts.jetstack.io
    $ helm repo update
    $ helm install cert-manager --namespace cert-manager --version v0.11.0 jetstack/cert-manager

complex-k8s's People

Contributors

sanjayginde avatar

Watchers

 avatar James Cloos 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.