New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service without selector
but with matching Endpoint will cause timeout
#12438
Comments
Sysdump attached to this comment. |
I was able to reproduce the issue and I have figured out the reason this is happening. In the K8s version where we have support for I will start a discussion on slack as to how we should handle these kinds of issues and will push a fix if we need one. |
Edit on how to reproduce this: |
@fristonio Good catch! Is this a duplicate of #12513 then? |
@brb Yeah, seems like it from my point of view. I'll update my K8S cluster to v1.19.x and report back here / in #125123 till end of the week(end). |
Tested on Kubernetes 1.19 with Kubeadm, seems to work out fine in with the latest Kubernetes release. @brb |
I can confirm it too now, updating the K8S cluster to v1.19.0 fixed the issue thanks to the added EndpointSlices Mirroring controller. |
Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com>
Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com>
[ upstream commit 326487a ] Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com> Signed-off-by: Chris Tarazi <chris@isovalent.com>
[ upstream commit 326487a ] Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com> Signed-off-by: Chris Tarazi <chris@isovalent.com>
Bug report
General Information
cilium version
)Cilium is installed to replace the kube-proxy,
kubeadm init
has been run with theskip-phase kube-proxy
flag!uname -a
)Ubuntu 20.04 5.4.x and Fedora 32
5.7.7-200
kubectl version
, Mesos, ...)How to reproduce the issue
A Service without a
selector
with a matchingEndpoint
object created does not work (timeout when talking to the ServiceClusterIP
).cilium service list
does not show the Service when the Service doesn't have aselector:
but a matching Endpoint object.Steps:
curl should return "default" nginx index / welcome page.Run commands:
Remove the label
selector:
from theservice.yaml
.curl
should timeout / fail here now, even though there is a "perfectly" valid Endpoints object with Pod target endpoints in it.In minikube this works as expected that the Service without a selector but a matching Endpoint object is still reachable. (edited)
(see https://app.slack.com/client/T1MATJ4SZ/threads/thread/C53TG4J4R-1593434412.267800)
The text was updated successfully, but these errors were encountered: