apiVersion: v1 kind: Pod metadata: name: client namespace: istio-vt-t13 labels: app: client annotations: sidecar.istio.io/inject: "true" spec: containers: - name: curl image: curlimages/curl:8.14.1 command: ["sleep", "infinity"] --- apiVersion: apps/v1 kind: Deployment metadata: name: echo namespace: istio-vt-t13 labels: app: echo spec: replicas: 1 selector: matchLabels: app: echo template: metadata: labels: app: echo annotations: sidecar.istio.io/inject: "true" spec: containers: - name: echo image: mendhak/http-https-echo:37 env: - name: HTTP_PORT value: "8080" - name: HTTPS_PORT value: "8443" ports: - containerPort: 8080 - containerPort: 8443 --- apiVersion: v1 kind: Service metadata: name: echo namespace: istio-vt-t13 spec: selector: app: echo ports: - name: http port: 80 targetPort: 8080 - name: https port: 443 targetPort: 8443 --- apiVersion: networking.istio.io/v1 kind: DestinationRule metadata: name: echo-field-map namespace: istio-vt-t13 spec: host: echo.istio-vt-t13.svc.cluster.local trafficPolicy: loadBalancer: simple: LEAST_REQUEST connectionPool: tcp: maxConnections: 77 tcpKeepalive: time: 60s interval: 5s probes: 3 http: http1MaxPendingRequests: 42 http2MaxRequests: 88 maxRequestsPerConnection: 5 outlierDetection: consecutive5xxErrors: 4 interval: 9s baseEjectionTime: 33s