Unable to start any pods on RHOCP: error (serviceaccount "default" not found)

Solution Verified - Updated -

Issue

Creation of new pods in the cluster is failing with error (serviceaccount "default" not found):

Error from server (Forbidden): error when creating "pod.yaml": pods "example" is forbidden: error looking up service account aaa/default: serviceaccount "default" not found

Environment

  • Red Hat OpenShift Container Platform (RHOCP).
    • 4.12.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content