Istio 1.1 Envoy访问日志未出现

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

这是GKE上全新的Istio 1.1安装。集群版本为1.10。不幸的是,Istio 1.1尚未经过1.10测试,但我的管理员不会升级到6月。

在Istio 1.1中有一个功能,在我需要的1.0中不存在。这就是配置网关以在kubernetes秘密中查找TLS证书。

但是......我无法让任何应用程序工作,因为Envoy没有显示任何访问日志。如果我没有访问日志,我该如何调试?

我确实在istio-proxy中看到了很多deprecated日志:

  3  Using deprecated option 'envoy.api.v2.Cluster.hosts'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.
 92  Using deprecated option 'envoy.api.v2.listener.Filter.config'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.
  1  Using deprecated option 'envoy.api.v2.Listener.use_original_dst'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.
 44  Using deprecated option 'envoy.api.v2.route.Route.per_filter_config'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.
 19  Using deprecated option 'envoy.config.filter.network.http_connection_manager.v2.HttpFilter.config'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.
  1  Using deprecated option 'envoy.config.trace.v2.Tracing.Http.config'. This configuration will be removed from Envoy soon. Please see https://github.com/envoyproxy/envoy/blob/master/DEPRECATED.md for details.

这与它有关吗?

istio
2个回答
1
投票

没关系......看起来Istio 1.1的新默认值是你必须启用Envoy访问日志...

https://github.com/istio/istio/issues/12854


0
投票

你可能想要在Istio中使用enable Envoy access logging

© www.soinside.com 2019 - 2024. All rights reserved.