Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-27036

RuntimeClass example uses wrong API version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.14
    • Documentation / Node
    • None
    • No
    • 2
    • OSDOCS Sprint 249
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      API version does not exist

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      Always

      Steps to Reproduce:

      Fail:
      1. Apply example from under "Creating a RuntimeClass object to encapsulate scheduling mechanisms"
      2. Observe failure: no matches for kind "RuntimeClass" in version "node.k8s.io/v1beta1"
      
      Success:
      1. Stage example from under "Creating a RuntimeClass object to encapsulate scheduling mechanisms"
      2. Modify API version to be 'v1'
      3. Apply modified example
      4. Success
          

      Actual results:

      no matches for kind "RuntimeClass" in version "node.k8s.io/v1beta1"    

      Expected results:

      runtimeclass.node.k8s.io/wmco-runtimeclass created    

      Additional info:

      [dtrainor@workstation tmp]$ oc explain runtimeclass
      GROUP:      node.k8s.io
      KIND:       RuntimeClass
      VERSION:    v1
      

            mburke@redhat.com Michael Burke
            rhn-engineering-dtrainor Dan Trainor
            Sunil Choudhary Sunil Choudhary
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: