Cannot get endpoints in project

Solution In Progress - Updated -

Issue

  • Failure accessing project endpoints. Below errors are seen :
Failure executing: GET at: https://kubernetes.default.svc/api/v1/namespaces/x/endpoints/y. Message: User "system:serviceaccount:x-y:default" cannot get endpoints in project
  • Accessing the endpoint fails :
 curl -k https://kubernetes.default.svc/api/v1/namespaced                                                                                            
{                                                                                                                                                            
  "kind": "Status",                                                                                                                                          
  "apiVersion": "v1",                                                                                                                                        
  "metadata": {},                                                                                                                                            
  "status": "Failure",                                                                                                                                       
  "message": "User \"system:anonymous\" cannot list all namespaced in the cluster",                                                                          
  "reason": "Forbidden",                                                                                                                                     
  "details": {                                                                                                                                               
    "kind": "namespaced"                                                                                                                                     
  },                                                                                                                                                         
  "code": 403                                                                                                                                                
}                             

Environment

  • Openshift Container Platform
    • 3.5

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