mirror of https://github.com/k3s-io/k3s
dd4f84f7f5
Automatic merge from submit-queue (batch tested with PRs 56308, 54304, 56364, 56388, 55853). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Send events on certain service repair controller errors **What this PR does / why we need it**: This PR enables sending events when the api-server service IP and port allocator repair controllers find an error repairing a cluster ip or a port respectively. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #54303 **Special notes for your reviewer**: In case of an error, events will be emitted [every 3 minutes](https://github.com/kubernetes/kubernetes/blob/master/pkg/master/controller.go#L93) for each failed Service. Even so, event spam protection has been merged (#47367) to mitigate the risk of excessive events. **Release note**: ```release-note api-server provides specific events when unable to repair a service cluster ip or node port ``` |
||
---|---|---|
.. | ||
controller/crdregistration | ||
ports | ||
reconcilers | ||
tunneler | ||
BUILD | ||
OWNERS | ||
client_ca_hook.go | ||
client_ca_hook_test.go | ||
controller.go | ||
controller_test.go | ||
doc.go | ||
import_known_versions.go | ||
import_known_versions_test.go | ||
master.go | ||
master_openapi_test.go | ||
master_test.go | ||
services.go |