-
Notifications
You must be signed in to change notification settings - Fork 34
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
KServe Blue Green Deployment issues with Virtual Service #1654
Comments
@satyajitghana could you share the commands you used to start the test? |
Here's the deployment: https://github.com/satyajitghana/canary-argocd-iter8-kserve/blob/master/vit-classifier/values.yaml It was used with iter8 release helm chart after which I used the example container mentioned in iter8 blue green deployment
and tried to run
this simply tries to list the models What I've observed is that, this endpoint works fine
but this doesn't
If i set the headers in curl it works
Also one more thing, how do i add additional domain name to my deployment?
Here you can see all Virutal Service have
|
Please try:
That is, remove the When. you use the full host (-H "Host: vit-classifier-0-predictor.default.svc.cluster.local") you are sending the request to just this endpoint (the blue version) without the possibility of sending it to the green version. |
This is not a feature we considered. I am not familiar with config change you made. Is the requirement to just add the domain name to the list already provided? Or to replace it? Perhaps you could create a separate issue for this feature request? |
@satyajitghana Is the issue resolved? Can this issue be closed? Also, if you're starting to use Iter8, could we request you to kindly add yourself to this list of adopters? We are looking to approach CNCF soon, and hoping to drive up adoption in the lead up to that. |
I've tried this also, the same issue, same error. were you able to reproduce it? |
okay, agreed, should be a different issue. the thing is i wanted to use iter8 as it works with KServe Raw Deployment, rather than using KNative with KServe. |
We're not really using K8S in my company right now, but in a very small scale. I am teaching a course of MLOps of The School Of AI, where i teach all the ways of deploying a model on K8S, and i landed on Iter8 as it gives a way to deploy a version and test it. |
I don't think I have ever tried this. Were the problems you encountered in such a deployment? I tried (and failed to replicate your problem) but it was in a KNative based deployment. |
Here's the Virtual Service
Which doesn't work
But if i change
to
It works!
The text was updated successfully, but these errors were encountered: