Skip to Content
Learn OpenShift
book

Learn OpenShift

by Denis Zuev, Artemii Kropachev, Aleksey Usov
July 2018
Intermediate to advanced
504 pages
11h 34m
English
Packt Publishing
Content preview from Learn OpenShift

Questions

  1. Which of the following OpenShift entities is not created automatically by oc new-app?
    1. Pod
    2. Route
    3. Replication controller
    4. Deployment config
    5. Service
  2. Which of the following entities should be created in order to make an application available externally in a minimal configuration (choose three)?
    1. Pod
    2. Service
    3. Route
    4. Replication controller
    5. Deployment config
    6. Image stream
  3. Which command creates a route with the custom URL myservice.example.com?
    1. oc expose svc httpd
    2. oc expose svc httpd --host myservice.example.com
    3. oc expose svc httpd --hostname myservice.example.com
    4. oc create svc httpd --hostname myservice.example.com
  4. Which commands display all OpenShift routes (choose two)?
    1. oc get all
    2. oc get pod
    3. oc get application
    4. oc get route
    5. docker ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Operating OpenShift

Operating OpenShift

Rick Rackow, Manuel Dewald
OpenShift for Developers, 2nd Edition

OpenShift for Developers, 2nd Edition

Joshua Wood, Brian Tannous
Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower

Publisher Resources

ISBN: 9781788992329Supplemental Content