fix(prom): startUp and readiness probes in gstg
Background
In !511 (merged) we rolled out the new startup and readiness probes for prometheus. However the wrong port is used (:80).
Getting the ports defined it should be web
:
kubectl -n monitoring get po prometheus-gitlab-monitoring-promethe-prometheus-1 -o json | jq '.spec.containers[0].ports'
Using port 80
is a problem because we see the following error:
Warning Unhealthy 60s (x3 over 3m) kubelet Startup probe failed: Get "http://10.96.8.30:80/-/ready": dial tcp 10.96.8.30:80: connect: connection refused
reference https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/14359