Configure and customize Ingress and NGINX Controller using Overrides
Learn how to configure and use ingress controller overrides for the on-prem Harness Self-Managed Enterprise Edition.
This guide explains how to configure Ingress resources and the NGINX controller in your Harness deployment, including how to customize its behavior using overrides.
For more information, go to Ingress Controllers in the Kubernetes documentation.
Ingress Configuration
Enable Ingress
global:
ingress:
enabled: true
className: "harness" # Specifies the Ingress controller classHost Configuration
global:
ingress:
hosts:
- 'myhost.example.com' # Replace with your domainTLS Configuration
global:
ingress:
tls:
- secretName: my-tls-secret
hosts:
- myhost.example.comAdvanced Configuration Options
Path Type
Custom Annotations
Host Configuration
Example Full Configuration
Configure ingress controller arguments
You can configure nginx-ingress-controller arguments using the following overrides.
Add extra arguments
Use the following to add extra arguments.
Create cluster roles
The following creates a clusterRole and clusterRoleBindings.
Troubleshooting
Common issues and solutions:
502 Bad Gateway
Check upstream service availability
Verify proxy timeout settings
Check service name and port configuration
404 Not Found
Verify ingress path configuration
Check rewrite-target annotation if used
Confirm service endpoint existence
Check nginx controller logs for errors
SSL/TLS Issues
Verify TLS secret exists
Check certificate validity
Performance Issues
Increase nginx controller replicas if needed
Check nginx controller logs for errors
Last updated
Was this helpful?