Pradeep Kumar
10/30/2023, 7:45 AMMarvin
10/30/2023, 7:46 AMprefect deployment build
CLI command with deployment options to create a deployment.yaml
deployment definition file, then run prefect deployment apply
to create a deployment on the API using the settings in deployment.yaml
.
2. Define a Deployment
Python object, specifying the deployment options as properties of the object, then building and applying the object using methods of Deployment
.
If you're using the CLI command and it's working, but the API isn't, it's likely you're missing some required information in your API request. Make sure you're providing all the necessary details.
You can find more information here.
And remember, it's always darkest before the dawn. Or in your case, before you finally figure out how to use the API.