in prefect cloud 2.0 how do I get the PREFECT_API_...
# prefect-community
r
in prefect cloud 2.0 how do I get the PREFECT_API_URL for the k8's config?
k
You can use the workspcae command shown here
r
trying to do it via a k8s yaml file
that gets me further along
now permission errors HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch is forbidden: User \"systemserviceaccountprefect:default\" cannot create resource \"jobs\" in API group \"batch\" in the namespace \"default\"","reason":"Forbidden","details":{"group":"batch","kind":"jobs"},"code":403}
k
This is a prefect 1 doc but I think it shows what you need. You need to to add the permissions to spin up jobs to that default namespace
This is to make an agent right?
r
yeah correct
thanks @Kevin Kho