- Boot up Minikube
$ minikube start
- 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
- Set a Postgres password as a Kubernetes secret
$ kubectl create secret generic pgpassword --from-literal PGPASSWORD=<your password>
- Apply Kubernetes conigs
$ kubectl apply -f k8s
- Set up cluster (e.g. via Google Cloud web console)
- Set a Postgres password as a Kubernetes secret
$ kubectl create secret generic pgpassword --from-literal PGPASSWORD=<your password>
- 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
- 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
- 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