Skip to content
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

[Setup]: Can not call model by name after setup ingress #2947

Open
1 task done
OnceUponATimeMathley opened this issue Jun 6, 2023 · 0 comments
Open
1 task done

Comments

@OnceUponATimeMathley
Copy link

OnceUponATimeMathley commented Jun 6, 2023

Setup check

Setup Method

Kubernetes

Kubernetes Cluster Type

Other

Nuclio Version

1.8.14

Issue Description

I am follow this document: https://github.com/nuclio/nuclio/blob/development/docs/concepts/k8s/function-ingress.md
I create two serverless function followed above docs at 'nuclio' namespace. If I send post request to expose nodeport of function, it call success but I want to call it by ingress by it's name
image
image

When I trying two way that is recommend to setup ingress by yaml file or helm, it's success
image

  • With helm, I using : helm install stable/traefik --name-template traefik --namespace kube-system --set service.type=NodePort to change this from LoadBalancer to NodePort because I deploy k8s with virualbox in my local machine (https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml)
    image

  • With yaml, it using old config and traefik version but it's still success
    image

  • In this docs, it's using curl with minikube, but I am deploy k8s cluster with 1 master and 2 worker with IP: 172.16.10.100/101/102 . I try to call post request to http://172.16.10.102:/<function_name>/latest. (my-function in this case). It's return page not found. It's look like traefik not found serverless model

image
image

I try using chrome to access, when access expose port for web 32488/TCP
image

and with admin 32287/TCP
image
Can you give me some recommend so I can call this function, I try to step using curl to test, not working with custom ingress. Thanks
image
image

Setup Logs

Replace this line with the setup logs.

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant