Lucas Kjaero-Zhang
01/15/2021, 8:40 PMagent | Service token file does not exists. Using out of cluster configuration option.
I’ve confirmed that the service account, role, and. rolebinding all exist on the server. Here’s a screenshot of the pod settings, attaching the rest in a threadapiVersion: <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>
kind: Role
metadata:
creationTimestamp: "2021-01-14T16:42:33Z"
name: prefect-agent-rbac
namespace: default
resourceVersion: "4834932"
selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/default/roles/prefect-agent-rbac
uid: 800d1a39-70ef-48aa-882b-db85d0737558
rules:
- apiGroups:
- extensions
- batch
resources:
- jobs
verbs:
- '*'
- apiGroups:
- ""
resources:
- events
- pods
verbs:
- '*'
apiVersion: <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>
kind: RoleBinding
metadata:
creationTimestamp: "2021-01-15T07:38:15Z"
name: prefect-agent-rbac
namespace: default
resourceVersion: "5072201"
selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/default/rolebindings/prefect-agent-rbac
uid: 9ba7a593-2ff6-4cbf-b173-9855cef43650
roleRef:
apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: Role
name: prefect-agent-rbac
subjects:
- kind: ServiceAccount
name: prefect-agent
namespace: default
apiVersion: v1
kind: ServiceAccount
metadata:
creationTimestamp: "2021-01-15T20:17:25Z"
name: prefect-agent
namespace: default
resourceVersion: "5072067"
selfLink: /api/v1/namespaces/default/serviceaccounts/prefect-agent
uid: cf2fc80e-dafe-40da-9c84-16c4272587ad
secrets:
- name: removed
nicholas
Lucas Kjaero-Zhang
01/16/2021, 5:23 PM