Red Hat Certified Specialist in OpenShift Administration exam Notes Part 1

rachel zegler nude alicehvs

Manage OpenShift Container Platform – objective

  • Use the command-line interface to manage and configure an OpenShift Cluster
oc login
oc login -u <username> <url>
  • Use the web console to manage and configure and OpenShift Cluster

Using the master url, login to console

  • Create and Delete Projects
oc new-project <project> --description='My description of the project' --display-name='Functional Display name'
oc project # lists projects
oc get project # switches to the project 
oc delete project <project>
  • Import, Export, and configure Kubernetes resources

export resources and use yaml/json to export

oc get -o yaml <resource> > <resource>.yaml
oc get -o json <resource> > <resource>.yaml

import resource with the yaml or json you just exported. Use them as examples of what your yaml/json file should look like.

oc create -f <resource>.yaml
oc create -f <resource>.json

If you have the resource in place, you can replace it with and update one.

oc replace -f <resource>.yaml

Some items have content that you need to get you such as secrets or configmaps. These commands say a file with the info in it. Notice the “/” in the resource name.

oc extract secrets/<secret>