2

我似乎在使用 istio 代理的容器中达到最大 websocket 连接数的限制

它似乎在 1024 处用完(这似乎是默认值)

我还尝试将我的 --default-ulimit for nofiles 增加到 102400:102400 但我怀疑它受 istio 限制

我也尝试添加 DestinationPolicy 但这也没有帮助

apiVersion: config.istio.io/v1alpha2
#kind: CircuitBreaker.SimpleCircuitBreakerPolicy
kind: DestinationPolicy
metadata:
  name: my-cb-ploicy
  namespace: default # optional (default is "default")
spec:
  destination:
    name: apiserver
    #name: apiserver.default.svc.cluster.local
    #namespace: default # optional (default is metadata namespace field)
  circuitBreaker:
    simpleCb:
      maxConnections: 102400
      httpMaxPendingRequests: 102400
      httpMaxRequests: 102400
      httpMaxRequestsPerConnection: 102400
4

1 回答 1

1

添加以下以某种方式使特使识别并更新目标策略

  httpDetectionInterval: 1s
  sleepWindow: 3m
  httpMaxEjectionPercent: 100
于 2018-02-15T04:24:44.010 回答