-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for overlay2 Docker storage driver #2906
Comments
See also kubernetes/minikube#1380 |
@kaazoo overlay2 is not recommended in the current docker version (< 1.13) https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#external-dependency-version-information |
If docker 1.13 lands in k8s 1.7 then this will be blocked by #2715 but based on kubernetes/kubernetes#42926 (comment) this may have to wait for a later release. |
K8s 1.7 is not running docker err Moby 1.13. Still on 1.12 |
@kaazoo i'm not sure kops/upup/pkg/fi/nodeup/command.go Line 356 in 8fb99a8
kernelHasFilesystem .
fwiw here's the
|
@imsky Thanks for the feedback! I was able to set the following in the cluster config via 'kops edit cluster':
OverlayFS 2 is now used for Docker:
By the way, I installed 'kernel-lt' package from the 'elrepo' Yum repository for CentOS 7, as you need kernel 4.x for OverlayFS 2. |
Can we close this? |
Note for Googlers: #4899 is now open for supporting overlay2 and possibly making it the default in Kops 1.10. |
The Docker documentation recommends OverlayFS 2 (overlay2) instead of OverlayFS (overlay):
https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/
It seems like Kops always configures Docker for overlay, even if you set overlay2, see
kops/upup/pkg/fi/nodeup/command.go
Line 356 in 8fb99a8
The text was updated successfully, but these errors were encountered: