-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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
Update NPD config for GCI #65342
Update NPD config for GCI #65342
Conversation
/release-note-none |
echo "Using node problem detector binary at ${npd_bin}" | ||
local flags="${NPD_TEST_LOG_LEVEL:-"--v=2"} ${NPD_TEST_ARGS:-}" | ||
flags+=" --logtostderr" | ||
flags+=" --system-log-monitors=${km_config},${dm_config}" | ||
flags+=" --custom-plugin-monitors=${custom_km_config}" |
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.
Let's still add the EXTRA ARG for extensibility.
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.
done
a05a69f
to
f3f9e0a
Compare
/retest |
/restest |
/retest |
/lgtm |
/assign @dchen1107 |
/unassign @dchen1107 |
@@ -1181,13 +1181,18 @@ function start-node-problem-detector { | |||
local -r km_config="${KUBE_HOME}/node-problem-detector/config/kernel-monitor.json" | |||
# TODO(random-liu): Handle this for alternative container runtime. | |||
local -r dm_config="${KUBE_HOME}/node-problem-detector/config/docker-monitor.json" | |||
local -r custom_km_config="${KUBE_HOME}/node-problem-detector/config/kernel-monitor-counter.json" |
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.
How is this file included in the release? Doesn't it need change to Bazel rules?
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.
It is part of the NPD release tarball.
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.
So it is added by the change in the NPD version.
/approve
/lgtm
…On Tue, Jun 26, 2018 at 10:22 AM David Ashpole ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In cluster/gce/gci/configure-helper.sh
<#65342 (comment)>
:
> @@ -1181,13 +1181,18 @@ function start-node-problem-detector {
local -r km_config="${KUBE_HOME}/node-problem-detector/config/kernel-monitor.json"
# TODO(random-liu): Handle this for alternative container runtime.
local -r dm_config="${KUBE_HOME}/node-problem-detector/config/docker-monitor.json"
+ local -r custom_km_config="${KUBE_HOME}/node-problem-detector/config/kernel-monitor-counter.json"
So it is added by the change in the NPD version.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#65342 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGvIKMS-N8yyLwU30f-e1tEA1_nVk1fqks5uAm28gaJpZM4Uy5OI>
.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dashpole, Random-Liu, vishh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Automatic merge from submit-queue (batch tested with PRs 65342, 65460). If you want to cherry-pick this change to another branch, please follow the instructions here. |
@geekgonecrazy 1.9.10, 1.10.6, 1.11.1, 1.12.0 |
@dashpole perfect! Thanks for your response! |
What this PR does / why we need it:
Use kubernetes/node-problem-detector#180 on GCI
Special notes for your reviewer:
This is currently pending an NPD release.
Release note:
/assign @Random-Liu
/sig node
/kind feature
/priority important-soon