【发布时间】:2019-05-07 10:00:29
【问题描述】:
我想将 telegraf 作为 daemonset 运行,但它抱怨 volumemounts。
我已经按照this 文章创建了我的 kubernetes 集群。
现在尝试关注this 文章来设置发送到我们的 kafka 端点的电报指标。
This 是我的 yaml 配置。
当我尝试运行 kubectl apply -f /tmp/telegraf.yaml 我收到了这个错误:
configmap/telegraf unchanged
The DaemonSet "telegraf" is invalid:
* spec.template.spec.containers[0].volumeMounts[1].name: Not found: "docker"
* spec.template.spec.containers[0].volumeMounts[3].mountPath: Invalid value: "/var/run/docker.sock": must be unique
有什么问题需要推进?
【问题讨论】:
标签: kubernetes metrics telegraf daemonset