-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
avoid tempfiles cleanup collision #1054
avoid tempfiles cleanup collision #1054
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
&& mkdir -p /etc/kubernetes/manifests | ||
&& mkdir -p /etc/kubernetes/manifests \ | ||
&& echo "Adjusting systemd-tmpfiles timer" \ | ||
&& sed -i /usr/lib/systemd/system/systemd-tmpfiles-clean.timer -e 's#OnBootSec=.*#OnBootSec=1min#' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default is 15m after boot and then every 24 hours.
for now just moving it to 1m after boot which imo makes more sense for kind nodes which generally live on a compressed times cale, and leaving the 24 hours alone.
the real fix is hopefully in the /var/tmp change 🙃
@@ -43,7 +43,7 @@ import ( | |||
const DefaultImage = "kindest/node:latest" | |||
|
|||
// DefaultBaseImage is the default base image used | |||
const DefaultBaseImage = "kindest/base:v20191030-ae10d883@sha256:bccb2ad3686a11ea920b5eaf701b252166affa3c3362e38c549374f1e467ae80" | |||
const DefaultBaseImage = "kindest/base:v20191105-ee880e9b@sha256:f4c7c8ac0d387a18ba0bd2756b17551102b7322497796e3ad3f366c3e67c01d2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
built with the base image dockerfile tweak above
/lgtm |
... with exporting logs 🙃
fixes #999