Difficulty: beginner
Estimated Time: 15 minutes

In this Lab we will get introduced to OpenShift Volumes

You've completed your OpenShift Volumes Lab Exercise!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

OpenShift Volumes

Step 1 of 6

Step 1 - Create Project

In this step, we will learn OpenShift CLI using the command oc. We can deploy new applications in OpenShift cluster.

Run the folowing command to login as admin in the OpenShift cluster oc login -u system:admin

Output

You have access to the following projects and can switch between them with 'oc project <projectname>':

  * default
    kube-public
    kube-system
    openshift
    openshift-infra

Openshift Project

Openshift Project is similar to the Kubernetes namespace which also supports access controls for different users.

To complete this step, create a new project called myproject using CLI.

volume.yaml
volume-claim.yaml
pod.yaml