Hello, I’m getting an error on deploying the prefe...
# ask-community
a
Hello, I’m getting an error on deploying the prefect-workers pods. They can’t seem to connect to the api.
Copy code
prefect.exceptions.PrefectHTTPStatusError: Client error '405 Method Not Allowed' for url '<http://172.28.36.138:4200/api/work_pools/>'
The prefect-agent’s are using the same URL and have come up correctly.
Looks like an issue with the default values in the helm template. The agent defaults to “default” but the worker doesn’t have a default so it starts with the empty string.
r
Yes I had same issue. Had to hard code the name of the kubernetes workpool I made and add it to both agent and worker values.yaml