Abhinav Chordia

04/14/2023, 9:29 PM
Hello, I’m getting an error on deploying the prefect-workers pods. They can’t seem to connect to the api.
prefect.exceptions.PrefectHTTPStatusError: Client error '405 Method Not Allowed' for url '<>'
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.

Russell Brooks

05/03/2023, 4:49 AM
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