AWS ELB ingress - Accessing my app only works with NodePort

by srinivas kulkarni   Last Updated October 09, 2019 21:01 PM

I have created a EKS Cluster and have a domain name from freenom. I created an ingress resources with host as my domain name.

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    alb.ingress.kubernetes.io/scheme: internet-facing
    kubernetes.io/ingress.class: alb
  generation: 2
  labels:
    app: 2048-ingress
  name: 2048-ingress
  namespace: 2048-game
spec:
  rules:
  - host: mytestabcapp.tk
    http:
      paths:
      - backend:
          serviceName: service-2048
          servicePort: 80
        path: /*

I can access the service on myapptestabcapp.tk:32531 where 32531 is the node port! How can I make sure that the host can access it on just myapptestabcapp.tk ?

Thanks!



Related Questions


Permission to Kubernetes cluster

Updated August 02, 2019 20:01 PM

Pods got error no available volume zone

Updated April 30, 2019 15:01 PM

KOPS update cluster UserData

Updated July 18, 2019 09:01 AM