Commit Graph

3714 Commits

Author SHA1 Message Date
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
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
Antonio Ojea
071b1bd839 e2e test use websockets as default for exec operations 2025-02-24 18:26:08 +00:00
Kubernetes Prow Robot
aa96283764 Merge pull request #130306 from carlory/fix-130268
fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
2025-02-23 23:00:28 -08:00
carlory
b56d30e32a fix flaky test: Subpath Container restart should verify that container can restart successfully after configmaps modified
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-24 11:24:58 +08:00
Elizabeth Martin Campos
a49b336e83 test(statefulset): return errors in framework function GetPodList for upstream handling
See #130159
2025-02-20 21:24:15 +01:00
Kubernetes Prow Robot
931ad2a9fd Merge pull request #130108 from carlory/cleanup-after-81245
remove NodeOSDistroIs from test/e2e/framework/pod
2025-02-18 00:12:12 -08:00
Elizabeth Martin Campos
98d600bef9 test(network): replace RCs with Deployments in util function CreateServicePods
See #119021
2025-02-15 22:09:55 +01:00
Kubernetes Prow Robot
78f7217993 Merge pull request #130082 from elizabeth-dev/replace-network-e2e-replicationcontrollers-4
test(network): replace RCs with Deployments in util function jig.Run
2025-02-15 07:44:21 -08:00
Kubernetes Prow Robot
e62ce1c9db Merge pull request #129489 from elizabeth-dev/replace-network-e2e-replicationcontrollers
test(network): replace jig.CreateRC with jig.CreateDeployment
2025-02-13 05:58:22 -08:00
Elizabeth Martin Campos
4724870b97 test: remove implicit inclusion of "name" label in utils functions 2025-02-13 12:48:30 +01:00
Kubernetes Prow Robot
a62752db51 Merge pull request #130110 from neolit123/1.33-remove-from-test-owners
sig-cl: update owners for 1.33
2025-02-12 05:22:06 -08:00
Lubomir I. Ivanov
54e2416210 update sig cl owners in k/k 2025-02-12 11:04:11 +02:00
carlory
da2f36be58 remove NodeOSDistroIs from test/e2e/framework/pod 2025-02-12 15:33:37 +08:00
Elizabeth Martin Campos
0c68aa6a35 test(network): fix jig deployment scaling 2025-02-11 16:22:01 +01:00
Elizabeth Martin Campos
d728eb47dc test(network): replace RCs with Deployments in util function jig.Run
See #119021
2025-02-11 14:48:17 +01:00
Kubernetes Prow Robot
bfde2edba7 Merge pull request #126423 from AndrewSirenko/negative-e2e
Add volume modify recovery e2e test
2025-02-06 23:05:55 -08:00
Kubernetes Prow Robot
0634e21fb5 Merge pull request #128367 from vivzbansal/sidecar-2
[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers
2025-02-05 14:38:15 -08:00
Kubernetes Prow Robot
547654a8a1 Merge pull request #129813 from yongruilin/golangci-featuregate-add
feat: add a lint rule to prevent Add unversioned featuregate
2025-01-29 16:41:22 -08:00
yongruilin
8a0937c034 feat: add a lint rule to prevent Add unversioned featuregate 2025-01-28 09:37:43 -08:00
Kubernetes Prow Robot
2bda5dd8c7 Merge pull request #129656 from vinayakankugoyal/kep2862beta
KEP-2862: Graduate to BETA.
2025-01-27 19:05:23 -08:00
vivzbansal
242dec3e34 Updated some unit tests and resolved some review comments 2025-01-27 19:46:54 +00:00
Anish Shah
9a5c57817a test: pod-resize tests for sidecar containers 2025-01-27 19:46:54 +00:00
vivzbansal
6c5cf68722 Resolved latest review comments 2025-01-27 19:46:33 +00:00
vivzbansal
5d5e903e27 Revert e2e tests added for sidecar 2025-01-27 19:42:13 +00:00
vivzbansal
3885d2f8ab Added sidecar support in ValidatePodResize and dropNonResizeUpdates 2025-01-27 19:42:13 +00:00
vivzbansal
0e392f9017 Disable e2e test for now 2025-01-27 19:42:13 +00:00
vivzbansal
d1fac494f4 resolve merge conflicts 2025-01-27 19:42:13 +00:00
Vinayak Goyal
3a780a1c1b KEP-2862: Graduate to BETA. 2025-01-24 21:36:00 +00:00
Kubernetes Prow Robot
29bf17b6cf Merge pull request #129168 from kannon92/drop-node-features
[KEP-3041] - remove nodefeatures from k/k repo
2025-01-23 12:07:29 -08:00
Antonio Ojea
db3ae754b1 e2e network: adapt dual stack tests for endpoint slices only 2025-01-22 10:20:28 +00:00
Kubernetes Prow Robot
a271299643 Merge pull request #129717 from esotsal/fix-128837
testing: Fix pod delete timeout failures after InPlacePodVerticalScaling Graduate to Beta commit
2025-01-21 15:50:47 -08:00
Kubernetes Prow Robot
3d2ee2fbb7 Merge pull request #129609 from carlory/cleanup-exec-utils
Move some exec helper functions from framework/volume to framework/pod
2025-01-21 09:00:37 -08:00
carlory
c68fc01b77 return an error instead of recording a test failure
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-21 23:43:48 +08:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
Dan Winship
969ecabc0f Remove all references to v1.Endpoints from non-network e2e tests
kube-proxy does not look at Endpoints ever, so it is incorrect for a
test to assume that there is any correlation between whether Endpoints
exist and whether a Service is working. Tests should only be using the
v1.Endpoints API if they are explicitly testing the behavior of
v1.Endpoints, the Endpoints controller, or the EndpointSlice mirroring
controller. There is no reason for any non SIG Network tests to be
testing any of those things, so there should be no references to
v1.Endpoints in test/e2e outside of test/e2e/network.

Also, simplify some pointlessly complicated e2eservice code.
2025-01-20 17:04:46 -05:00
Dan Winship
da5bf27bc5 Remove no-longer-used TestUnderTemporaryNetworkFailure()
This was previously used by some autoscaling tests that have since
been removed. It is somewhat sketchy (and inherently [Disruptive]),
and depends on iptables (so would need to be updated to use nftables
at some point if we were keeping it). Given that it's now unused, just
remove it (as well as some helper functions that are no longer used by
anyone else as well).
2025-01-20 17:04:32 -05:00
Kevin Hannon
bae4122f56 deprecate nodefeature for feature labels 2025-01-20 17:02:59 -05:00
carlory
aaac13fc6a remove gke from e2e 2025-01-20 21:50:46 +08:00
carlory
8b4eae24ab Move some exec helper functions from framework/volume to framework/pod 2025-01-18 21:42:42 +08:00