Courtesy of nginx.com

NGINX Ingress configuration for DigitalOcean’s k8s cluster.

This is more code snippets rather than a post or an article. I originally published at https://kenanbek.github.io on July 22, 2020.

Step 1: Install nginx-ingress

helm install nginx-ingress stable/nginx-ingress --set service.type=LoadBalancer --namespace <YOUR_NAMESPACE>

Step 2: Ingress configuration

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: codekn-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec…

Kanan Rahimov

KenanBek · 👨🏼‍💻 Coding Nerd · 🧙🏼‍♂️ Go & Python · 👨🏼‍🎓 Flutter & React with TypeScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store