-
Notifications
You must be signed in to change notification settings - Fork 525
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
[Bug]: Function ingress is not ready yet #2952
Comments
I have same issues when add ingress config in .yaml file, the function when using nuctl deploy have same output error but I still call to function endpoint but after amount of time, the function change to unhealthy and after it's change to running (this looping repeat) |
Hey @paul-wie,
The way Nuclio verifies ingress readiness is by getting the ingress, and checking one of the following values is populated:
While we investigate what's going on, there is a workaround to bypass the fail-fast mechanism and let the Nuclio controller keep waiting for the ingress to be created:
Please try the above workaround and answer the questions so we can get more information on what's going on. |
Hey @TomerShor , even I'm facing same issue, here is the output of kubectl -n get ingress nuclio- -o yaml
|
I was using kubelet=1.25.3-00 kubeadm=1.25.3-00 kubectl=1.25.3-00 |
thanks for the reply @paul-wie. I was looking for the fix because issue still exists. |
Nuclio Version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Nuclio.
Issue Description
I have installed Nuclio 1.11.20 on Kubernetes and everything works as expected.
But when I deploy a function with ingress the function will not work properly anymore, it will get in an unhealthy state (without the ingress config the function works).
This is the ingress config:
The Kubernetes ingress is created properly:
I can also invoke the function:
So the function and the ingress works properly.
But somehow the Nuclio-Controller keeps restarting the function as it thinks the Function ingress is not ready:
Nuclio will then mark the function as unhealthy. The Nginx ingress has the same behaviour.
The build logs of the functions says:
So the error messages and the logs are very limited and it seems to be very hard to figure out what's the problem with the current information.
The setup was done with the information on https://nuclio.io/docs/latest/concepts/k8s/function-ingress/. But the documentation also seems to be outdated as the installation works not as described, one has to visit the official Traefik website for installation.
Expected Behavior
I expect Nuclio to properly create and recognise the ingress rule and to to mark the function as unhealthy.
Deployment Method
Kubernetes
Nuclio Version
1.11.20
Additional Information
No response
The text was updated successfully, but these errors were encountered: