Skip to content
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

localkube.err should not fill up entire disk #700

Closed
jezell opened this issue Oct 17, 2016 · 2 comments
Closed

localkube.err should not fill up entire disk #700

jezell opened this issue Oct 17, 2016 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@jezell
Copy link

jezell commented Oct 17, 2016

Minikube version (use minikube version):
v0.11.0

Environment:

  • OS (e.g. from /etc/os-release):
    OSX
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName):
    xhyve
  • Docker version (e.g. docker -v):
    Client:
    Version: 1.12.1
    API version: 1.23
    Go version: go1.7
    Git commit: 23cf638
    Built: Thu Aug 18 22:32:50 UTC 2016
    OS/Arch: darwin/amd64

Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: linux/amd64

  • Install tools:
  • Others:

What happened:
/mnt/sda1/var/lib/localkube/localkube.err grows until it consumes all available disk space

What you expected to happen:
limit disk space used by logs to a reasonable amount possibly via log rotation

How to reproduce it (as minimally and precisely as possible):
run minikube for a few days

Anything else do we need to know:

@r2d4 r2d4 added kind/bug Categorizes issue or PR as related to a bug. localkube labels Oct 17, 2016
@dlorenc
Copy link
Contributor

dlorenc commented Oct 17, 2016

Thanks! Yeah, we could set this up using systemd once we fix #571

@aaron-prindle
Copy link
Contributor

Closing, Minikube now uses systemd which has built in log rotation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants