<p>I have an Nginx ingress controller in my Kubernetes cluster and I use bitnami/nats.</p>
<p>The services produced are the following:</p>
<pre><code>NAME                TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)             AGE
nats-client         ClusterIP   10.72.13.82   &lt;none&gt;        4222/TCP            36m
nats-cluster        ClusterIP   10.72.8.67    &lt;none&gt;        6222/TCP            36m
nats-headless       ClusterIP   None          &lt;none&gt;        4222/TCP,6222/TCP   36m
nats-monitoring     ClusterIP   10.72.2.102   &lt;none&gt;        8222/TCP            36m
</code></pre>
<p>When I kubefwd the port(4222) I can connect to it, but using the below ingress it doesn't work.</p>
<p>Here's my ingress.yaml</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-controller
  annotations:
    kubernetes.io/ingress.class: &quot;nginx&quot;
    kubernetes.io/tls-acme: &quot;true&quot;
    cert-manager.io/cluster-issuer: &quot;letsencrypt-cluster-issuer&quot;
spec:
  tls: 
  - hosts: 
    - NATS_DOMAIN
    secretName: secret
  rules:
  - host: NATS_DOMAIN
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service: 
            name: nats-client
            port:
              number: 4222
</code></pre>
<p>Any help would be highly appreciated!</p>

<p>Do you mind opening an issue <a href="https://github.com/bitnami/charts/issues" rel="nofollow noreferrer">here</a>? That way we could ask for more information and provide a better help. Once it is solved we can come back here a post the findings so other users can get it too.
Please, when opening issue provide all the information that could help debugging it. As commands executed, images used, charts used, logs, etc.</p>
