Dan Winship
a437a269f1
Fix comments on ginkgo label functions
2025-05-12 11:22:18 -04:00
Kubernetes Prow Robot
627ce4946c
Merge pull request #131689 from carlory/remove-expectNoError
...
use framework.ExpectNoError instead
2025-05-11 05:01:14 -07:00
carlory
d5a56739ce
use framework.ExpectNoError instead
...
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-05-11 13:12:29 +08:00
Kubernetes Prow Robot
79d1cf301e
Merge pull request #131409 from bertinatto/fix-authz-test
...
e2e: set appropriate groups in SAR of kubelet authz test
2025-05-08 14:39:15 -07:00
Kubernetes Prow Robot
b1ce2a61b5
Merge pull request #131249 from MaysaMacedo/randomize-name
...
Kubelet: Randomize ClusterRole name in e2e
2025-05-07 07:59:16 -07:00
Maysa Macedo
b1bb9a5885
Kubelet: Randomize ClusterRole name in e2e
...
It's possible that a conflict will happen when
attempting to create a `ClusterRole` resource
without a randomized name given that is a cluster
scoped object and another object with same name
might exist. This commit fixes this issue by ensuring
the name of the `ClusterRole` is randomized. Additionally,
it adds clean up for the clusterRole and clusterRoleBinding.
2025-05-06 14:30:10 -03:00
Kubernetes Prow Robot
73b5f84cb6
Merge pull request #131487 from hshiina/dedup-cgroup-verification
...
e2e: Deduplicate cgroup verification
2025-05-06 04:03:17 -07:00
Fabio Bertinatto
e36a168a63
test/e2e/node/kubelet_authz.go: fix SAR to include service account groups
...
This sets the appropriate groups (system:authenticated, system:serviceaccounts,
system:serviceaccounts:<ns>) in the SAR used in WaitForAuthzUpdate to accurately
simulate the service account’s identity.
2025-05-05 10:37:42 -03:00
Jordan Liggitt
6bb6c99342
Drop null creationTimestamp from test fixtures
2025-05-02 15:38:40 -04:00
Hironori Shiina
7e1cec680e
e2e: Deduplicate cgroup verification
...
This fix deduplicates cgroup verification in tests for
InPlacePodVerticalScaling and PodLevelResources.
2025-05-01 14:53:26 +02:00
Natasha Sarkar
932cff5dd4
add more error details to the failing cgroup check
2025-04-24 15:51:08 +00:00
Kubernetes Prow Robot
4bcaa515c9
Merge pull request #131267 from tallclair/resize-helpers
...
Move pod resize e2e utilities out of e2e/framework
2025-04-24 01:28:44 -07:00
Kubernetes Prow Robot
1c1ee80682
Merge pull request #131100 from hshiina/exec-fail
...
[InPlacePodVerticalScaling] e2e: Keep original error when exec in container fails
2025-04-23 15:59:49 -07:00
Kubernetes Prow Robot
a63fd40447
Merge pull request #131060 from BenTheElder/kubectl-http-proxy
...
improve kubectl e2e test debugging
2025-04-23 15:58:59 -07:00
Tim Allclair
947a9f26fa
Move pod resize e2e utilities out of e2e/framework
2025-04-23 14:02:36 -07:00
carlory
7d7fc2d989
Fix flaky test: Metrics should grab all metrics from kubelet /metrics/resource endpoint
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-04-11 11:30:28 +08:00
Hironori Shiina
5a14fdbf7f
e2e: Keep original error when exec in container fails
2025-03-28 11:18:33 +00:00
Kubernetes Prow Robot
bdda0a530e
Merge pull request #131090 from natasha41575/deflakeCgroupNotFound
...
[FG:InPlacePodVerticalScaling] deflake - wait for containers to have started before doing cgroup check
2025-03-28 00:54:34 -07:00
Natasha Sarkar
5c7491bf08
accept rounded container cpu limits in container cgroup tests ( #131059 )
2025-03-27 23:40:34 -07:00
Natasha Sarkar
d349ac57e4
wait for containers to have started before doing cgroup check
2025-03-27 20:52:44 +00:00
Natasha Sarkar
83bb5d5705
deflake restart count assertions in in-place resize tests ( #131055 )
2025-03-27 07:56:40 -07:00
Benjamin Elder
f7f4aa02ba
kubectl e2e: debug appended environment variables
2025-03-25 15:08:04 -07:00
Jean-Marc François
4db8e8cc1d
Add configurable tolerance e2e test.
2025-03-21 18:48:38 -04:00
Kubernetes Prow Robot
52ab771774
Merge pull request #130917 from vinaykul/ippr-mem-req-ucr
...
Invoke UpdateContainerResources or trigger container restarts when memory requests are resized
2025-03-20 13:08:56 -07:00
vinay kulkarni
d62e766dad
Fix function comment
2025-03-20 16:13:45 +00:00
vinay kulkarni
1208f25b3f
Verify oom_score_adj for containers that have been restarted in pod resize e2e
2025-03-20 05:57:41 +00:00
Benjamin Elder
798ce5bde2
e2e framework: add BetaDefaultOff feature gate testcase
2025-03-19 15:36:47 -07:00
Benjamin Elder
507621e0da
implement WithFeatureGate label proposal
...
Ginkgo label changes:
- Feature:Alpha => Alpha
- Feature:Beta => Beta
- Feature:OffByDefault mirrored to labels from test name
- BetaOffByDefault label added
2025-03-19 15:19:28 -07:00
vinay kulkarni
7fe7754e67
Fix unit test, remove wait after resize
2025-03-19 21:27:32 +00:00
yongruilin
a2c739f3d5
chore: [e2e/framework] Updates test feature gates to versioned feature gates
2025-03-19 20:02:55 +00:00
vinay kulkarni
7f4b9a52db
Consider memory requests in determining if resize is in progress, set termination grace period to 0
2025-03-19 19:11:21 +00:00
vinay kulkarni
951e33fdf9
Fix gofmt issues
2025-03-19 15:13:44 +00:00
vinay kulkarni
917c4b310b
Fix lint issues, use kuberuntime's minGracePeriod const, boost container restart wait period
2025-03-19 13:26:01 +00:00
vinay kulkarni
d5d008a6bd
Invoke UpdateContainerResources or trigger container restarts (for RestartContainer policy) when memory requests are resized
2025-03-19 06:33:27 +00:00
Natasha Sarkar
4c2be4bdde
kubelet sets observedGeneration in conditions
2025-03-18 15:43:24 +00:00
Natasha Sarkar
a15520fbea
Move pod resize status to pod conditions
2025-03-17 22:01:05 +00:00
Kubernetes Prow Robot
04fb7ac18b
Merge pull request #130536 from tenzen-y/promote-successpolicy-to-ga
...
KEP-3998: Promote JobSuccessPolicy to Stable
2025-03-13 13:27:54 -07:00
Kubernetes Prow Robot
07d66d9c26
Merge pull request #130574 from natasha41575/drop_proposed_resize_status
...
[FG:InPlacePodVerticalScaling] Drop `Proposed` resize status
2025-03-11 09:49:46 -07:00
Yuki Iwai
03f0475ebd
Add Complete reason verification to all e2e conformance tests
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2025-03-11 06:14:55 +09:00
Natasha Sarkar
8a20e90839
[FG:InPlacePodVerticalScaling] Drop 'Proposed' resize status
2025-03-10 20:46:02 +00:00
Kubernetes Prow Robot
cad46631a8
Merge pull request #130655 from BenTheElder/pr130580
...
Set [Feature:OffByDefault] when WithFeatureGate receives an off-by-default feature gate
2025-03-10 13:31:46 -07:00
Benjamin Elder
9828ad64da
e2e framework WithFeatureGate adds [Feature:OffByDefault]
...
(when passed a feature that is not Default)
This allows using the regex filter to skip tests that do not work on a cluster
without optional configuration, while moving tests to use WithFeatureGate
without also setting WithFeature unless they have some additional configuration
required.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2025-03-10 12:04:04 -07:00
Tim Hockin
f08e640b9e
Lock down gofuzz in deps
2025-03-08 15:22:01 -08:00
Kubernetes Prow Robot
2effa5e3cf
Merge pull request #130352 from natasha41575/kubelet-pod-observedgen
...
[FG:PodObservedGenerationTracking] Kubelet sets pod `status.observedGeneration` when updating the pod status
2025-03-07 13:33:45 -08:00
carlory
0a32e7d6e7
make sure that container is running when execute kubelet exec command
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-03-07 14:42:21 +08:00
Natasha Sarkar
40e7d88f02
Kubelet sets pod.status.observedGeneration behind FG
2025-03-06 22:31:04 +00:00
Natasha Sarkar
eab9197d1a
Add observedGeneration and validation to pod status and conditions
2025-03-06 20:08:06 +00:00
carlory
627bfbdfdf
windows does not support sleep infinity
2025-03-06 15:13:12 +08:00
Kubernetes Prow Robot
f06716edb1
Merge pull request #129251 from alingse/patch-1
...
fix check errRaw != nil but return a nil value error err
2025-02-26 18:48:30 -08:00
Antonio Ojea
ae991725b7
e2e uses websockets by default for portforward
2025-02-24 18:26:13 +00:00