Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-8525

Create Snippet for injecting sidecars

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Normal Normal
    • OSSM 3.0.0
    • OSSM 3.0.0
    • Documentation, Istio
    • None

      The content is the same when a user has to inject sidecars. A snippet will make it easier to update and maintain this content.

      Note that the numbering may differ. In some procedures it is Step 5, in other procedures it is a different numbered step.

      Depending on the update strategy you are using, enable sidecar injection in the namespace by running the appropriate commands:

      1. If you are using the InPlace update strategy, run the following command:
         
         $ oc label namespace curl istio-injection=enabled
      2. If you are using the RevisionBased update strategy, run the following commands:
        1. Display the revision name by running the following command:
           
           $ oc get istiorevisions.sailoperator.io
          Example output
           
           {{NAME TYPE READY STATUS IN USE VERSION AGE
          default-v1-23-0 Local True Healthy True v1.23.0 3m33s}}
        2. Label the namespace with the revision name to enable sidecar injection by running the following command:
           
           $ oc label namespace curl istio.io/rev=default-v1-23-0

       

              rhn-support-gmonahan Gwynne Monahan
              rhn-support-gmonahan Gwynne Monahan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: