😎
Docs
  • Tamm - Docs
  • Azure
    • Sentinel KQL Samples
    • Managed Identities
    • Deploy Sentinel with Terraform
  • Docker
    • Allow standard user to interact with Docker
    • Install Docker
    • Installing and working with Traefik
    • Installing specific version of Docker
    • Deploy Guacamole
    • Traefik geoblock
    • Unpoller Prometheus UCG Ultra
  • HomeAssistant
    • HAOS install on Proxmox
    • Zigbee2MQTT
    • HAOS Reverse Proxy
    • ZBDongle-E
  • Kali
    • Enable RDP
  • Kubernetes
    • Cert manager with Cloudflare
    • On prem loadbalancer metallb
    • Nginx ingress
    • Cloudinit Rancher ubuntu
    • Rancher Ubuntu 18.04 node template
    • Velero with minio backend
    • vsphere pvc (in-tree)
    • Velero cheat sheet
    • nginx annotations examples
  • Linux
    • Expand lvm disk vmware
    • Expand lvm disk fresh install
    • Disk usage
    • flush-dns
    • Netplan config example
    • Add user in photon OS
    • SSH-Keys
    • Set timezone
    • sudo nopasswd
    • Add custom alias
    • Rocky Linux commands
  • macOS
    • Uninstall System extensions
    • 1Password Github setup
  • Microsoft 365
    • Powershell Cheat sheet
  • Portainer
    • Install Portainer
    • Add docker node
  • Powershell
    • GenericList example
    • Mixed stuff n things
    • Synopsis Template
    • Powershell Oh-my-posh
    • Powershell Sync Profile
    • Cleanup and install MS Graph module
  • Proxmox
    • Disable No Subscription notification
    • Import from vmware error
    • Proxmox commands
    • Proxmox on Intel NUC
    • Proxmox E1000
  • Terraform
    • Getting started
    • Deploy Sentinel
  • Unifi
    • Unifi Network App (migration)
    • Slow vlan throughput
    • interface-explanation
  • Windows
    • Network settings access denied
    • Windows GVLK Keys
    • Windows Server 2025
Powered by GitBook
On this page

Was this helpful?

  1. Kubernetes

Nginx ingress

PreviousOn prem loadbalancer metallbNextCloudinit Rancher ubuntu

Last updated 1 year ago

Was this helpful?

This will describe a simple deployment of nginx-ingress via helmchart and Rancher "forms" together with an ingress class. The ingress class can help to route the traffic to the correct ingress controller if you have multiple, for example public and internal.

  1. Add the helm chart https://kubernetes.github.io/ingress-nginx, add a name and take note of it

  2. Go to Apps and launch ingress-nginx. Make sure you take the correct chart since there can be multiple! (Look for the name you gave it in step 1)

3. Fill in the form with

  • controller.ingressClass = internal (or whatever name you would like)

  • (optional if you want to set the default certificate used by the controller) controller.extraArgs.default-ssl-certificate = cert-manager/my-certificate

  1. Launch!

  2. When you create a new ingress/load balancer you need to add the annotation kubernetes.io/ingress.class = internal

To make that ingress go through the controller you just created

Remote IP address in logs

Add this in the Helm Answer Form

controller.service.externalTrafficPolicy = Local

This is also recommended from this article https://kubernetes.github.io/ingress-nginx/deploy/baremetal/