/oke-ingress-tls

OKE Ingress TLS

Primary LanguageJavaScript

OKE Ingress TLS

Install cert-manager

Follow the official guide to install using Helm.

Final install command:

helm install \
   --name cert-manager \
   --namespace cert-manager \
   --version v0.10.0 \
   --set ingressShim.defaultIssuerName=letsencrypt-prod \
   --set ingressShim.defaultIssuerKind=ClusterIssuer \
   jetstack/cert-manager

NOTE for Brew (MacOS X users)

brew install kubernetes-helm can have a latest and incompatible version of Helm

Example: Error: incompatible versions client[v2.x.y] server[v2.z.q]

More details on this Github issue

Search the correct version commit on Github Brew Helm

Find the Formula kubernetes-helm.rb raw file

brew unlink kubernetes-helm

brew install <RAW_FILE_URL>

brew switch kubernetes-helm x.y.z

## Install Ingress controller

Find a detailed step-by-step guide in OKE documentation Create the access rule for the ingress controller kubectl create clusterrolebinding <my-cluster-admin-binding> --clusterrole=cluster-admin --user=<user_OCID>

Create the ingress controller deployment kubectl apply -f mandatory.yaml

Create the ingress service kubectl apply -f cloud-generic.yaml

Check that the ingress is running as a load balancer kubectl get svc -n ingress-nginx --watch