• Kubernetes Submit Queue's avatar
    Merge pull request #60291 from hzxuzhonghu/cloud-cm-use-healthz · b8c5bcf4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 60376, 55584, 60358, 54631, 60291). 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>.
    
    cloud-controller-manager get /healthz to wait for apiserver to be healthy
    
    **What this PR does / why we need it**:
    
    currently cloud-controller-manager use `restclient.ServerAPIVersions()` to wait for apiserver to be healthy.
    Remove ServerAPIVersions and make use of /healthz as all other components do.
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #60288
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    b8c5bcf4
Name
Last commit
Last update
..
config Loading commit data...
options Loading commit data...
BUILD Loading commit data...
controllermanager.go Loading commit data...