今天遇到一个问题,istio的组件一直在重启,查看log大概是这个样子
--03T07::.935580Z info Epoch starting
--03T07::.936317Z info Envoy command: [-c /etc/istio/proxy/envoy-rev0.json --restart-epoch --drain-time-s --parent-shutdown-time-s --service-cluster istio-ingress --service-node ingress~57.144.0.82~istio-ingress-5b8b8669b5-hjqrd.istio-system~istio-system.svc.cluster.local --max-obj-name-len -l info --v2-config-only]
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] initializing epoch (hot restart version=9.200.16384.256.options=capacity=, num_slots= hash=)
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] statically linked extensions:
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash,istio_authn,jwt-auth,mixer
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] filters.network: envoy.client_ssl_auth,envoy.echo,envoy.ext_authz,envoy.http_connection_manager,envoy.mongo_proxy,envoy.ratelimit,envoy.redis_proxy,envoy.tcp_proxy,mixer
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] stat_sinks: envoy.dog_statsd,envoy.metrics_service,envoy.statsd
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] tracers: envoy.dynamic.ot,envoy.lightstep,envoy.zipkin
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] transport_sockets.downstream: alts,raw_buffer,ssl
[-- ::49.973][][info][main] external/envoy/source/server/server.cc:] transport_sockets.upstream: alts,raw_buffer,ssl
[-- ::49.980][][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:] gRPC config stream closed: ,
[-- ::49.980][][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:] Unable to establish new stream
[-- ::49.980][][info][config] external/envoy/source/server/configuration_impl.cc:] loading listener(s)
[-- ::49.980][][info][config] external/envoy/source/server/configuration_impl.cc:] loading tracing configuration
[-- ::49.980][][info][config] external/envoy/source/server/configuration_impl.cc:] loading tracing driver: envoy.zipkin
[-- ::49.980][][info][config] external/envoy/source/server/configuration_impl.cc:] loading stats sink configuration
[-- ::49.980][][critical][main] external/envoy/source/server/server.cc:] error initializing configuration '/etc/istio/proxy/envoy-rev0.json': malformed IP address: istio-statsd-prom-bridge
[-- ::49.981][][info][main] external/envoy/source/server/server.cc:] exiting
--03T07::.983382Z warn Epoch terminated with an error: exit status
--03T07::.983414Z warn Aborted all epochs
--03T07::.983463Z info Epoch : set retry delay to 1m42.4s, budget to
解决方案
重启Kubernetes集群的dns和每个节点的flannel
kubectl delete pod -n kube-system kube-dns-*****
手机扫一扫
移动阅读更方便
你可能感兴趣的文章