Jaeger查询和收集器pod不会启动



在上部署jaeger 1.28.0时Kubernetes版本v1.12-12-1555+9e8f924492b7d7目录OpenShift版本4.8.0-0.okd-2021-11-14-052418

面对以下错误,查询和收集器pod不会启动。

查询:装载量。卷"的设置失败;jaeger oi服务ca":configmap引用了不存在的配置密钥:service-ca.crtMountVolume。卷"的设置失败;jaeger oi-ui-oauth代理tls":秘密";jaeger oi-ui-oauth代理tls";未找到

jaeger oi收集器MountVolume。卷"的设置失败;jaeger oi collector tls config volume":秘密";jaeger oi收集器无头tls";未找到

我的simplest.yaml文件如下:-

apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger-oi
spec:
strategy: production
collector:
image: jaegertracing/jaeger-collector:1.28.0
maxReplicas: 1
resources:
requests:
memory: "4Gi"
cpu: "2"
limits:
memory: "8Gi"
cpu: "4"
query:
image: jaegertracing/jaeger-query:1.28.0
replicas: 1
resources:
requests:
memory: "4Gi"
cpu: "2"
limits:
memory: "8Gi"
cpu: "4"    
agent:
strategy: sidecar
image: jaegertracing/jaeger-agent:1.28.0    
storage:
type: elasticsearch
esIndexCleaner:
enabled: false
dependencies:
enabled: false
options:
es:
use-aliases: false
server-urls: https://*******      
ui:
options:
dependencies:
menuEnabled: false
tracking:
gaID: UA-000000-2
menu:
- label: "About Jaeger"
items:
- label: "Documentation"
url: "https://www.jaegertracing.io/docs/latest"
linkPatterns:
- type: "logs"
key: "customer_id"
url: /search?limit=20&lookback=1h&service=frontend&tags=%7B%22customer_id%22%3A%22#{customer_id}%22%7D
text: "Search for other traces for customer_id=#{customer_id}"

使用openshift,Jaeger UI受到OAuth服务的保护,只有有效用户才能登录。一个额外的oauth服务导致了所有的问题。作为一种解决方法,我在simplest.yaml 中将Ingress属性设置为none,从而禁用了此功能

ingress:
security: none

相关内容

  • 没有找到相关文章

最新更新