higress 如何更改全局的配置文件?

higress 如何更改全局的配置文件?我在configmap higress-config 增加 higress 项没有生效。
apiVersion: v1
data:
higress: |-
tracing:
enable: true
sampling: 100
timeout: 500
skywalking:
service: skywalking-oap-server.op-system.svc.cluster.local
port: 11800
gzip:
enable: false
minContentLength: 1024
contentType:

    - text/html
    - application/json
    - text/css
    - application/javascript
    - application/xhtml+xml
    - image/svg+xml
  disableOnEtagHeader: true
  memoryLevel: 5
  windowBits: 12
  chunkSize: 4096
  compressionLevel: BEST_COMPRESSION
  compressionStrategy: DEFAULT_STRATEGY
addXRealIpHeader: false
disableXEnvoyHeaders: false
downstream:
  connectionBufferLimits: 32768
  http2:
    initialConnectionWindowSize: 1048576
    initialStreamWindowSize: 65535
    maxConcurrentStreams: 100
  idleTimeout: 180
  maxRequestHeadersKb: 60
upstream:
  connectionBufferLimits: 1048576
  idleTimeout: 10

...

kind: ConfigMap
metadata:
name: higress-config
namespace: higress-system

展开
收起
三分钟热度的鱼 2024-06-27 09:27:45 100 分享 版权
0 条回答
写回答
取消 提交回答

为微服务建设降本增效,为微服务落地保驾护航。

还有其他疑问?
咨询AI助理