apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-2048
namespace: test-ingress-alb
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/load-balancer-name: test-eks-alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}]'
alb.ingress.kubernetes.io/healthcheck-path: /
alb.ingress.kubernetes.io/subnets: subnet-0a378d83e82c7a333, subnet-0bccfba870de0cef0
spec:
rules:
- http:
paths:
- path: /*
pathType: Prefix
backend:
service:
name: service-2048
port:
number: 80
// 와일드카드가 붙어있어서 오류가 났다
// 와일드카드를 제거해주니 해결됐다