kubernetes-sigs/cluster-api
BeforeClusterUpgrade is not called with cp unavailable
開放
#8,942 建立於 2023年6月30日
help wantedkind/bugpriority/backlogtriage/accepted
倉庫指標
- 星標
- (4,267 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
What steps did you take and what happened?
Using ClusterClass we found an unexpected behavior when we try to upgrade the cluster and intercept the BeforeClusterUpgrade hook using RuntimeSDK.
If a ControlPlane isn't in an healthy state the hook doesn't get propagated to the runtime extension, I think this is logically wrong and in contrast with the documentation.
What did you expect to happen?
To receive the BeforeClusterUpgrade request even if the ControlPlanes are unhealthy and manage the problem in the phase of upgrading.
Cluster API version
1.4.2+
Kubernetes version
1.27.2
Anything else you would like to add?
No response
Label(s) to be applied
/kind bug One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.