• Kubernetes Submit Queue's avatar
    Merge pull request #54304 from frodenas/repair-events · dd4f84f7
    Kubernetes Submit Queue authored
    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
    ```
    dd4f84f7
Name
Last commit
Last update
..
controller/crdregistration Loading commit data...
ports Loading commit data...
reconcilers Loading commit data...
tunneler Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
client_ca_hook.go Loading commit data...
client_ca_hook_test.go Loading commit data...
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...
import_known_versions.go Loading commit data...
import_known_versions_test.go Loading commit data...
master.go Loading commit data...
master_openapi_test.go Loading commit data...
master_test.go Loading commit data...
services.go Loading commit data...