For BB 1.13.1, Shards: 1 needs to be added to line 52.5 of dev/configmap.yaml
August 6th on MM Cam mentioned he ran into this error
k get hr monitoring -n=bigbang
│ monitoring False Helm install failed: Prometheus.monitoring.coreos.com "monitoring-monitoring-kube-prometheus" is invalid: spec.shards: Invalid value: "null": spec.shards in body must be of type integer: "null" 6m16s │
And that he was able to resolve it by adding
values:
prometheus:
prometheusSpec:
shards: 1
While testing that a different error got fixed / running through the cohort lab guides + updating them to deploy bb 1.13.1, I encountered the same error and same solution.
once I added "shards: 1" to line 52.5 of template/dev/configmap.yaml, and the hr deployed correctly / switched to ready True.
So I suspect we either need to update the customer template repo, but I'm not sure how to do that I heard there was some weird fork and merge thing.
Or potentially better update the default values of the upstream monitoring helm chart to default to shards: 1 / uncomment that by default https://repo1.dso.mil/platform-one/big-bang/apps/core/monitoring/-/blob/14.0.0-bb.3/chart/values.yaml