-
Notifications
You must be signed in to change notification settings - Fork 115
Gangams/add support cri runtime docker env #337
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
Merged
ganga1980
merged 76 commits into
ci_feature
from
gangams/add-support-cri-runtime-docker-env
Mar 24, 2020
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
ac3fe16
trim log tag for cri compatible log lines
ganga1980 2f7673d
fix variable declaration
ganga1980 8756d77
debug log messages
ganga1980 3c1a347
trim spaces
ganga1980 eb89239
remove debug logs
ganga1980 54a99f2
fix build error
ganga1980 c2f6609
add pods api in cadvisor
ganga1980 1eb2e0a
wip
ganga1980 d647a41
wip
ganga1980 9356843
wip
ganga1980 6cf3e50
wip
ganga1980 358513f
fix bug
ganga1980 8f41eb2
fix bug
ganga1980 889a37d
fix bug with end
ganga1980 fbeb65c
fix bug in the reference
ganga1980 6ca9881
fix bug
ganga1980 3798163
fix telemetry
ganga1980 df95276
fix image and imageid bug
ganga1980 fff4351
fix containerid bug
ganga1980 40a915d
fix envvars
ganga1980 cdaa9e8
fix syntax error
ganga1980 f17dd91
fix syntax error
ganga1980 50404aa
fix env and command
ganga1980 8bf65cc
handle labels and annotation fieldref as envs
ganga1980 809bf77
wip
ganga1980 99fa994
implement obtain envvars
ganga1980 6f70046
refactor the code
ganga1980 a704ac4
fix log warn
ganga1980 e0905d3
add more logging
ganga1980 264aa31
fix npe
ganga1980 c218c19
revert kubelet api to get the envvars
ganga1980 977b0fe
fix minor issue
ganga1980 e785c4a
fix log message
ganga1980 f0a5f2c
comment valueFrom for now since this causing some issue
ganga1980 7d40af1
fix formatting issue
ganga1980 13bc75d
fix bug
ganga1980 d5ff077
add resourcefieldref support in env
ganga1980 fca1ce5
include init containers as well
ganga1980 765d352
fix bug
ganga1980 73b694a
fix typo
ganga1980 7f00a87
use chomp instead of delete_suffix
ganga1980 c95a457
add secretkeyref support
ganga1980 03796ae
add secretkeyref support
ganga1980 aa912b0
fix bug
ganga1980 213adac
handle dockerversion for non-docker runtimes
ganga1980 bf43eda
Merge branch 'ci_feature' into gangams/add-support-cri-runtime
ganga1980 94b589f
fix comment
ganga1980 3b45208
Merge branch 'ci_feature' into gangams/add-support-cri-runtime
ganga1980 10aac9e
handle kubelet metrics to handle runtime and k8s versions
ganga1980 8a114d1
remove _total metrics until we support 1.18
ganga1980 06a51cf
fetch envvars via proc environ
ganga1980 a06d5c3
fix undefined vars
ganga1980 b2ea71a
fix undefined vars
ganga1980 6d145a6
add init containers
ganga1980 fcb47e5
split on null character
ganga1980 69c945c
consider crio containers main proceses for envvars
ganga1980 44b7374
unschedule pods or containers with pull issues
ganga1980 195a919
fix issue
ganga1980 ed364dd
fix feedback
ganga1980 3a5d0ec
update to azmon parsers
ganga1980 7ad5800
fix file extension
ganga1980 0c9ca6d
add some debug messages
ganga1980 fcdd967
fix timestamp issue
ganga1980 afec656
fix pr feedback
ganga1980 7cdbb52
refactor linux containerenvvars code
ganga1980 2c27992
refactor windows container inventory code
ganga1980 4239966
fix rb file load error from in_kube_node inventory
ganga1980 d8b339f
add new rb file base_container.data
ganga1980 46ce174
turnoff docker container inventory
ganga1980 1e9da62
cleanup debug logs
ganga1980 e24e84f
fix npe in log message
ganga1980 545a6ff
avoid environ for terminated containers
ganga1980 55fcc4b
Merge branch 'ci_feature' into gangams/add-support-cri-runtime-docker…
ganga1980 393f843
fix pr feedback
ganga1980 b846532
remove empty file
ganga1980 77f6ae3
clean up debug logs
ganga1980 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| [PARSER] | ||
| Name docker | ||
| Format json | ||
| Time_Key time | ||
| Time_Format %Y-%m-%dT%H:%M:%S.%L | ||
| Time_Keep On | ||
| # Command | Decoder | Field | Optional Action | ||
| # =============|==================|================= | ||
| Decode_Field_As escaped log | ||
|
|
||
| [PARSER] | ||
| # http://rubular.com/r/tjUt3Awgg4 | ||
| Name cri | ||
ganga1980 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Format regex | ||
| Regex ^(?<time>[^ ]+) (?<stream>stdout|stderr) (?<logtag>[^ ]*) (?<log>.*)$ | ||
| Time_Key time | ||
| Time_Format %Y-%m-%dT%H:%M:%S.%L | ||
| Time_Keep On | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.