如何删除 Anthos Service Mesh 中的标头?

问题描述 投票:0回答:0

当我开始使用 Anthos Service Mesh 时,添加了以下自定义标头。有没有办法通过设置删除相应的标头,而不将其从 mTLS 设置或代码级别中删除?

I/okhttp.OkHttpClient: content-length: 145
I/okhttp.OkHttpClient: content-type: text/plain
I/okhttp.OkHttpClient: date: Mon, 24 Jul 2023 07:41:32 GMT
I/okhttp.OkHttpClient: server: istio-envoy
I/okhttp.OkHttpClient: x-envoy-decorator-operation: stage-app.stage-app.svc.cluster.local:8000/*
I/okhttp.OkHttpClient: via: 1.1 google
I/okhttp.OkHttpClient: alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
I/okhttp.OkHttpClient: upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 111
x-envoy-decorator-operation: stage-app.stage-app.svc.cluster.local:8000/*

我尝试过设置 mTLS,但我不知道我配置了什么错误,但这不会使网络通信正常工作。

kubernetes google-cloud-platform istio google-anthos
© www.soinside.com 2019 - 2024. All rights reserved.