We need to edit the tectonic-monitoring ConfigMap. Here's the relevant doc: Configuring Tectonic Monitoring
Let's watch the yaml output of the prometheus/k8s:
watch -n 3 kubectl -n tectonic-system get prometheus/k8s -o yaml
Then in another terminal use kubectl to edit the configmap:
kubectl -n tectonic-system edit cm/tectonic-monitoring
prometheusK8s section add a
resources definition. Be sure to include both cpu and memory limits and requests. Here is an example that doubles the memory values:
prometheus/k8s should update automatically. No need to recycle the pod.