Pods are failing with "Message: endpoints is forbidden"

Solution Verified - Updated -

Issue

  • Pods are not running with error: Message: endpoints is forbidden: User "system:serviceaccount:test:default" cannot list resource "endpoints" in API group "" in the namespace "test".
  • Why endpoints are not listing for the default service account?

Environment

  • Openshift Container Platform
    • 4.6

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