Skip to content

test: update e2e config to match evictionHard default value to 100Mi#6094

Merged
bravebeaver merged 3 commits intomasterfrom
beileih/kubeReserved750
Mar 28, 2025
Merged

test: update e2e config to match evictionHard default value to 100Mi#6094
bravebeaver merged 3 commits intomasterfrom
beileih/kubeReserved750

Conversation

@bravebeaver
Copy link
Member

What type of PR is this?
/kind test

What this PR does / why we need it:

after k8s 1.29 the evictionHard is set to 100Mi by default

https://learn.microsoft.com/en-us/azure/aks/node-resource-reservations

the PR update the default node config in e2e test to match the default, so that the node created are closer to real life.

Requirements:

Special notes for your reviewer:

Release note:

none

ResolvConf: "/run/systemd/resolve/resolv.conf",
EvictionHard: map[string]string{
"memory.available": "750Mi",
"memory.available": "100Mi",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to pull this from the "official" value used by AB so we know they're always aligned?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

No changes to cached containers or packages on Windows VHDs

@bravebeaver bravebeaver merged commit 753a15e into master Mar 28, 2025
14 of 17 checks passed
@bravebeaver bravebeaver deleted the beileih/kubeReserved750 branch March 28, 2025 05:55
@ganeshkumarashok
Copy link
Contributor

Looks like the e2e had actually failed in this PR itself: Test_Ubuntu2204VanillaK8S129EvictionThreshold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants