Skip to content

Managing Nginx Ingress Removal and Reinstallation on Rancher-Managed RKE Clusters

Article Number: 000021855

Environment

Rancher : Any

Downstream clusters : RKE1

Situation

Incorrect modifications to the default Nginx Ingress can cause pods to enter a CrashLoop.

Resolution

To Remove 

Go to Rancher UI > Edit config of DS cluster -> Advance options -> Nginx Ingress -> Click Disabled >  Save ( Cluster will go for a reconcile)

Once completed, make sure all Ingress components are removed from the Ingress namespace.

To Reinstall 

Go to Rancher UI > Edit config of the cluster -> Advance options -> Nginx Ingress -> Click Enabled >  Save ( Cluster will go for a reconcile)

Restart DeamonSets

Go to the cluster explorer > Workloads > Click on DeamonSets > Selet the Ingress Controller > Restart 

Downgrade the Nginx Version

Go to the cluster explorer > Workloads > Click on DeamonSets > Selet the Ingress Controller > Edit as YAML > Change the Image version > Save