XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      We should use '$ oc apply -f <file.yaml>' instead of 'oc create' because it is safer.

      'oc apply' is declarative syntax and can be used to create a resource or to modify a resource.

      'oc create' is imperative syntax and can only be used to create a resource. If a user runs 'oc create' to create a resource that already exists, the command will result in an error.

       

       

            Unassigned Unassigned
            apinnick@redhat.com Avital Pinnick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: