Hakim
10/29/2024, 1:24 PMprefect deploy
with the prefect 3 binaries in a CI pipeline. What would be the best way to install that I tried pip install prefect == 3.0.0
but it coming back with ERROR: No matching distribution found for prefect==3.0.0
Janet Carson
10/29/2024, 3:37 PMHakim
10/29/2024, 3:39 PMNate
10/29/2024, 4:26 PMprefect==3.x.x
for deployments you've verified work for you, and simply pip install -U prefect
for developmentHakim
10/29/2024, 4:32 PMsystem:serviceaccount:kube-addons-prefect-server-3:prefect-worker" cannot create resource "jobs" in API group "batch" in the namespace "default"
is there a way to tell the worker to deploy into a specific namespace ? I couldn't find that in the helm chart so I thought you guys maybe able to helpNate
10/29/2024, 4:35 PMhelm install
you select a namespace to install the chart inNate
10/29/2024, 4:35 PMnamespace
in the work poolHakim
10/29/2024, 4:35 PMNate
10/29/2024, 4:36 PMis there a way to tell the worker to deploy into a specific namespace ?i.e. yes its like
helm install ... --namespace whatever
Is that configurable in a config file ? or only in the UI ?the work pool can be configured in the UI or updated via SDK / REST API
Nate
10/29/2024, 4:37 PMHakim
10/29/2024, 4:37 PMNate
10/29/2024, 4:37 PMNate
10/29/2024, 4:38 PMdeployment: foo
...
work_pool: bar
job_variables:
namespace: whatever
Hakim
10/29/2024, 4:38 PMHakim
10/29/2024, 4:39 PMNate
10/29/2024, 4:39 PMHakim
10/29/2024, 7:24 PMkube-system
namespace
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces \"kube-system\" is forbidden: User \"system:serviceaccount:kube-addons-prefect-server-3:prefect-worker\" cannot get resource \"namespaces\" in API group \"\" in the namespace \"kube-system\"","reason":"Forbidden","details":{"name":"kube-system","kind":"namespaces"},"code":403}
Hakim
10/29/2024, 7:25 PMkube-addons-prefect-server-3
namespace