# Illustrative workload policy for Istio 1.21+; values are not sizing advice.
# This resource configures an already-injected sidecar. It does not inject one.
apiVersion: networking.istio.io/v1beta1
kind: Sidecar
metadata:
  name: atlas-web-inbound
  namespace: example
spec:
  workloadSelector:
    labels:
      app: atlas-web
  inboundConnectionPool:
    http:
      http2MaxRequests: 64
      http1MaxPendingRequests: 16
  ingress:
  - port:
      number: 8080
      protocol: HTTP
      name: http-web
    defaultEndpoint: 127.0.0.1:8080
