Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect PodDisruptionBudgets in Cluster Agent #30412

Merged
merged 4 commits into from
Nov 4, 2024

Conversation

jbartosik
Copy link
Contributor

@jbartosik jbartosik commented Oct 23, 2024

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 DataDog/agent-payload#351 to be submitted and pulled in properly before this can be submitted.

@jbartosik jbartosik requested review from a team as code owners October 23, 2024 11:37
@bits-bot
Copy link
Collaborator

bits-bot commented Oct 23, 2024

CLA assistant check
All committers have signed the CLA.

@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch 3 times, most recently from 44691d6 to dc89011 Compare October 23, 2024 13:50
Copy link
Contributor

@rtrieu rtrieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a word or two was missing.

@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch 4 times, most recently from 1162e01 to aca050e Compare October 23, 2024 15:31
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Oct 23, 2024

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 063f429

@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch from aca050e to 3882e2f Compare October 24, 2024 09:30
Copy link

cit-pr-commenter bot commented Oct 24, 2024

Regression Detector

@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch from 3882e2f to 820ab55 Compare October 30, 2024 10:26
@github-actions github-actions bot added the long review PR is complex, plan time to review it label Oct 30, 2024
@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch from 820ab55 to 121d517 Compare October 30, 2024 11:26
NOTE: not adding yaml - all the yaml fields are marked as obsolete and we now have a dedicated pipeline for yamls so I presume there is no need to add the field
@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch from 121d517 to 2bcb7f7 Compare November 4, 2024 11:26
@jbartosik jbartosik force-pushed the joachim-bartosik-add-pdb-01 branch from 2bcb7f7 to 063f429 Compare November 4, 2024 11:41
@jbartosik
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Nov 4, 2024

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 22m.

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit baf7988 into main Nov 4, 2024
224 checks passed
@dd-mergequeue dd-mergequeue bot deleted the joachim-bartosik-add-pdb-01 branch November 4, 2024 15:36
@github-actions github-actions bot added this to the 7.61.0 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature long review PR is complex, plan time to review it team/container-app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants