k3s/pkg/kubelet/kubeletconfig
Kubernetes Submit Queue d8847a8f1d Merge pull request #52119 from mtaufen/sync-files
Automatic merge from submit-queue

fsync config checkpoint files after writing

@yujuhong brought up that it's possible for a hard reboot to result in empty checkpoint files, if they haven't been synced to disk yet. This PR ensures that Kubelet configuration checkpoints are synced after writing to avoid this issue.

fixes #52222

**Release note**:
```release-note
NONE
```
2017-09-12 05:41:25 -07:00
..
checkpoint Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
configfiles Refactoring for filesystem mock move 2017-08-28 16:17:15 -07:00
status Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
util fsync config checkpoint files after writing 2017-09-07 14:42:18 -07:00
BUILD Refactoring for filesystem mock move 2017-08-28 16:17:15 -07:00
OWNERS Dynamic Kubelet Configuration 2017-08-08 12:21:37 -07:00
configsync.go Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
controller.go Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
rollback.go Remove crash loop detection from the dynamic kubelet config feature 2017-08-22 12:37:22 -07:00
watch.go Dynamic Kubelet Configuration 2017-08-08 12:21:37 -07:00