Skip to content

Add more descriptive Message to DrainingFailedReason and DrainingReason #10056

@adilGhaffarDev

Description

@adilGhaffarDev

What would you like to be added (User Story)?

As a user/operator when draining I would like to have more descriptive message in the machine status.

Detailed Description

In DrainingReason we can show in the message which pod is being evicted right now we are getting this information from the callback OnPodDeletionOrEvictionStarted and similarly when draining fails we can also get the information of failed to evict pod from OnPodDeletionOrEvictionFinished.

Anything else you would like to add?

Right now we show information regarding evicted pod in the machine controller logs using OnPodDeletedOrEvicted callback. Showing more info in the status using other callbacks(OnPodDeletionOrEvictionStarted and OnPodDeletionOrEvictionFinished) will help end user more, checking logs is bit cumbersome.

Label(s) to be applied

/kind feature

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions