Mars
08/11/2022, 4:58 PMprefect deployment build
gives me a deployment YAML, but is no longer producing the manifest JSON file. It’s only producing the deployment YAML. How can I debug this?
Here is the build command used:
prefect deployment build myflow.py:myflow -n myflow-deployment -t dev -ib kubernetes-job/k8dev -sb remote-file-system/dev
Jeff Hale
08/11/2022, 5:00 PMMars
08/11/2022, 5:06 PMprefecthq/prefect:2.0.3-python3.10
. I guess that explains why my local k8s cluster started throwing this when I ran prefect deployment apply
prefect.exceptions.PrefectHTTPStatusError: Client error '422 Unprocessable Entity' for url '<http://localhost:4200/api/deployments/>'
Response: {'exception_message': 'Invalid request received.', 'exception_detail': [{'loc': ['body', 'manifest_path'], 'msg': 'none is not an allowed value', ...
deployment apply
.Jeff Hale
08/11/2022, 6:02 PMMars
08/11/2022, 6:20 PMJeff Hale
08/11/2022, 8:11 PM