能帮我吗,请指定YAML Istio EnvoyFilter来具有请求缓冲区,类似于Nginx请求缓冲区。 我尝试过
const typeDefsRaw = String.raw`
input ClaimInput {
id: String!
date: String!
phone: String @constraint(pattern: "^05\d([-]{0,1})\d{7}$")
email: String
invoice: String
doctorId: String
therapy: [TherapyInput]
files: [FileInput]
}
`
const typeDefs = gql`${typeDefsRaw}`;
这已成功应用于集群,但无法正常工作
谢谢
UPD 可行
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: connection
namespace: my-test
spec:
workloadSelector:
labels:
role: backend
configPatches:
- applyTo: LISTENER
match:
context: SIDECAR_INBOUND
patch:
operation: MERGE
value:
per_connection_buffer_limit_bytes: 21000000.0 #21MB