关于

March 27, 2020

暂无

沙发被抢

  1. istio payload size - how to prevent and block istio payload size - how to prevent and block

    Hi , I have seen you have made this question on :
    https://github.com/istio/istio/issues/33117

    I am very sorry for bothering you about that, I am finding a possible solution but I still did not get how to do that.
    I am trying to figure out how to make something similar, I got I could do something like:
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
    creationTimestamp: "2022-08-02T14:06:53Z"
    name: envoy-filter-myservice
    namespace: ghost
    spec:
    configPatches:

    applyTo: LISTENER
    patch:
    operation: MERGE
    value:
    per_connection_buffer_limit_bytes: 104857600 # 100MB applyTo: HTTP_FILTER
    match:
    context: SIDECAR_INBOUND
    listener:
    filterChain:
    filter:
    name: envoy.filters.network.http_connection_manager
    patch:
    operation: INSERT_FIRST
    value:
    name: envoy.filters.http.lua
    typed_config:
    '@type': type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
    inlineCode: |
    function envoy_on_request(request_handle)
    request_handle:headers():remove("cookie")
    end
    workloadSelector:
    labels:
    service: myservice

    But it seems to work only in case the content type is set.
    Did you get how to make this on istio?

    Thank you very much in advance.
    BR
    Prisco

添加新评论