Dan Farrell
10/09/2023, 7:25 PMflytectl demo start
and one of my tasks is failing but I'm having trouble telling why. I'd like to exec into the pod but i get the following error from the gui: (threaded)pods "f9e588c4337b641518fb-f54plrzi-0-dn2-0" is forbidden: User "system:serviceaccount:flyte:flyte-sandbox-kubernetes-dashboard" cannot create resource "pods/exec" in API group "" in the namespace "flytesnacks-development"
Kevin Su
10/09/2023, 7:53 PMkubectl get pods -n flyte
Dan Farrell
10/09/2023, 7:54 PM/ # kubectl get pods -n flyte
NAME READY STATUS RESTARTS AGE
flyte-sandbox-proxy-d95874857-zm6jj 1/1 Running 0 4h26m
flyte-sandbox-docker-registry-759844bc88-qqqpj 1/1 Running 0 4h26m
flyte-sandbox-kubernetes-dashboard-6757db879c-lzk9s 1/1 Running 0 4h26m
flyte-sandbox-minio-645c8ddf7c-qb4bh 1/1 Running 0 4h26m
flyte-sandbox-postgresql-0 1/1 Running 0 4h26m
flyte-sandbox-7d699df5fc-bdh6v 1/1 Running 0 4h26m
flyte-sandbox-buildkit-7d7d55dbb-bznfj 1/1 Running 0 4h26m
Kevin Su
10/09/2023, 7:59 PMseems like this service account is wrongCopy codeUser "system:serviceaccount:flyte:flyte-sandbox-kubernetes-dashboard"
Dan Farrell
10/09/2023, 8:00 PMpods "fa2b78aad10aa49b483c-n0-0" is forbidden: User "system:serviceaccount:flyte:flyte-sandbox-kubernetes-dashboard" cannot create resource "pods/exec" in API group "" in the namespace "flytesnacks-development"
Kevin Su
10/09/2023, 9:19 PM