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

Bump up npd version to v0.4.1 #47892

Merged
merged 1 commit into from
Jun 24, 2017
Merged

Conversation

ajitak
Copy link
Contributor

@ajitak ajitak commented Jun 22, 2017

Bump up npd version to v0.4.1

Fixes #47219

@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-label-needed labels Jun 22, 2017
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 22, 2017
@ajitak
Copy link
Contributor Author

ajitak commented Jun 22, 2017

/assign @Random-Liu

@Random-Liu
Copy link
Member

@ajitak Do you expect NPD to start the docker monitor? If so, you also need to pass in the docker monitor config. https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/node-problem-detector/npd.yaml#L51

@ajitak
Copy link
Contributor Author

ajitak commented Jun 22, 2017

@Random-Liu updated yaml to pass docker monitor config.

@Random-Liu
Copy link
Member

Random-Liu commented Jun 22, 2017

@ajitak We should think about this more...

Maybe we should only enable this on gci, because log parsing introduces extra overhead, especially when the log is quite spammy. Docker log may be quite spammy if the log level is too low, I'm not sure whether we want to enable docker log parsing everywhere by default.

Maybe only enable on gci and only for standalone mode which is used by GKE? https://github.com/kubernetes/kubernetes/blob/master/cluster/gce/gci/configure-helper.sh#L977

/cc @dchen1107 WDYT?

@Random-Liu Random-Liu added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-label-needed labels Jun 23, 2017
@Random-Liu Random-Liu added this to the v1.7 milestone Jun 23, 2017
@Random-Liu
Copy link
Member

Fixes #47219.

@kubernetes/kubernetes-release-managers This helps fix a 1.7 issue.

@dchen1107
Copy link
Member

The memory overhead looks ok by design based on the data published at: kubernetes/node-problem-detector#85 (comment)
since the new change in new NPD image only introduce a new goroutine for docker logs, and by design we bound the memory per goroutine.

@ajitak Can you check the log level of that docker image corruption issue at docker log? If the docker level is info, not warning or above, the new config in NPD doesn't help the production.

@dchen1107 dchen1107 assigned dchen1107 and unassigned tmrts Jun 23, 2017
@ajitak
Copy link
Contributor Author

ajitak commented Jun 23, 2017

@dchen1107 log level of docker image corruption issue at docker log is error.

@dchen1107
Copy link
Member

Great!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 23, 2017
@Random-Liu
Copy link
Member

Offline discussed with @dchen1107 and @ajitak. The extra resource overhead should be fine based on kubernetes/node-problem-detector#85 (comment).

We should pay attention to the node resource usage after this PR to make sure the docker log parsing doesn't introduce too much overhead.

@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ajitak, dchen1107

Associated issue: 47219

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 47993, 47892, 47591, 47469, 47845)

@k8s-github-robot k8s-github-robot merged commit 14edc46 into kubernetes:master Jun 24, 2017
@Random-Liu
Copy link
Member

@ajitak ajitak deleted the npd-config branch June 26, 2017 17:40
@dchen1107 dchen1107 added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Jun 28, 2017
caesarxuchao added a commit that referenced this pull request Jun 29, 2017
…-upstream-release-1.7

Automated cherry pick of #47892
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.7" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants