Skip to content

use cache for k8s deleted pods#748

Merged
DmitryRomanov merged 5 commits intomasterfrom
k8s-gatherer-remove-from-blacklist
Feb 12, 2025
Merged

use cache for k8s deleted pods#748
DmitryRomanov merged 5 commits intomasterfrom
k8s-gatherer-remove-from-blacklist

Conversation

@DmitryRomanov
Copy link
Collaborator

@DmitryRomanov DmitryRomanov commented Jan 31, 2025

When a pod has already been deleted (for example, cron jobs), retrieving metadata takes a long time.

@DmitryRomanov DmitryRomanov force-pushed the k8s-gatherer-remove-from-blacklist branch 3 times, most recently from b0ac5e3 to 52dc83f Compare February 7, 2025 09:22
DmitryRomanov and others added 4 commits February 10, 2025 17:45
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.27.4 to 0.29.0.
- [Commits](kubernetes/api@v0.27.4...v0.29.0)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@DmitryRomanov DmitryRomanov force-pushed the k8s-gatherer-remove-from-blacklist branch from 52dc83f to f53db83 Compare February 10, 2025 10:45
@DmitryRomanov DmitryRomanov force-pushed the k8s-gatherer-remove-from-blacklist branch from 3661481 to 66a74e6 Compare February 11, 2025 11:21
@DmitryRomanov DmitryRomanov changed the title use lru for k8s blacklisted cache use cache for k8s deleted pods Feb 11, 2025
@DmitryRomanov DmitryRomanov marked this pull request as ready for review February 11, 2025 13:02
@DmitryRomanov DmitryRomanov merged commit 79bcb8d into master Feb 12, 2025
8 checks passed
@DmitryRomanov DmitryRomanov deleted the k8s-gatherer-remove-from-blacklist branch February 12, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants