Closed zl2437917 closed 1 week ago
使用cloudpods的master版本,编译了cmd下的所有镜像,并进行了替换。替换后所有容器都能正常运行,但是telegraf容器无法启动
容器报错如下
Defaulted container "telegraf" out of: telegraf, telegraf-init (init) 2024-11-11T06:37:37Z I! Starting Telegraf 2024-11-11T06:37:37Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: plugin inputs.disk: line 37: configuration specified the fields ["ignore_phey weren't used
编辑pod对应宿主机的/etc/telegraf/telegraf.conf文件,注释ignore_path_segments行并重启pod后,问题解决
使用cloudpods的master版本,编译了cmd下的所有镜像,并进行了替换。替换后所有容器都能正常运行,但是telegraf容器无法启动
容器报错如下
Defaulted container "telegraf" out of: telegraf, telegraf-init (init) 2024-11-11T06:37:37Z I! Starting Telegraf 2024-11-11T06:37:37Z E! [telegraf] Error running agent: Error loading config file /etc/telegraf/telegraf.conf: plugin inputs.disk: line 37: configuration specified the fields ["ignore_phey weren't used
编辑pod对应宿主机的/etc/telegraf/telegraf.conf文件,注释ignore_path_segments行并重启pod后,问题解决