<@ULVA73B9P> where can I see the default base job ...
# ask-marvin
b
@Marvin where can I see the default base job template for a kubernetes worker?
m
🔄 Thinking... 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 research_prefect_topic 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 search_prefect_3x_docs 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 read_github_issues 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings 🔧 explore_module_offerings
✅ thought for 115.5 seconds
You can view the default base job template for a Kubernetes worker in two ways: 1. Through the Prefect Cloud UI: - Navigate to the Work Pools section - Create a new Kubernetes work pool or edit an existing one - Go to the 'Advanced' tab - The base job template will be visible there 2. Through the Prefect CLI:
Copy code
bash
   prefect work-pool create-type kubernetes
This will show you the default template that's used when creating a new Kubernetes work pool. The base job template is customizable, allowing you to modify various aspects of the Kubernetes manifest used for job creation, such as: - Resource requests and limits - Volume mounts - Environment variables - Security contexts - Node selectors - Tolerations If you need to make modifications to the template, you can do so either through the UI or programmatically via the Prefect API or Terraform. For more detailed information about customizing Kubernetes workers and their templates, you can refer to the documentation at: - https://docs-3.prefect.io/v3/how-to-guides/deployment_infra/kubernetes - https://docs-3.prefect.io/v3/how-to-guides/deployment_infra/manage-work-pools
b
oof.
Or you can run
prefect work-pool get-default-base-job-template -t kubernetes -f default.json
found that while waiting for Marvin.