I am trying to monitor Strimzi using the kube-prometheus-stack helm chart. I have set it up following the tutorial from the official Strimzi documentation. In this tutorial, they both use Podmonitors and a Prometheus config to get some metrics. But I do not quite understand why I need to set up a Podmonitor for some metrics and add jobs in prometheus.prometheusSpec.additionalScrapeConfigs for others. Could someone explain the difference to me?
Prometheus Monitoring difference Podmonitor vs additionalScrapeConfigs
2.6k Views Asked by Manuel At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- How to know a Pod's own IP address from inside a container in the Pod?
- Who will decide the "specified number of pods" for replication controller in kubernetes?
- Access other containers of a pod in Kubernetes
- Kubernetes cluster using Vagrant not working after restart
- kubectl not installed with gcloud SDK
- How do I access the Kubernetes api from within a pod container?
- Exposing several services with Vagrant and Kubernetes on my own server
- Does Kubernetes provision new VMs for pods on my cloud platform?
- Any suggestion for running Aerospike on Kubernetes on CoreOS on GCE?
- Kubernetes - kubectl exec bash - session drop and line width
- Google Container Engine (GKE): "Hello Wordpress" tutorial not working (ERR_CONNECTION_REFUSED)
- Kubernetes Pod Creation Speed
- How can i set max count of pods for replication-controller per node?
- Is there a way to tell kubernetes to update your containers?
- Postgres with Kubernetes and persistentDisk
Related Questions in PROMETHEUS
- How to replace a label in a prometheus re-label step?
- prometheus alertmanager mails to DL group
- How to scale prometheus in kubernetes environment
- Monitor Atomic host services through ansible
- Django model count() with caching
- How can I alert for container restarted?
- Simplest way to export executor queue size to Prometheus
- Sorting Alertmanager email templates in Go templating
- How to automatically scrape all Docker instances from Kubernetes with Prometheus?
- how to monitor request cost-time with prometheus in golang webserver
- Prometheus Alertmanager - how to list silences using REST?
- Kubernetes: How to apply Horizontal Pod (HPA) autoscaling for a RC which contains multiple containers?
- PromQL: query whether an alert is silenced
- Group by label does not work
- how to integrate prometheus on kubernetes cluster?
Related Questions in KUBERNETES-HELM
- Why tiller connect to localhost 8080 for kubernetes api?
- Helm and configmap checksum annotations
- Kubernetes Helm is interpreting the same value as true from --set but false if in values file
- Can't delete a Stateful Set in Kubernetes
- Helm configuration file incorrectly used
- kubernetes rolling update using helm
- Kubernetes Helm Chart If Condition Check
- connect to shell terminal of other container in a pod
- Error creating load balancer with static IP on GKE with stable/traefik chart
- Kubernetes fission setup error
- Best practices of Export/Import Keycloak data in Kubernetes
- Set value conditionally depending on Helm (first) install or upgrade?
- Nginx Controller upgrade is failing on Kubernetes 1.16.10 cluster
- Will Helm v3 continue to work by manually adding the deprecated stable repo?
- When do I put a subchart in the charts/ directory, dependencies in Chart.yaml, or requirements.yaml in Helm?
Related Questions in STRIMZI
- Kafka Consumer not consuming from last commited offset after restart
- Fluentbit unable to export metrics from node_metrics_exporter input to kafka output
- How to access strimzi kafka cluster running on minikube publically?
- Kafka Connect for GCP PubSub using Strimzi Operator
- Kafka pods apparently going beyond their resource limits in kubernetes
- kafka-cluster-zookeper networking issues in newer versions
- Error While Producing Message : Broker: Message size too large
- Exotic choice for Kafka-Connect Deployment
- Why Kafka doesn't start deployed on local k8s?
- How to use Kafka connect in Strimzi
- How to access Kafka through nodeport
- Dynamic creation of Kafka Connectors
- Prometheus Monitoring difference Podmonitor vs additionalScrapeConfigs
- Istio Ingress Gateway to serve Strimzi Apache Kafka on Kubernetes
- How do I avoid data loss when using Kafka over Kubernetes and one of the nodes fail?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The
PodMonitor(s) are used to select the metrics from the pods from the Strimzi provided custom resources, like for example Kafka, ZooKeeper, KafkaBridge, and so on. The Prometheus operator translates that configuration in corresponding jobs with akubernetes_sd_configshavingrole: pod. Theprometheus-additional.yamlfile that is used for the additional scrape configs field, contains "raw" jobs configuration for Kubernetes related metrics directly from nodes and provided by cadvisor and kubelet (i.e. volume disk space, CPU and memory usage). In the Prometheus operator there is no a corresponding thing forrole: node, doesn't exist a thing likeNodeMonitor. I hope that it makes more sense now.