NGINX Ingress controller version: 0.35.0
Kubernetes version (use kubectl version): 1.15.11
Environment:
uname -a): 4.15.0-55-genericWhat happened:
About a week ago, ExternalName is no longer working. Before that, it still worked properly.
What you expected to happen:
ExternalName work properly
How to reproduce it:
I have tried rollback to previous controller version, but it did not work
Anything else we need to know:
/kind bug
@tuananh170489 In which version it was working and please share detail about error which you are getting
/assign
@tuananh170489 please update to 0.41.0
@tuananh170489 In which version it was working and please share detail about error which you are getting
This is an error that I have encountered
invalid port while connecting to upstream, client: x.x.x.x
@tuananh170489 In which version it was working and please share detail about error which you are getting
This is an error that I have encountered
invalid port while connecting to upstream, client: x.x.x.x
Please update to 0.41.0 as suggested by @aledbf
Closing. Please update
echo '
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: proxy
annotations:
spec:
rules:
- host: external.test
http:
paths:
- path: /
backend:
serviceName: httpbin
servicePort: 80
---
kind: Service
apiVersion: v1
metadata:
name: httpbin
spec:
type: ExternalName
externalName: httpbin.org
' | kubectl apply -f -
curl localhost/headers -H 'Host: external.test' -v
* Trying 127.0.0.1:80...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET /headers HTTP/1.1
> Host: external.test
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Sat, 14 Nov 2020 13:23:01 GMT
< Content-Type: application/json
< Content-Length: 242
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
<
{
"headers": {
"Accept": "*/*",
"Host": "external.test",
"User-Agent": "curl/7.68.0",
"X-Amzn-Trace-Id": "Root=1-5fafda35-103f52f66c87d8e869d38208",
"X-Forwarded-Host": "external.test",
"X-Scheme": "http"
}
}