Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14512

DO180-4.14 Feedback: Chapter 04 Section 02, step 2.5 says to "list all pods that contain `team` as a label" and provides the command `oc get pods -L team`. The text notes that two of the pods shown d

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/do180-4.14/pages/ch04s02 
      Reporter RHNID: shasingh01
      Section Title: Guided Exercise: Deploy Applications from Images and Templates                                                                       

      Issue description

      Improvement

      ====================

      Description:  Chapter 04 Section 02, step 2.5 says to "list all pods that contain `team` as a label" and provides the command `oc get pods -L team`. The text notes that two of the pods shown do not have the label `team=red`, since they do not inherit the team label from the template. The wording "list all pods that contain `team` as a label then suggests that `-L team` may have some interaction with the pod's template's labels. However the `-L` flag simply adds a column to the output for the given label, and any resources which have said label will have values in that column. 

      Given the above, I think the wording "list all pods that contain `team` as a label" could be slightly misleading. Maybe wording like "list all pods and any `team` labels they may have" may be clearer, more directly indicating that the `-L` flag changes the output format and does not act as a filter 

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              rht-jcable Julian Cable
              shasingh01 Shashi Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: