mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
Add KubeletMinVersion:1.36 label to DRA extended resource tests
This prevents the DRA extended resource tests from running against kubelets older than 1.36 in n-x version skew jobs, avoiding failures when deploying device plugins on downgraded kubelets.
This commit is contained in:
@@ -2237,7 +2237,7 @@ var _ = framework.SIGDescribe("node")(framework.WithLabel("DRA"), func() {
|
||||
}).WithTimeout(time.Minute).Should(gomega.BeTrueBecause("extended resource claim should be automatically deleted when pod %s", cleanupMessage))
|
||||
}
|
||||
|
||||
framework.Context(f.WithFeatureGate(features.DRAExtendedResource), feature.DynamicResourceAllocation, func() {
|
||||
framework.Context(f.WithFeatureGate(features.DRAExtendedResource), feature.DynamicResourceAllocation, f.WithLabel("KubeletMinVersion:1.36"), func() {
|
||||
nodes := drautils.NewNodes(f, 1, 1)
|
||||
driver := drautils.NewDriver(f, nodes, drautils.NetworkResources(10, false))
|
||||
b := drautils.NewBuilder(f, driver)
|
||||
@@ -2674,7 +2674,7 @@ var _ = framework.SIGDescribe("node")(framework.WithLabel("DRA"), func() {
|
||||
})
|
||||
})
|
||||
|
||||
framework.Context(f.WithFeatureGate(features.DRAExtendedResource), feature.DynamicResourceAllocation, func() {
|
||||
framework.Context(f.WithFeatureGate(features.DRAExtendedResource), feature.DynamicResourceAllocation, f.WithLabel("KubeletMinVersion:1.36"), func() {
|
||||
nodes := drautils.NewNodes(f, 2, 2)
|
||||
nodes.NumReservedNodes = 1
|
||||
driver := drautils.NewDriver(f, nodes, drautils.NetworkResources(2, false))
|
||||
|
||||
Reference in New Issue
Block a user