-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
area/runtime-sdkIssues or PRs related to Runtime SDKIssues or PRs related to Runtime SDKhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
Details:
This issue is to discuss how to surface that a cluster deletion is blocked when the BeforeClusterDelete
hook blocks the deletion of a process with a blocking response.
We have 2 options:
-
Use
TopologyReconciled
condition - Since only managed clusters are affected byBeforeClusterDelete
hook we can use theTopologyReconciled
condition to surface if a cluster deletion is blocked. Reason will beLifecycleHookBlocking
. This will be consistent with how the other lifecycle hook blocking cases are surfaced. -
Use a separate condition - Since
TopologyReconciled
condition reflects if the underlying objects reflect the topology spec of the cluster using it for delete might be deviating from it purpose.
Some additional concerns:
- How should the condition be updated after deletion is unblocked and the cluster is in the process of deleting the objects?
- Which controller owns this condition?
/area runtime-sdk
Metadata
Metadata
Assignees
Labels
area/runtime-sdkIssues or PRs related to Runtime SDKIssues or PRs related to Runtime SDKhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.