Device and OS: Linux
App version: 0.26.1
Kubernetes distro being used: k3d
Steps to reproduce
Deploy the demo bundle with:
uds run test-uds-core --set FLAVOR=unicorn --no-progress
Delete the custom coredns configuration that enables routing *.uds.dev internally
kubectl delete cm/coredns-custom -n kube-system
Restart the coredns pod
kubectl delete pod -n kube-system -l k8s-app=kube-dns
Try to resolve https://sso.uds.dev from a workload in the mesh
kubectl exec -n velero -it $(kubectl get pods -l name=velero -n velero -o jsonpath="{.items[0].metadata.name}") -- wget https://sso.uds.dev
Expected result
I would expect to see https://sso.uds.dev resolve to the IP address of tenant-ingressgateway.istio-tenant-gateway.svc.cluster.local as configured in the ServiceEntry for sso.uds.dev
Actual Result
https://sso.uds.dev resolves to 127.0.0.1 which indicates it is using public DNS.
Environment
Device and OS: Linux App version: 0.26.1 Kubernetes distro being used: k3d
Steps to reproduce
uds run test-uds-core --set FLAVOR=unicorn --no-progress
kubectl delete cm/coredns-custom -n kube-system
kubectl delete pod -n kube-system -l k8s-app=kube-dns
kubectl exec -n velero -it $(kubectl get pods -l name=velero -n velero -o jsonpath="{.items[0].metadata.name}") -- wget https://sso.uds.dev
Expected result
I would expect to see https://sso.uds.dev resolve to the IP address of
tenant-ingressgateway.istio-tenant-gateway.svc.cluster.local
as configured in the ServiceEntry for sso.uds.devActual Result
https://sso.uds.dev resolves to 127.0.0.1 which indicates it is using public DNS.
Visual Proof (screenshots, videos, text, etc)
Severity/Priority
Low priority
Additional Context
We can fix by adding these flags to our mesh config:
See: https://github.com/istio/istio/issues/49076