Wilfred Spiegelenburg created YUNIKORN-3294:
-----------------------------------------------
Summary: K8s 1.36: e2e test InPlacePodVerticalScaling fails
Key: YUNIKORN-3294
URL: https://issues.apache.org/jira/browse/YUNIKORN-3294
Project: Apache YuniKorn
Issue Type: Bug
Components: test - e2e
Affects Versions: 1.9.0
Reporter: Wilfred Spiegelenburg
Things have changed in K8s 1.36, feature gates removed which we had turned on.
Specifically around pod scaling. When running e2e test against a K8s 1.36 this
test fails:
{code:java}
InPlacePodVerticalScaling Pod resources(cpu/memory) resize to excessive values
should fail
/Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-k8shim/test/e2e/pod_resource_scaling/pod_resource_scaling_test.go:178
[FAILED] in [It] -
/Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-k8shim/test/e2e/pod_resource_scaling/pod_resource_scaling_test.go:203
@ 06/03/26 12:22:37.256
STEP: Killing all pods @ 06/03/26 12:22:37.256
• [FAILED] [5.242 seconds]
InPlacePodVerticalScaling [It] Pod resources(cpu/memory) resize to excessive
values should fail
/Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-k8shim/test/e2e/pod_resource_scaling/pod_resource_scaling_test.go:178
[FAILED] Unexpected error:
<*errors.StatusError | 0x179ce645b7c0>:
pods "sleep-wrzqj" is forbidden: node didn't have enough allocatable
resources: cpu, requested: 100000, allocatable: 5000; memory, requested:
104857600000, allocatable: 16748732416
{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "pods \"sleep-wrzqj\" is forbidden: node didn't have
enough allocatable resources: cpu, requested: 100000, allocatable: 5000;
memory, requested: 104857600000, allocatable: 16748732416",
Reason: "Forbidden",
Details: {
Name: "sleep-wrzqj",
Group: "",
Kind: "pods",
UID: "",
Causes: [
{Type: "NodeCapacity", Message: "", Field: ""},
],
RetryAfterSeconds: 0,
},
Code: 403,
},
}
occurred
In [It] at:
/Users/wilfred/repos/yunikorn/src/github.com/apache/yunikorn-k8shim/test/e2e/pod_resource_scaling/pod_resource_scaling_test.go:203
@ 06/03/26 12:22:37.256
------------------------------ {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]