Create new project in OpenShift using oc client tool or web console

By default, after installing OpenShift, a project called “My Project” will be created. That is why when you login to OpenShift using client tool oc or web console, you will also see the project “My Project” here.

Create new project in OpenShift using oc client tool or web console

Or
Create new project in OpenShift using oc client tool or web console

To create a new project in OpenShift, you can use the client tool or web console.

With the web console, please click Create Project button and fill in some information as follows:

Create new project in OpenShift using oc client tool or web console

Then press Create button to OpenShift create a new project for us.

With the client tool, you will use the command with the following syntax:

Therein:

  • project_name is the name of the project
  • description: the description of the project
  • display_name is the name that will be displayed.

Similar to the use of the web console, right?

My example is as follows:

Result:

Create new project in OpenShift using oc client tool or web console

You can click on the Huong Dan Java Project link to see details about it:

Create new project in OpenShift using oc client tool or web console

Now, you can create new applications for yourself with OpenShift!

Add Comment