-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Adding ExternalName Service causes this error:
E0415 10:39:34.719028 1 controller.go:217] kubebuilder/controller "msg"="Reconciler error" "error"="failed to reconcile targetGroups due to failed to reconcile targetGroup targets due to Unable to find service endpoints for 2048-game/apple-service: no object matching key \"2048-game/apple-service\" in local store" "controller"="alb-ingress-controller" "request"={"Namespace":"2048-game","Name":"2048-ingress"}
Reproducible test case:
- Follow https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html walkthrough but use ip traffic mode
kubectl apply -f https://raw.githubusercontent.com/cornellanthony/nlb-nginxIngress-eks/master/apple.yamlkubectl apply -f apple-proxy.yaml
# apple-proxy.yaml
kind: Service
apiVersion: v1
metadata:
name: apple-service
namespace: 2048-game
labels:
app: myexternal
spec:
type: ExternalName
externalName: apple-service.default.svc.cluster.local
ports:
- port: 5678
kubectl edit ingress/2048-ingress -n 2048-gameand add new path:
- path: /apple
backend:
serviceName: "apple-service"
servicePort: 5678
programmer04, cscetbon, t0rr3sp3dr0, x041, xidongc-wish and 18 moreBloodyFrag
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.