• Kubernetes Submit Queue's avatar
    Merge pull request #39279 from andrewsykim/kubectl-get-hpa-show-current-replicas · 97214595
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 35782, 35831, 39279, 40853, 40867)
    
    kubectl get hpa should print number of replicas
    
    **What this PR does / why we need it**:
    Prints number of replicas on deployment managed by HPA. 
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    None, couldn't find one related.
    
    **Special notes for your reviewer**:
    Couldn't find any tests for validating kubectl output for hpa, if there are please point me to them and I will add. 
    
    **Release note**:
    
    ```release-note
    ```
    97214595
resource_printer.go 83.4 KB