-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
I compiled and tested the PR: step1: make a new dir
step2: unmout the
step3: describe the PV and find it is marked
step4: delete the dir
|
e4974b6
to
9387f51
Compare
Add label/selector for monitor
9387f51
to
0433041
Compare
/assign |
} | ||
|
||
// checkStatus checks pv health condition | ||
func (monitor *Monitor) checkStatus(pv *v1.PersistentVolume) { |
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.
Do we need to use fsck
or smartctl
to check the disk healthy?
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.
yes, this is just a simple demo, lots of extra work needs to be done for local pv monitor.
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.
and i am updating the proposal now, will send it out when ready
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.
@NickrenREN Thanks. Looking forward to the Proposal.
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
First commit: add monitor for local storage PVs.
The specific checking methods meed to be discussed more.
This one checks mount point, host dir and capacity.
xref : pv health monitoring proposal
TODOs:
cc @ddysher @msau42