<p>I have a two independent application which I deployed via helm and have different SCM repository.I would like to expose both of them via ingress using Openstack Loadbalancer DNS. my aim is to access both application such as hostname:8000 for application 1 and hostname:8080 for application2.</p>

<p>Is there any way to handle this via traefik or kubernetes?</p>

<p><em>Application 1</em></p>

<pre><code>service:
  type: NodePort
  port: 8000

networkPolicy:
  enabled: true

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: traefik
  hosts:
    - host: hostname -&gt; just for example
      paths: [/]
  tls: []
</code></pre>

<p><em>Application 2</em></p>

<pre><code>service:
  type: NodePort
  port: 8080

networkPolicy:
  enabled: true

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: traefik
  hosts:
    - host: hostname -&gt; just for example
      paths: [/]
  tls: []
</code></pre>

semural
<p>If you have single host </p>

<pre><code>apiVersion: extensions/v1beta1
    kind: Ingress
    metadata:
      name: staging-ingress
      annotations:
        kubernetes.io/ingress.class: "nginx"
    spec:
      rules:
      - host: test.example.com
        http:
          paths:
          - path: /
            backend:service-1
              servicePort: 80
          - path: /api
            backend:
              serviceName: service-2
              servicePort: 80
</code></pre>

<p>Multiple hosts </p>

<pre><code>spec:
  rules:
  - host: test-webapp-example.com
    http:
      paths:
        - path: /
          backend:
            serviceName: test-webapp-example
            servicePort: 80
  - host: test-another-example.com
    http:
      paths:
        - path: /
          backend:
            serviceName: test-webapp-somethingelse
            servicePort: 80
</code></pre>
