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
[kubernetes] Ingest k8s events + limits and requests metrics #2551
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
30279a0
Fetch events from k8s API, small Kubeutil refactory, tests
7fd85f4
conditionally execute events fetching
beecadd
do not filter events by pod anymore
ccbba19
explicit the default value
4d54479
[skip ci] comment the default value
42c0507
fixed tests
e024215
wip
4c7b121
fixed tests according to new fixtures
c612a72
small fix
15f0912
fixed tests
358a916
compile regex that is used multiple times
3be72e3
better logs and docs
3d020e8
dont do anything before we decide to skip or not
04e46be
remove overly verbose debug log
4f7c4c1
avoid logging auth token
bd54009
added notes on unused methods
6f770a4
[ci skip] fix boolean values syntax in the yaml file
fa37f26
calm down the logger in case limits were not set
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this going to parse eg. 500m as 500 instead of 0.5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: the Kubernetes code dealing with quantities lives in
https://github.com/kubernetes/kubernetes/blob/master/pkg/api/resource/quantity.go
https://github.com/kubernetes/kubernetes/blob/master/pkg/api/resource/suffix.go