Files
kubernetes/pkg
Kubernetes Submit Queue 6a7135b003 Merge pull request #60625 from andyzhangx/azurefile-remount
Automatic merge from submit-queue (batch tested with PRs 60623, 60625, 60520). 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>.

fix azure file plugin failure issue on Windows after node restart

**What this PR does / why we need it**:
azure file plugin on Windows does not work after node restart, this is due to New-SmbGlobalMapping powershell cmdlet has lost account name/key after reboot, we should remove the invalid link and do the mount again after kubelet restart.
add remount logic for azure file plugin in this PR

**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 #60624

**Special notes for your reviewer**:

**Release note**:

```
fix azure file plugin failure issue on Windows after node restart
```
/sig azure
/sig windows
/assign @karataliu 
@feiskyer  pls mark this PR as v1.10 milestone, thanks
2018-03-01 09:03:49 -08:00
..
2018-02-23 16:50:43 -05:00
2018-02-16 13:43:01 -08:00
2018-02-26 17:16:14 -08:00
2018-02-27 21:21:14 -08:00
2018-02-16 13:43:01 -08:00
2018-02-12 10:54:33 -05:00
2018-02-16 13:43:01 -08:00
2018-01-15 23:17:19 +08:00
2018-02-21 13:08:11 +01:00