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

Cluster Wide - Validate Istiod watches are cluster-scoped

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OSSM 2.4.0
    • None
    • Maistra
    • None

      As part of Cluster Wide validation, measuring istiod requests is a task for QE to validate. This task was agreed to be done post OSSM 2.3.0, due to other testing priorities:

       
      For QE: to verify the number of requests istiod sends to the OpenShift API, do the following:

      1. After creating the SMCP, patch the istiod Deployment object to enable API request logging:

      kubectl patch deploy istiod-clusterscoped --type='json' -p='[{"op": "add", "path": "/spec/template/spec/containers/0/args/-", "value": "--logKubernetesApiRequests"}]' 
      

      2. After istiod is restarted due to the SMCP update in the previous step, observe the number of requests sent by grepping the istiod log:

      kubectl logs deploy/istiod-clusterscoped | grep "Performing Kubernetes API request" | wc
      

      When istiod runs in cluster-wide mode, the number of requests should be around 150, whereas in multi-tenant mode, the number of requests depends on the number of member namespaces. For 100 member namespaces, istiod makes around 4500 requests.

       

              mluksa@redhat.com Marko Luksa
              mmahoney@redhat.com Matthew Mahoney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: