基础设施示例# Run flows in Docker containers Create a work pool Start a worker Create the deployment Automatically bake your code into a Docker image Automatically build a custom Docker image with a local Dockerfile Store your code in git-based cloud storage Additional configuration with .deploy Work with multiple deployments with deploy Learn more Run flows on Kubernetes Prerequisites Create a cluster Create a container registry Create a Kubernetes work pool Configure work pool options Create a Prefect Cloud API key Deploy a worker using Helm Add the Prefect Helm repository Create a namespace Create a Kubernetes secret for the Prefect API key Configure Helm chart values Create a Helm release Verify deployment Define a flow Define a Prefect deployment Tag images with a Git SHA Authenticate to Prefect Deploy the flows Run the flows Run flows on Prefect Managed infrastructure Create a managed deployment Add dependencies Limitations Concurrency and work pools Images Code storage Resources Usage limits Next steps Run flows on serverless compute Automatic infrastructure provisioning Prerequisites Automatically create a new push work pool and provision infrastructure Use existing resources with automatic infrastructure provisioning Provision infrastructure for an existing push work pool Manual infrastructure provisioning Work pool configuration Create a Credentials block Create a push work pool Deployment Putting it all together Next steps