How did you install prometheus-operator? If you used helm, the default is to ignore CRDs that don't have a matching label set with the deployment to better enable multi-tenancy out of the box.
--Matt On Thu, Sep 24, 2020 at 8:23 AM Dima K. <[email protected]> wrote: > Hi, > > somehow there is missing documentation/examples on Probes Custom Resource > Definition. > > I got Prometheus Operator running v.0.42.0 plus blackbox-exporter in the > same NS. > Using prometheus additional configs to run probes on k8s services works > fine. > I'm trying to create a sample Probe using probes.monitoring.coreos.com in > order not > to maintain static list of custom targets. Since there're absolutely no > examples on probes, > created a minimalistic sample based on : > > apiVersion: monitoring.coreos.com/v1 > kind: Probe > metadata: > labels: > monitoring: enabled > name: probe-test > spec: > module: http_2xx > prober: > url: prometheus-blackbox.exporter:9115 > targets: > staticConfig: > static: > - https://www.google.de > > Sadly Prometheus not fetches it. > Any hint or a link how to deal with Probes are appreciated! > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/6ebec151-c4df-45ec-bf2e-3fabb44fbdebn%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/6ebec151-c4df-45ec-bf2e-3fabb44fbdebn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- --Matt -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAGyBzcw9ETg%3DvX19BWeeUpatTXi7zVZvDLBpKq0puZvqWmNPVg%40mail.gmail.com.

