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

Refactor kubernetes autodiscover to avoid skipping short-living pods #24742

Merged
merged 36 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3b8fa45
Initial simplification
jsoriano Mar 24, 2021
f034193
Common code to instantiate shared informer
jsoriano Apr 6, 2021
2cda241
Use normal workqueue
jsoriano Apr 6, 2021
fcce3fd
Recover cleanup timeout logic
jsoriano Apr 6, 2021
b3aef73
Fix termination of normal containers
jsoriano Apr 6, 2021
b5f3ab3
Generate configs when not having a host and for completed pods
jsoriano Apr 7, 2021
ed1107f
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 7, 2021
a84b170
Fix comments
jsoriano Apr 7, 2021
a80b9d0
Don't include empty hosts in pod events
jsoriano Apr 7, 2021
e274057
Adjust tests
jsoriano Apr 8, 2021
96db105
Refactor annotations collection
jsoriano Apr 8, 2021
ba02668
Add comment on publishAll
jsoriano Apr 8, 2021
43cf27f
Add test cases for succeeded pod
jsoriano Apr 8, 2021
8674201
Reorder pod terminating check
jsoriano Apr 8, 2021
8df4283
Add changelog
jsoriano Apr 8, 2021
abe84c8
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 8, 2021
22266a7
Remove network info from pods if there is no running container
jsoriano Apr 8, 2021
000b1b9
Revert "Reorder pod terminating check"
jsoriano Apr 8, 2021
955a9de
Add named ports to container events
jsoriano Apr 8, 2021
508314a
Fix ports in tests
jsoriano Apr 8, 2021
815ce4e
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 10, 2021
504d9fe
Reorganize code generating events and their comments
jsoriano Apr 13, 2021
be600aa
Refactor status mapping to use a map and less temporary objects
jsoriano Apr 14, 2021
f015409
Fix some comments
jsoriano Apr 14, 2021
e130a9c
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 14, 2021
de0044f
Adjust tests after merge
jsoriano Apr 14, 2021
729f896
Reverting change on add handler
jsoriano Apr 14, 2021
82c19d8
Remove unneeded code
jsoriano Apr 14, 2021
e28f8d8
Rephrase comment
jsoriano Apr 14, 2021
f3b57d4
Simplify per-port events generation
jsoriano Apr 14, 2021
702e22f
Add comment about CleanupTimeout
jsoriano Apr 14, 2021
3301827
Revert change in data.ports.
jsoriano Apr 15, 2021
964795b
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 15, 2021
c9a3515
Fix filebeat hints
jsoriano Apr 19, 2021
c935db5
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 19, 2021
93995c7
Merge remote-tracking branch 'origin/master' into short-living-pods
jsoriano Apr 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Allow cgroup self-monitoring to see alternate `hostfs` paths {pull}24334[24334]
- Add `expand_keys` to the list of permitted config fields for `decode_json_fields` {24862}[24862]
- Fix 'make setup' instructions for a new beat {pull}24944[24944]
- Fix discovery of short-living and failing pods in Kubernetes autodiscover {issue}22718[22718] {pull}24742[24742]
- Fix inode removal tracking code when files are replaced by files with the same name {pull}25002[25002]
- Fix `mage GenerateCustomBeat` instructions for a new beat {pull}17679[17679]

Expand Down
Loading