datadog-agent icon indicating copy to clipboard operation
datadog-agent copied to clipboard

Collect PodDisruptionBudgets in Cluster Agent

Open jbartosik opened this issue 1 year ago • 2 comments

What does this PR do?

Collect PodDisruptionBudgets in Cluster Agent.

Motivation

Collect PDB information.

Describe how to test/QA your changes

Tested locally:

  1. Created Minikube cluster
  2. Deployed cluster agent with image build from the code in the PR
  3. Created cluster role and binding to give PDB get, list, and watch permissions to the cluster agent
  4. Configured the agent to collect PDBs
  5. Created a PDB in the cluster

The agent reports observing the PDB, doesn't crash.

TDB: verify no change in CPU load.

Possible Drawbacks / Trade-offs

Additional Notes

Needs https://github.com/DataDog/agent-payload/pull/351 to be submitted and pulled in properly before this can be submitted.

jbartosik avatar Oct 23 '24 11:10 jbartosik

CLA assistant check
All committers have signed the CLA.

bits-bot avatar Oct 23 '24 11:10 bits-bot

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv create-vm --pipeline-id=48142890 --os-family=ubuntu

Note: This applies to commit 063f429d

Regression Detector

cit-pr-commenter[bot] avatar Oct 24 '24 11:10 cit-pr-commenter[bot]

/merge

jbartosik avatar Nov 04 '24 15:11 jbartosik

:steam_locomotive: MergeQueue: pull request added to the queue

The median merge time in main is 22m.

Use /merge -c to cancel this operation!

dd-devflow[bot] avatar Nov 04 '24 15:11 dd-devflow[bot]