-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Except for the *. localdev.me domain name, other created ingress domain names cannot be resolved
`[root@k8s-master-01 ingress]# kubectl describe ingress test-localhost
Name: test-localhost
Labels:
Namespace: default
Address: 10.101.221.21
Ingress Class: nginx
Default backend:
Rules:
Host Path Backends
test.leo.me
/ test:80 (10.244.1.54:80)
Annotations:
Events:
Type Reason Age From Message
Normal Sync 11m (x2 over 11m) nginx-ingress-controller Scheduled for sync
[root@k8s-master-01 ingress]#
[root@k8s-master-01 ingress]# curl test.leo.me
curl: (6) Could not resolve host: test.leo.me; Unknown error
[root@k8s-master-01 ingress]#
[root@k8s-master-01 ingress]# kubectl describe ingress demo-localhost
Name: demo-localhost
Labels:
Namespace: default
Address: 10.101.221.21
Ingress Class: nginx
Default backend:
Rules:
Host Path Backends
demo.localdev.me
/ demo:80 (10.244.1.34:80)
Annotations:
Events:
[root@k8s-master-01 ingress]# curl demo.localdev.me
See Other.
[root@k8s-master-01 ingress]#
`
Metadata
Metadata
Assignees
Labels
Type
Projects
Status