Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I'm trying to deploy my API service, but it fails with the following error:
`selector` does not match template `labels`
What is strange to me is that I have used the same infrastructure to deploy another service an in that case it worked. What I'm missing?
I attach a picture of the logs.
Thanks
Sorry if I reply just today, but I was running on my project. At the end I've solved creating an equal service with a different name and the deployment went fine. Maybe I messed up with names or something like that, I'm not relly sure what happened.
However thanks for the help!
Hi,
can you disable the deployment, update it, then re-enable it, and re-update it?
Hi,
I disabled the deployment and updating I get this error:
"error: context "context-cluster-1" does not exist"
If I enable it after that it gives the same error as before, the one of the first message
a missing K8S context means the cluster has changed. If you can find the deployment for the API service with `kubectl get deployments` , then you can `kubectl delete ...` it and try to activate and update the deployment in DSS. Otherwise we'll need you to send an instance diagnostic from Administration > Maintenance > Diagnostic tool to support.dataiku.com .
Sorry if I reply just today, but I was running on my project. At the end I've solved creating an equal service with a different name and the deployment went fine. Maybe I messed up with names or something like that, I'm not relly sure what happened.
However thanks for the help!
FYI, this issue is observed when you use uppercase chars in API Deployer infrastructure or API Service name. R&D is working on fixing this. As a workaround, please avoid using uppercase chars