-
Notifications
You must be signed in to change notification settings - Fork 561
Put /var/lib/docker under /mnt? #1307
Comments
This should be configurable indeed, it makes sense to use the ephemeral disk in many cases. |
|
Why is that a problem? Kubernetes will download images again if they are missing from /var/lib/docker after the temporary storage is lost. There is another, related, issue: #543 |
This sounds reasonable, only run one command in the agent VM setup would work:
|
Hi, So I did a quick test by creating the suggested above symlink before running the agents provisioning scripts, like this
At first glance seemed to work fine, all docker stuff went to
I also noticed that there is some typos into the kubernetes error descriptions |
Yes, please... |
I tried the same thing as @snebel29 but by adding
|
It seems I fixed it by doing |
It seems it's just error message typo and seems to be happening because following commit is on ACS production: https://github.com/kubernetes/kubernetes/pull/43368/files Also it turned out It seems because app container is starting with "ResolvConfPath": "/mnt/docker/containers/ec149c9b9ee41438742704bd7cd00f15ed06ed1375ac37676b1ba6f35ec4750e/resolv.conf" but there's no resolv.conf there.. I tried replacing following in
to
but it didn't help. I've ended reverting back to /var/lib/docker |
@sheerun I got the fix, on every node: 1.
2.
3.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. Note that acs-engine is deprecated--see https://github.com/Azure/aks-engine instead. |
Is this a request for help?: No
Is this an ISSUE or FEATURE REQUEST? (choose one): Issue
What version of acs-engine?: Master
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes, 1.7.2
What happened:
I used instances with 120G of advertised space for my agent nodes, since I expect to have a lot of heavy containers in my agents. However, it looks like /var/lib/docker is only on rootfs, which is only 30G. The bigger /120G partition is unused
What you expected to happen:
/var/lib/docker is able to use up more of the ephemeral disk space
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: