Skip to content

Adapt eviction settings #3

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

Merged
merged 1 commit into from
Aug 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions k3d-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,18 @@ options:
- arg: --disable-default-registry-endpoint
nodeFilters:
- all
# These parameters override the default settings for the available storage because they are percentage based by default and often not a good fit for local development.
# When setting one of the settings all others will be defaulted to 0 which is why we list them all
# https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/
- arg: --kubelet-arg=eviction-hard=nodefs.available<5Gi,imagefs.available<5Gi,memory.available<500Mi,nodefs.inodesFree<5%,imagefs.inodesFree<5%
nodeFilters:
- server:*
- agent:*
- arg: --kubelet-arg=eviction-soft=nodefs.available<10Gi,imagefs.available<10Gi,memory.available<1Gi
nodeFilters:
- server:*
- agent:*
- arg: --kubelet-arg=eviction-soft-grace-period=nodefs.available=2m,imagefs.available=2m,memory.available=30s
nodeFilters:
- server:*
- agent:*