Exiting: error loading config file: config file (“/opt/filebeat/filebeat.yml“) can only be writable
k8s 安装filebeat挂载配置文件报错1、安装filebeat挂载配置文件,报错如下Exiting: error loading config file: config file ("/opt/filebeat/filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to f
·
k8s 安装filebeat挂载配置文件报错
1、安装filebeat挂载配置文件,报错如下
Exiting: error loading config file: config file ("/opt/filebeat/filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /opt/filebeat/filebeat.yml')
2、报错是因为安全原因不要其他用户写的权限,去掉写的权限就可以了,我把777修改成755,转码后是493
- configMap:
items:- key: filebeat.yml
mode: 484
path: filebeat.yml
name: kp-filebeat-master-hwkp-filebeat-configmap
name: kp-filebeat-master-hwkp-filebeat-configmap
- key: filebeat.yml
3、重新发布问题解决
更多推荐
已为社区贡献7条内容
所有评论(0)