`sync` system call triggers a full page cache sync which may not always work, especially in kubernetes environment where it is easy to be interfered by others. I have seen several cases where a broken nfs mount is blocking kaniko from doing its job. With `syncfs`, it only writes cache back to disk for the current filesystem that is used by kaniko which is supposed to be more reliable. |
||
|---|---|---|
| .. | ||
| buildcontext | ||
| cache | ||
| commands | ||
| config | ||
| constants | ||
| creds | ||
| dockerfile | ||
| executor | ||
| fakes | ||
| filesystem | ||
| image | ||
| logging | ||
| mocks/go-containerregistry/mockv1 | ||
| snapshot | ||
| timing | ||
| util | ||
| version | ||