对于kube-prometheus-stack,我们将越来越多的仪表板配置添加到/grafana/dashboards
文件夹中,以拥有越来越多的预置仪表板。
然后在一天之内,我们做到了:
kube-prometheus-stack>helm -n monitoring upgrade prometheus ./ -f ./values-core.yaml
并得到:
Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.prometheus.v16" is invalid: data: Too long: must have at most 1048576 bytes
克服这些限制的设计方法是什么?需要向图表添加越来越多的预配置仪表板。
kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:04:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}