kubesphere 2.1.1 请问有办法修改prometheus的配置文件吗,源文件格式为prometheus.yaml.gz,base64反解后乱码

在容器prometheus-config-reloader下,找到两次链接文件源,时间戳目录下,prometheus.yaml.gz为只读文件。

    zw12078

    修改 Prometheus,需要通过 Prometheus Operator CRD 来修改。

    例如,修改 Prometheus 监控数据保存天数,可参考 https://kubesphere.io/docs/pluggable-components/faq/monitoring/#how-to-modify-monitoring-data-retention-days

    如果是使用自定义监控功能,请参考 https://kubesphere.io/docs/project-user-guide/custom-application-monitoring/introduction/

      3 年 后