Recovering from a deleted kube-system namespace

Solution Verified - Updated -

Issue

  • Someone deleted the kube-system project/namespace. How do we recover?
  • kube-system is stuck in terminating
Apr 19 13:31:03 master2.example.com atomic-openshift-master-controllers[85557]: E0419 13:31:03.015790   85557 tokens_controller.go:265] error synchronizing serviceaccount kube-system/endpoint-controller: secrets "endpoint-controller-token-shc1l" is forbidden: unable to create new content in namespace kube-system because it is being terminated.

Environment

  • OpenShift Container Platform 3.0+
    • Known to be possibe with 3.6

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.