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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.