Skip to content

ingress-nginx-controller-v1.7.1 【Could not resolve host: test.leo.me; Unknown error】 #10014

@Saltwater-leo

Description

@Saltwater-leo

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

No one assigned

    Labels

    kind/supportCategorizes issue or PR as a support question.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions