kiali: Validations and TLS Endpoints Very Slow

Describe the bug On a cluster with 1600 services and ~2000pods the tls and validations api endpoints take a long time to respond in large environment. For example tls takes 1.4 minutes to return. image

Valation endpoints result: {“errors”:1,“objectCount”:536,“warnings”:73}. Load time is 30 seconds .

Versions used Kiali UI 1.36.0 (ceb2b93f33f1c0445b51518691dcb48c2c801f8a) Kiali Server v1.36.0 (48c624aa9950b62b96c3c43591900b0291d483cf) Kiali Container v1.36.0 Components Prometheus 2.19.2 Kubernetes v1.20.4-eks-6b7464 Istio: 1.10.1

To Reproduce Open Kiali> Open Overview Tab

Expected behavior

Overview, Applications, Workloads tab expected to load fast.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 16 (9 by maintainers)

Most upvoted comments

here are the results

k get peerauthentications.security.istio.io --all-namespaces | wc -l
       0
k get destinationrules.networking.istio.io --all-namespaces | wc -l
     458
k get namespace --show-labels  -l kiali-enabled=true | wc -l
      16

All the DR’s only have this kind of config

apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
spec:
  host: xyz123
  trafficPolicy:
    connectionPool:
      http:
        http1MaxPendingRequests: 1024
        maxRequestsPerConnection: 1024
      tcp:
        maxConnections: 1024
    loadBalancer:
      simple: ROUND_ROBIN
    outlierDetection:
      baseEjectionTime: 30s
      consecutiveErrors: 5
      interval: 10s
      maxEjectionPercent: 20

@xeviknal I have

  meshConfig:
    enableAutoMtls: true