<p>i'm working with aws eks (Kubernestes cluster) to deploy an application from gitlab to the an aws cluster. When i deploy the app to the cluster i see some services with command <code>kubectl get service --all-namespaces</code> und i get laodbalancer but i can not access to the app. The application called csa-17887811-production (see Screenshot). I think i have to add it to the Pods. when i type  <code>kubectl get pods</code> i see only the Hello world application called "web". Could you please show me, how can i access the app from the web browser throw the Loadbalancer.</p>

<p>Note: when i navigate with the loadbalancer link i get this response :  <code>default backend - 404</code>
<a href="https://i.stack.imgur.com/Cj3Xx.png" rel="nofollow noreferrer">enter image description here</a></p>

Iliass Hilmi
<p>It seems you want to expose the app via nginx ingress. For that you need to create a ClusterIP <a href="https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" rel="nofollow noreferrer">service</a> and an <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource" rel="nofollow noreferrer">ingress resource</a>.</p>

<pre><code>apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: test-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - http:
      paths:
      - path: /testpath
        pathType: Prefix
        backend:
          serviceName: test
          servicePort: 80
</code></pre>

<p>A pictorial representation of how you can access pods using ingress and load balancer on AWS.</p>

<p><a href="https://i.stack.imgur.com/QmsX0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QmsX0.png" alt="ingress architecture"></a></p>

<p><a href="https://aws.amazon.com/blogs/opensource/network-load-balancer-nginx-ingress-controller-eks/" rel="nofollow noreferrer">https://aws.amazon.com/blogs/opensource/network-load-balancer-nginx-ingress-controller-eks/</a></p>
