• Kubernetes Submit Queue's avatar
    Merge pull request #58415 from gnufied/fix-volume-resize-messages · 4bd22b54
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 52942, 58415). 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>.
    
    Improve messaging on volume expansion
    
    - we now provide clear message to user what to do when cloudprovider resizing is finished
      and file system resizing is needed.
    - add a event when resizing is successful
    - Use PATCH both in controller-manager and kubelet for updating PVC status
    - Remove code duplication between controller-manager and kubelet for updating PVC status
    - Only remove conditions that are managed by resize controller
    
    
    
    ```release-note
    Improve messages user gets during and after volume resizing is done.
    ```
    4bd22b54
expand_controller.go 9.05 KB