Skip to content

Instantly share code, notes, and snippets.

@ragul28
Created January 11, 2020 09:09
Show Gist options
  • Save ragul28/e0ff3e597449efe1fa3f973e864d8b36 to your computer and use it in GitHub Desktop.
Save ragul28/e0ff3e597449efe1fa3f973e864d8b36 to your computer and use it in GitHub Desktop.
K8S nginx ingress & cert-manager installation

Kube Ingress with Cert-Manager

  • install helm2
kubectl create clusterrolebinding cluster-admin-binding \
  --clusterrole cluster-admin \
  --user $(gcloud config get-value account)
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --upgrade
  • install helm nginx
helm install stable/nginx-ingress --name nginx-ingress -f values.yaml --namespace kube-system
  • install cert-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 --name cert-manager --namespace cert-manager --version v0.11.0 jetstack/cert-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment