<@ULVA73B9P> define an image , cpu and memory in p...
# ask-marvin
l
@Marvin define an image , cpu and memory in prefect.yaml
m
To define the image, CPU, and memory for a Prefect deployment using a
prefect.yaml
file, the documentation doesn't seem to provide a direct example. Often these settings are part of the Kubernetes configuration when using Kubernetes work pools. However, since I do not have the specifics of what you are looking for in the context of
prefect.yaml
, I would suggest checking the Kubernetes deployment documentation which might include details on specifying resources in the context of Kubernetes, as it is common to define such settings in Kubernetes manifests. I've found general guidance on creating a
prefect.yaml
for deploying flows using the
prefect deploy
command, which might include the building and pushing of an image, but without specific details on setting CPU and memory as part of that file. Please refer to the following documents for more comprehensive details: 1. Kubernetes Deployment Guide 2. Upgrading from Agents to Workers These links provide information on using
prefect.yaml
in the context of deployments and might contain related information you're looking for, but I recommend searching the documentation or reaching out to the community for more tailored details.