Istio1.9 与虚拟机 (aws ec2) 的集成使主机文件为空

问题描述

我已在 VM 中安装了 MysqL,并希望我安装了 istio 1.9 的 EKS 与他们交谈,我正在关注此 https://istio.io/latest/docs/setup/install/virtual-machine/,但是在执行此步骤时,生成的主机文件是空文件。 使用这个空的主机文件,我尝试过,但是当使用此命令启动虚拟机时,我正在获取

> sudo systemctl start istio

当尾随此文件

*/var/log/istio/istio.log*



   2021-03-22T18:44:02.332421Z     info    Proxy role      ips=[10.8.1.179 fe80::dc:36ff:fed3:9eea] type=sidecar id=ip-10-8-1-179.vm domain=vm.svc.cluster.local
2021-03-22T18:44:02.332429Z     info    JWT policy is third-party-jwt
2021-03-22T18:44:02.332438Z     info    Pilot SAN: [istiod.istio-system.svc]
2021-03-22T18:44:02.332443Z     info    CA Endpoint istiod.istio-system.svc:15012,provider Citadel
2021-03-22T18:44:02.332997Z     info    Using CA istiod.istio-system.svc:15012 cert with certs: /etc/certs/root-cert.pem
2021-03-22T18:44:02.333093Z     info    citadelclient   Citadel client using custom root cert: istiod.istio-system.svc:15012
2021-03-22T18:44:02.410934Z     info    ads     All caches have been synced up in 82.7974ms,marking server ready
2021-03-22T18:44:02.411247Z     info    sds     SDS server for workload certificates started,listening on "./etc/istio/proxy/SDS"
2021-03-22T18:44:02.424855Z     info    sds     Start SDS grpc server
2021-03-22T18:44:02.425044Z     info    xdsproxy        Initializing with upstream address "istiod.istio-system.svc:15012" and cluster "Kubernetes"
2021-03-22T18:44:02.425341Z     info    Starting proxy agent
2021-03-22T18:44:02.425483Z     info    dns     Starting local udp DNS server at localhost:15053
2021-03-22T18:44:02.427627Z     info    dns     Starting local tcp DNS server at localhost:15053
2021-03-22T18:44:02.427683Z     info    opening status port 15020
2021-03-22T18:44:02.432407Z     info    Received new config,creating new Envoy epoch 0
2021-03-22T18:44:02.433999Z     info    Epoch 0 starting
2021-03-22T18:44:02.690764Z     warn    ca      ca request Failed,starting attempt 1 in 91.93939ms
2021-03-22T18:44:02.693579Z     info    Envoy command: [-c etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-proxy --service-node sidecar~10.8.1.179~ip-10-8-1-179.vm~vm.svc.cluster.local --local-address-ip-version v4 --bootstrap-version 3 --log-format %Y-%m-%dT%T.%fZ       %l      envoy %n        %v -l warning --component-log-level misc:error --concurrency 2]
2021-03-22T18:44:02.782817Z     warn    ca      ca request Failed,starting attempt 2 in 195.226287ms
2021-03-22T18:44:02.978344Z     warn    ca      ca request Failed,starting attempt 3 in 414.326774ms
2021-03-22T18:44:03.392946Z     warn    ca      ca request Failed,starting attempt 4 in 857.998629ms
2021-03-22T18:44:04.251227Z     warn    sds     Failed to warm certificate: Failed to generate workload certificate: create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on 10.8.0.2:53: no such host"
2021-03-22T18:44:04.849207Z     warn    ca      ca request Failed,starting attempt 1 in 91.182413ms
2021-03-22T18:44:04.940652Z     warn    ca      ca request Failed,starting attempt 2 in 207.680983ms
2021-03-22T18:44:05.148598Z     warn    ca      ca request Failed,starting attempt 3 in 384.121814ms
2021-03-22T18:44:05.533019Z     warn    ca      ca request Failed,starting attempt 4 in 787.704352ms
2021-03-22T18:44:06.321042Z     warn    sds     Failed to warm certificate: Failed to generate workload certificate: create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup istiod.istio-system.svc on 10.8.0.2:53: no such host"

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...