Skip to content

Ingress Service Controller with Ingress NGINX Installation

This content is not available in your language yet.

RKE2 already has built-in job to install Ingress NGINX but for On-Premise Environment, will use NodePort Service Type and traffic will be pass through with HAProxy that you previously setup.

/var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx-config.yaml
---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: rke2-ingress-nginx
namespace: kube-system
spec:
valuesContent: |-
controller:
allowSnippetAnnotations: true
service:
enabled: true
type: NodePort
nodePorts:
http: 30080
https: 30443

Finished?

Use the below navigation to proceed