Merge pull request #8368 from rifelpet/file-warning

Add a warning when using file:// state store
This commit is contained in:
Kubernetes Prow Robot 2020-01-17 15:26:09 -08:00 committed by GitHub
commit 412ed66f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ func (f *Factory) Clientset() (simple.Clientset, error) {
f.clientset = vfsclientset.NewVFSClientset(basePath, allowVFSList)
}
if strings.HasPrefix(registryPath, "file://") {
klog.Warning("The local filesystem state store is not functional for running clusters")
}
}
return f.clientset, nil