Creating a project

Create a new project or select an existing project in Red Hat OpenShift by using either the web console or the command-line interface.

About this task

Before deploying Runtime container server, you must set up the namespace or project where your container will run.

Procedure

  1. To create a new project in the Red Hat OpenShift web console, complete the following steps:
    1. Click the Projects option under the Home menu on the left-hand side of the console screen.
    2. Click the Create Project button.
    3. Provide a name for your project, and then click Create.
  2. To use an existing project in the Red Hat OpenShift web console, complete the following steps:
    1. Click the Projects option under the Home main menu on the left-hand side of the console screen.
    2. Locate the project in the list of projects, and click the link with its name to make it your current project.
  3. To create a new project from the command-line interface, run the oc new-project command:
    oc new-project <project_name>

    Where project_name represents the name of the project that you want to create.