How to change project in MicroShift?

Solution Verified - Updated -

Issue

  • How to change project/namespace in the MicroShift?

  • When running "oc project default" the error is shown:

    # oc project default
    
    error: unable to default to a user name: the server could not find the requested resource (get users.user.openshift.io ~)
    

Environment

  • Red Hat build of MicroShift:
    • 4.14
    • 4.15

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