Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot 在Jaeger UI中未找到服务依赖项_Spring Boot_Kubernetes_Microservices_Minikube_Jaeger - Fatal编程技术网

Spring boot 在Jaeger UI中未找到服务依赖项

Spring boot 在Jaeger UI中未找到服务依赖项,spring-boot,kubernetes,microservices,minikube,jaeger,Spring Boot,Kubernetes,Microservices,Minikube,Jaeger,我是jaeger的新手,在jaeger UI中查找服务列表时遇到问题 下面是我准备在Kubernetes上使用minikube本地运行spring boot应用程序的.yaml配置 kubectl创建-fhttps://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/production-elasticsearch/elasticsearch.yml --名称空间=kube系统 kubectl创建-fhttps:/

我是jaeger的新手,在jaeger UI中查找服务列表时遇到问题

下面是我准备在Kubernetes上使用minikube本地运行spring boot应用程序的.yaml配置

kubectl创建-fhttps://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/production-elasticsearch/elasticsearch.yml --名称空间=kube系统

kubectl创建-fhttps://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/master/jaeger-production-template.yml --名称空间=kube系统

为我的spring boot应用程序和jaeger代理创建了在同一容器上运行的部署

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
    name: tax-app-deployment
spec:
    template:
      metadata:
        labels:
          app: tax-app
          version: latest
      spec:
        containers:
        - image: tax-app
          name: tax-app
          imagePullPolicy: IfNotPresent
          ports:
          - containerPort: 8080
        - image: jaegertracing/jaeger-agent
          imagePullPolicy: IfNotPresent
          name: jaeger-agent
          ports:
          - containerPort: 5775
            protocol: UDP
          - containerPort: 5778
          - containerPort: 6831
            protocol: UDP
          - containerPort: 6832
            protocol: UDP
          command:
          - "/go/bin/agent-linux"
          - "--collector.host-port=jaeger-collector.jaeger-infra.svc:14267"
以及spring boot应用程序服务yaml

apiVersion: v1
kind: Service
metadata:
  name: tax
  labels:
    app: tax-app
    jaeger-infra: tax-service
spec:
  ports:
  - name: tax-port
    port: 8080
    protocol: TCP
    targetPort: 8080
  clusterIP: None
  selector:
    jaeger-infra: jaeger-tax
我越来越

未找到服务依赖项


服务图数据必须在Jaeger中生成。目前可以通过Spark作业在此处执行:

您何时收到此“未找到服务依赖项”错误?您使用的哪个命令会导致此错误?我在加载jaeger ui时得到它,在转到依赖项选项卡之后,您的上游服务是否实现了jaeger?