Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 1.04 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.04 KB

Bistrotime Kubernetes

Kubernetes bootstrap configuration for a new cluster.

Google Cloud Platform

$ gcloud container clusters get-credentials bistrotime

Helm

Generate service accounts and cluster role bindings.

$ kubectl apply -f helm.yaml
$ helm init --service-account tiller --history-max 100

Generate the Kubernetes configuration for CI/CD.

$ ./helm.sh

NGINX ingress controller

$ helm install stable/nginx-ingress --name nginx-ingress --namespace nginx-ingress --set rbac.create=true --set controller.publishService.enabled=true --set controller.service.externalTrafficPolicy=Local --set-string controller.config.server-tokens=false

Cert manager

$ kubectl apply -f cert-manager.yaml
$ kubectl create namespace cert-manager
$ kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
$ helm repo add jetstack https://charts.jetstack.io
$ helm repo update
$ helm install --name cert-manager --namespace cert-manager --version v0.7.0 jetstack/cert-manager