For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 class

Host Configuration

global:
  ingress:
    hosts:
      - 'myhost.example.com'  # Replace with your domain

TLS Configuration

global:
  ingress:
    tls:
      - secretName: my-tls-secret
        hosts:
          - myhost.example.com

Advanced 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:

  1. 502 Bad Gateway

    • Check upstream service availability

    • Verify proxy timeout settings

    • Check service name and port configuration

  2. 404 Not Found

    • Verify ingress path configuration

    • Check rewrite-target annotation if used

    • Confirm service endpoint existence

    • Check nginx controller logs for errors

  3. SSL/TLS Issues

    • Verify TLS secret exists

    • Check certificate validity

  4. Performance Issues

    • Increase nginx controller replicas if needed

    • Check nginx controller logs for errors

Last updated

Was this helpful?