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

tests: small fixups for the GENEVE-DSR e2e tests #25062

Merged
merged 2 commits into from
Apr 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/k8s/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,20 +577,20 @@ Secondary Interface %s :: IPv4: (%s, %s), IPv6: (%s, %s)`,
"loadBalancer.dsrDispatch": "geneve",
"devices": fmt.Sprintf(`'{}'`), // Revert back to auto-detection after XDP.
})
testNodePortExternal(kubectl, ni, false, true, false)
testNodePortExternal(kubectl, ni, false, true, true)
})

It("Tests with TC, geneve tunnel and dsr", func() {
It("Tests with TC, geneve tunnel, dsr and Maglev", func() {
DeployCiliumOptionsAndDNS(kubectl, ciliumFilename, map[string]string{
"loadBalancer.acceleration": "disabled",
"loadBalancer.mode": "dsr",
"loadBalancer.algorithm": "maglev",
"maglev.tableSize": "251",
"routingMode": "native",
"tunnelProtocol": "geneve",
"loadBalancer.dsrDispatch": "geneve",
"devices": fmt.Sprintf(`'{}'`), // Revert back to auto-detection after XDP.
})
testNodePortExternal(kubectl, ni, false, true, false)
testNodePortExternal(kubectl, ni, false, true, true)
})

// Run on net-next and 4.19 but not on old versions, because of
Expand Down