修改方法:html
查看当前logging-curator配置,了解当前定时删除大的策略。bash
oc edit configmap/logging-curatorapp
打开后,能够直接编辑保存。ide
从新编辑一个新的yaml,替换原有配置。spa
文件内容参考以下:日志
而后执行替换:code
oc delete configmap logging-curatororm
oc create configmap logging-curator -o yaml --from-file=config.yaml=mycuratorconfig.yamlhtm
最后,让配置生效blog
oc rollout latest
dc
/logging-curator