bhouse-nexthop commented on PR #14651: URL: https://github.com/apache/cloudstack/pull/14651#issuecomment-7228331659
@winterhazel thanks, these are good. I went through all of them and I'm keeping them all, including the two you flagged: | Commit | Notes | | --- | --- | | 6b879c07 user.conf monitoring | Keeping it. One issue, fixed in 655eb6c3 (below) | | a42dcf7a best effort kubeconfig refresh | Agreed. The certificates are renewed at that point, the old kubeconfig is still signed by the same CA, and the next check refreshes a stale one anyway. Moving the cluster to Alert for that was too much | | 39d8f2a0, fe478b8f, 6661bae3 ownership guards | Agreed. The recovery path that takes the cluster over already records the failure and alerts, so nothing goes unreported | | e7cc9257 re-check before failing | Agreed | | c09be442 node add/remove state check | Matches the state machine (only Running and Alert have those transitions); now it fails up front with a clear message | | 5a8f881f legacy control node fallback | Agreed, filtering is better than assuming etcd nodes have the lowest IDs | | d1d3f508, 09c8d78e, 23aeb464, 35075a24, 497df46e | Agreed | | UI commits | Look fine. The rotate action shows only in Running and Alert, the same states the API accepts | The issue with 6b879c07: the user.conf entry was included in `getFirstLeafExpiry()`, so once it was the first leaf to expire it took over the control plane alert. If an operator leaves an expired user.conf in place, the apiserver and other kubeadm certificates are never alerted on, and with auto-renew off nothing renews them either. 655eb6c3 keeps user.conf out of the first leaf picks and gives it its own alert state (`userKubeConfigExpiryAlert`), with a test for that case. The kubernetes-service unit tests pass (149). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
