Alan
06/07/2024, 8:51 PMMarvin
06/07/2024, 8:51 PMvalues.yaml
file to suit version 2024.5.29222000
. Here's a basic template for your `values.yaml`:
yaml
worker:
cloudApiConfig:
accountId: <TARGET_ACCOUNT_ID>
workspaceId: <TARGET_WORKSPACE_ID>
config:
workPool: <TARGET_WORK_POOL_NAME>
### Steps to Deploy
1. Add the Prefect Helm Repository:
sh
helm repo add prefect <https://prefecthq.github.io/prefect-helm>
helm repo update
2. Create a Namespace in Kubernetes:
sh
kubectl create namespace prefect
3. Create a Kubernetes Secret for the Prefect API Key:
sh
kubectl create secret generic prefect-api-key \
--namespace=prefect --from-literal=key=your-prefect-cloud-api-key
4. Customize your values.yaml
with the template provided above.
5. Deploy the Worker:
sh
helm install prefect-worker prefect/prefect-worker --namespace=prefect -f values.yaml
### Useful Links
- Helm Chart Documentation
- Developing a New Worker Type
These resources should help you configure and deploy your Prefect worker using Helm effectively.Alan
06/07/2024, 8:52 PMMarvin
06/07/2024, 8:52 PMvalues.yaml
specifically for version 2024.5.29222000
in the GitHub issues. However, you can find the values.yaml
template and relevant details in the repository itself.
Check the Prefect Helm GitHub repository for the actual values.yaml
file.
Here's a direct link to the values.yaml in the prefect-helm chart:
- values.yaml for Prefect Worker
You can modify this file according to your version needs and use it as mentioned in your deployment steps. The above link will guide you to the latest configuration which you can then adapt as necessary for your specific needs.