Adisun Wheelock
05/04/2020, 1:16 PMprefect auth login -t my_generated_token
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: <http://localhost:4200/graphql/alpha>
has anyone else ran into this? The server start up brought up all services just fine.josh
05/04/2020, 1:17 PMAdisun Wheelock
05/04/2020, 1:17 PMjosh
05/04/2020, 1:18 PM$ prefect backend server
OR
$ prefect backend cloud
Adisun Wheelock
05/04/2020, 1:18 PMjosh
05/04/2020, 1:19 PMAdisun Wheelock
05/04/2020, 1:23 PMCloud
tag.josh
05/04/2020, 1:23 PMAdisun Wheelock
05/04/2020, 1:24 PMprefect.utilities.exceptions.AuthorizationError: Provided token does not have a RUNNER scope.
josh
05/04/2020, 2:24 PMAdisun Wheelock
05/04/2020, 2:24 PMprefect auth create-token -n my-runner-token -r RUNNER
i get error
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: <https://api.prefect.io/graphql/alpha>
kubectl logs pod-name
josh
05/04/2020, 2:25 PMprefect auth login
Adisun Wheelock
05/04/2020, 2:27 PMjosh
05/04/2020, 2:30 PMAdisun Wheelock
05/04/2020, 2:30 PMjosh
05/04/2020, 2:31 PMAdisun Wheelock
05/04/2020, 2:33 PMprefect agent install kubernetes | kubectl apply -f -
josh
05/04/2020, 2:34 PMprefect agent install kubernetes
command and add the following env var:
- name: PREFECT__BACKEND
value: "server"