Open njdaniel opened 5 years ago
$ kubectl -n monitoring logs prometheus-prom-prometheus-operator-prometheus-0
Error from server (BadRequest): a container name must be specified for pod prometheus-prom-prometheus-operator-prometheus-0, choose one of: [prometheus prometheus-config-reloader rules-configmap-reloader]
$ kubectl -n monitoring logs prometheus-prom-prometheus-operator-prometheus-0 -c rules-configmap-reloader
Nothing returned, no logs. This is the one crashing?
From installing prometheus with prometheus operator $ helm install --name prom --namespace monitoring -f custom-prom-values.yml stable/prometheus-operator
Checking to make sure pods are 'Running' BUT..
$ kubectl get pods -n monitoring
NAME READY STATUS RESTARTS AGE prometheus-prom-prometheus-operator-prometheus-0 2/3 CrashLoopBackOff 158 12h alertmanager-prom-prometheus-operator-alertmanager-0 1/2 CrashLoopBackOff 156 12h
Why are these pods crashing?