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

remove stale OutOfDisk condition from kubelet side #72507

Merged
merged 1 commit into from
Jan 19, 2019

Conversation

dixudx
Copy link
Member

@dixudx dixudx commented Jan 3, 2019

What type of PR is this?
Remove stale node condition OutOfDisk

What this PR does / why we need it:

Node condition OutOfDisk has been removed starting from v1.13

A 1.12 kubelet upgraded to a 1.13 kubelet leaves the previously reported OutOfDisk condition in place, and it eventually gets switched to Unknown status.

We should cherry pick this to v1.13.

Which issue(s) this PR fixes:

Fixes #72485

Special notes for your reviewer:
/cc liggitt resouer
/cc kubernetes/sig-node-bugs

Does this PR introduce a user-facing change?:

remove stale OutOfDisk condition from kubelet side

Signed-off-by: stephen.xd@alibaba-inc.com

@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jan 3, 2019
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/kubelet sig/node Categorizes an issue or PR as relevant to SIG Node. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Jan 3, 2019
@changyaowei
Copy link
Contributor

LGTM

@dixudx
Copy link
Member Author

dixudx commented Jan 3, 2019

/retest

@zhangxiaoyu-zidif
Copy link
Contributor

/test pull-kubernetes-local-e2e-containerized

1 similar comment
@zhangxiaoyu-zidif
Copy link
Contributor

/test pull-kubernetes-local-e2e-containerized

pkg/kubelet/kubelet_node_status.go Outdated Show resolved Hide resolved
pkg/kubelet/kubelet_node_status.go Outdated Show resolved Hide resolved
Copy link
Contributor

@resouer resouer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do need a test to verify the change @dixudx

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 6, 2019
@dixudx
Copy link
Member Author

dixudx commented Jan 7, 2019

Flaky tests here. Will retest it when the CI becomes happy.

@liggitt
Copy link
Member

liggitt commented Jan 7, 2019

looks good to me structurally

will leave to @kubernetes/sig-node-pr-reviews for lgtm/approval

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 7, 2019
@vikaschoudhary16
Copy link
Contributor

/lgtm

@dixudx
Copy link
Member Author

dixudx commented Jan 9, 2019

/retest

1 similar comment
@dixudx
Copy link
Member Author

dixudx commented Jan 13, 2019

/retest

@dixudx
Copy link
Member Author

dixudx commented Jan 18, 2019

ping @kubernetes/sig-node-pr-reviews for approval. Thanks.

@yujuhong
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dixudx, yujuhong

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 19, 2019
@dixudx
Copy link
Member Author

dixudx commented Jan 19, 2019

/priority important-soon
/kind cleanup

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Jan 19, 2019
@k8s-ci-robot k8s-ci-robot merged commit cb09d4d into kubernetes:master Jan 19, 2019
@dixudx dixudx deleted the remove_stale_OutOfDisk branch January 19, 2019 03:26
rfranzke added a commit to gardener/gardener that referenced this pull request Feb 1, 2019
References:
- gardener/machine-controller-manager#214
- kubernetes/kubernetes#72507

```improvement operator
The shoot care controller does now remove stale `OutOfDisk` node conditions for 1.13 clusters. See kubernetes/kubernetes#72507 for more details.
```
k8s-ci-robot added a commit that referenced this pull request Feb 23, 2019
…507-upstream-release-1.13

Automated cherry pick of #72507: remove stale OutOfDisk condition from kubelet side
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. area/kubelet cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/node Categorizes an issue or PR as relevant to SIG Node. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.12 kubelet upgraded to 1.13 leaves stale OutOfDisk condition
9 participants