GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
191 stars 89 forks source link

Adding the NodeMonitoring CRD #773

Closed maxamins closed 8 months ago

maxamins commented 8 months ago

Can be tested via running the following commands:

  1. DOCKER_PUSH=1 make operator
  2. kubectl apply -f manifests/setup.yaml
  3. kubectl apply -f manifests/operator.yaml
  4. kubectl apply -f examples/cadvisor-metrics.yaml and kubectl apply -f examples/kubelet-metrics.yaml

You can see the node metrics being scraped after that. Additionally I toggled KubeletScraping on/off to watch the scraping turn off/on.

google-cla[bot] commented 8 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.