すべてのアドオンは正常に動作していますが、Network LoadBalancer URL 経由でアクセスできないだけです
[ec2-user@ip-10-0-0-60 ~]$ kubectl get vs,dr,gw -n istio-system
NAME GATEWAYS HOSTS AGE
virtualservice.networking.istio.io/grafana-vs [grafana-gateway] [grafana.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.u s-east-1.amazonaws.com] 32h
virtualservice.networking.istio.io/kiali-vs [kiali-gateway] [kiali.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us- east-1.amazonaws.com] 32h
virtualservice.networking.istio.io/prometheus-vs [prometheus-gateway] [prometheus.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.el b.us-east-1.amazonaws.com] 32h
virtualservice.networking.istio.io/tracing-vs [tracing-gateway] [tracing.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.u s-east-1.amazonaws.com] 32h
NAME HOST AGE
destinationrule.networking.istio.io/grafana grafana 32h
destinationrule.networking.istio.io/kiali kiali 32h
destinationrule.networking.istio.io/prometheus prometheus 32h
destinationrule.networking.istio.io/tracing tracing 32h
NAME AGE
gateway.networking.istio.io/grafana-gateway 32h
gateway.networking.istio.io/kiali-gateway 32h
gateway.networking.istio.io/prometheus-gateway 32h
gateway.networking.istio.io/tracing-gateway 32h
YAML ファイルを保存したソース コードは以下のとおりです。
https://github.com/ameyaagashe/istio-addons.git
Pod は正常に実行されているため、以下のようにサービスに問題はありません。
[ec2-user@ip-10-0-0-60 addons]$ kubectl get pods,svc -n istio-system
NAME READY STATUS RESTARTS AGE
pod/grafana-94f5bf75b-5vmwk 1/1 Running 0 37h
pod/istio-egressgateway-64f6cf8c5c-xfx5c 1/1 Running 0 37h
pod/istio-ingressgateway-7d494fc944-nfbgl 1/1 Running 0 37h
pod/istiod-559cbd785d-rxs5m 1/1 Running 0 37h
pod/jaeger-5c7675974-2tkg9 1/1 Running 0 37h
pod/kiali-667b888c56-2p9rt 1/1 Running 0 32h
pod/prometheus-7d76687994-7b8hp 2/2 Running 0 33h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/grafana ClusterIP 10.100.217.154 <none> 3000/TCP 37h
service/istio-egressgateway ClusterIP 10.100.124.234 <none> 80/TCP,443/TCP,15443/TCP 37h
service/istio-ingressgateway LoadBalancer 10.100.139.212 a77a61e85b85a46198645ac29a1ebbfd-1680121350.us-east-1.elb.amazonaws.com 15021:32196/TCP,80:30819/TCP,443:31500/TCP,31400:30624/TCP,15443:31551/TCP 37h
service/istiod ClusterIP 10.100.49.147 <none> 15010/TCP,15012/TCP,443/TCP,15014/TCP 37h
service/jaeger-collector ClusterIP 10.100.117.234 <none> 14268/TCP,14250/TCP 37h
service/kiali ClusterIP 10.100.158.203 <none> 20001/TCP,9090/TCP 37h
service/prometheus ClusterIP 10.100.40.238 <none> 9090/TCP 37h
service/tracing ClusterIP 10.100.50.33 <none> 80/TCP 37h
service/zipkin ClusterIP 10.100.183.114 <none> 9411/TCP 37h
[ec2-user@ip-10-0-0-60 addons]$
今、私はそれらにアクセスできません...
[ec2-user@ip-10-0-0-60 addons]$ curl http://grafana.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
curl: (6) Could not resolve host: grafana.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://kiali.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
curl: (6) Could not resolve host: kiali.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://prometheus.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
curl: (6) Could not resolve host: prometheus.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://tracing.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
curl: (6) Could not resolve host: tracing.a77a61e85b85a46198645ac29a1ebbfd-e856e794d398b3ae.elb.us-east-1.amazonaws.com
[ec2-user@ip-10-0-0-60 addons]$
それでは、各 YAML ファイルの NLM 文字列を a77* で learningservicemesh.com に更新する必要がありますか?
手伝ってください。
あなたが提案したとおりにしましたが、魅力はありません...
[ec2-user@ip-10-0-0-60 addons]$ kubectl get vs,gw,dr -n istio-system
NAME GATEWAYS HOSTS AGE
virtualservice.networking.istio.io/grafana-vs [grafana-gateway] [grafana.learningservicemesh.com] 6s
virtualservice.networking.istio.io/kiali-vs [kiali-gateway] [kiali.learningservicemesh.com] 6s
virtualservice.networking.istio.io/prometheus-vs [prometheus-gateway] [prometheus.learningservicemesh.com] 6s
virtualservice.networking.istio.io/tracing-vs [tracing-gateway] [tracing.learningservicemesh.com] 6s
NAME AGE
gateway.networking.istio.io/grafana-gateway 6s
gateway.networking.istio.io/kiali-gateway 6s
gateway.networking.istio.io/prometheus-gateway 6s
gateway.networking.istio.io/tracing-gateway 6s
NAME HOST AGE
destinationrule.networking.istio.io/grafana grafana 6s
destinationrule.networking.istio.io/kiali kiali 6s
destinationrule.networking.istio.io/prometheus prometheus 6s
destinationrule.networking.istio.io/tracing tracing 6s
[ec2-user@ip-10-0-0-60 addons]$ curl http://grafana.learningservicemesh.com
curl: (6) Could not resolve host: grafana.learningservicemesh.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://kiali.learningservicemesh.com
curl: (6) Could not resolve host: kiali.learningservicemesh.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://prometheus.learningservicemesh.com
curl: (6) Could not resolve host: prometheus.learningservicemesh.com
[ec2-user@ip-10-0-0-60 addons]$ curl http://tracing.learningservicemesh.com
curl: (6) Could not resolve host: tracing.learningservicemesh.com
[ec2-user@ip-10-0-0-60 addons]$