Collect PodDisruptionBudgets in Cluster Agent
What does this PR do?
Collect PodDisruptionBudgets in Cluster Agent.
Motivation
Collect PDB information.
Describe how to test/QA your changes
Tested locally:
- Created Minikube cluster
- Deployed cluster agent with image build from the code in the PR
- Created cluster role and binding to give PDB get, list, and watch permissions to the cluster agent
- Configured the agent to collect PDBs
- 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.
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
/merge
:steam_locomotive: MergeQueue: pull request added to the queue
The median merge time in main is 22m.
Use /merge -c to cancel this operation!