kubernetes-ingress
kubernetes-ingress copied to clipboard
Default backend: defaultbackend-svc:443 (<error: endpoints "defaultbackend-svc" not found>)
Default backend configuration error!!
issue: Ingress is not recognizing my externalName service (though i have added port to externalName service)
--------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------
---
apiVersion: v1
kind: Service
metadata:
name: defaultbackend-svc
spec:
type: ExternalName
externalName: example.com
ports:
- name: https
port: 443
targetPort: 443
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: defaultbackend-ingress
spec:
defaultBackend:
service:
name: defaultbackend-svc
port:
number: 443
-----------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------
Hi @Hadishamil thanks for reporting!
Be sure to check out the docs while you wait for a human to take a look at this :slightly_smiling_face:
Cheers!
Have you met the prerequisites that are defined in the example that the documentation linked? https://github.com/nginxinc/kubernetes-ingress/tree/v2.3.0/examples/externalname-services#prerequisites Specifically, the resolver for the external to the cluster DNS name.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.