Commit Graph

26992 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
e07aeb7c8b Merge pull request #129330 from pohly/log-client-go-transport
client-go/transport: structured, contextual logging
2025-01-27 09:01:23 -08:00
Itamar Holder
617c094435 Add an e2e test
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-01-27 15:44:18 +02:00
Kubernetes Prow Robot
3f26d00557 Merge pull request #129751 from pacoxu/EfficientWatchResumption
remove GAed EfficientWatchResumption
2025-01-27 04:51:22 -08:00
Patrick Ohly
a85f489b28 client-go/transport: structured, contextual logging
The revised logging emits one log entry at the start of
round-tripping ("Request") and another at the end ("Response"). This avoids the
risk that related output gets interleaved by other output.

No API changes are necessary. A contextual logger is picked up from the context
of the request that is being handled. The verbosity level of that logger is
checked to determine what is supposed to be logged. This enables reducing log
details on a by-request basis by storing a `logger.V(1)` in the context of the
request.

As before, logging only gets injected into request processing at -v6 or higher,
so normally there is no additional overhead.
2025-01-27 09:45:04 +01:00
Sharath P J
44ca3b3654 Passed context for Wait methods in integration test utils 2025-01-27 09:48:36 +05:30
Kubernetes Prow Robot
03bf94bac0 Merge pull request #129808 from soltysh/port-forward_timeout
e2e: bump port-forward timeout
2025-01-25 09:15:22 -08:00
Kubernetes Prow Robot
1ee2d3ca71 Merge pull request #129798 from aojea/ipv6_alloc_dual_write
cluster ip allocator should check first on the legacy allocators
2025-01-24 20:27:21 -08:00
Vinayak Goyal
3a780a1c1b KEP-2862: Graduate to BETA. 2025-01-24 21:36:00 +00:00
Kubernetes Prow Robot
c5c19a6487 Merge pull request #129723 from carlory/NFSPersistentVolumes
remove unrunnable tests from NFSPersistentVolumes
2025-01-24 09:35:28 -08:00
Maciej Szulik
28896d2f90 e2e: bump port-forward timeout
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-24 18:31:53 +01:00
Patrick Ohly
013f65b257 DRA: fix test-driver examples
They were still using an obsolete API version.
The driver must publish some devices for allocation
to succeed.
2025-01-24 18:30:36 +01:00
Kubernetes Prow Robot
f2fe33399f Merge pull request #129700 from carlory/Update-in-tree-gcePdDriver-tests
Update in-tree gcePersistentDisk tests
2025-01-24 08:15:21 -08:00
Antonio Ojea
d3e8572d70 cluster ip allocator should check first on the legacy allocators
Kubernetes clusters allow to define an IPv6 range of /108 for IPv6
despite the old allocators will only use the first /112 of that range.

The new allocators does not have this limitation, so they can allocate
IPs on the whole space, the problem happens on upgrades from clusters
that were already using this size, since the new allocators by default
will try to allocate addresses that works for both new and old allocatos
to allow safe upgrades.

The new allocators, when configured to keep compatibility with the old
allocators, must try first to allocate an IP that is compatible with the
old allocators and only fall back to the new behavior if it is not
possible.
2025-01-24 15:48:52 +00:00
Sharath P J
627e83c841 Passed context for Wait methods in integration test utils 2025-01-24 19:48:23 +05:30
Kubernetes Prow Robot
5aeea45357 Merge pull request #128546 from atiratree/pod-replacement-policy-terminating-pods
add PodReplacementPolicy for Deployments: terminating pods
2025-01-23 17:07:21 -08:00
Kubernetes Prow Robot
bb9e393fc3 Merge pull request #129110 from soltysh/deployment_patch_status
test: deployment patch status test should  check the modified fields
2025-01-23 14:15:27 -08:00
Filip Křepinský
e263b878ee Deployment controller should count terminating pods in the status 2025-01-23 22:37:05 +01:00
Filip Křepinský
dc1914c61c ReplicaSet controller should count terminating pods in the status 2025-01-23 22:26:34 +01:00
Filip Křepinský
28437797b5 update generated files and feature gates 2025-01-23 22:26:34 +01: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
Kubernetes Prow Robot
4f979c9db8 Merge pull request #129010 from ffromani/e2e-fix-device-plugin-reboot-test
node: e2e: fix device plugin reboot test
2025-01-23 12:07:22 -08:00
Kubernetes Prow Robot
00fa8f1190 Merge pull request #129773 from aojea/funny_service_cdir
e2e test should no longer guess the service cidr and instead of use the API
2025-01-23 07:16:58 -08:00
Antonio Ojea
0b38e6cd9e e2e network: remove test for funny ips
The test is super hacky and we'll not be needed once the corresponding
KEP is implemented, better to remove it that trying to fix it
perpetuating the hacky solution.
2025-01-23 14:00:20 +00:00
Kubernetes Prow Robot
06331ac573 Merge pull request #129775 from aojea/blame_allocator
Blame allocator
2025-01-23 02:50:57 -08:00
Sascha Grunert
da999fbc1b Update CNI plugins to v1.6.2 and avoid using k8s-artifacts-cni bucket
Updating the CNI plugins to the latest release and switch over to use
GitHub releases instead of the `k8s-artifacts-cni` bucket.

Follow-up on https://github.com/kubernetes/kubernetes/pull/129095

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-01-23 10:50:58 +01:00
Antonio Ojea
fdebfb4485 e2e log info on nodeport allocation failures 2025-01-23 08:24:49 +00:00
dom4ha
f150016fbe feature: Make Unschedulable scheduler performance test parametrized with the number of initial nodes. 2025-01-23 00:48:02 +00:00
Kubernetes Prow Robot
a444a5bfed Merge pull request #129732 from dims/switch-to-v2.6.3-of-gopkg.in/go-jose/go-jose.v2
Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3 and github.com/coreos/go-oidc @ v2.3.0
2025-01-22 13:40:38 -08:00
Kubernetes Prow Robot
45d0fddaf1 Merge pull request #128971 from aojea/servicecidr_ga
KEP-1880 Multiple Service CIDRs: Graduate to GA
2025-01-22 11:12:44 -08:00
Antonio Ojea
db3ae754b1 e2e network: adapt dual stack tests for endpoint slices only 2025-01-22 10:20:28 +00:00
Paco Xu
69964319d1 remove GAed EfficientWatchResumption since v1.24 2025-01-22 16:51:37 +08: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
0d988d7209 Merge pull request #129619 from ffromani/sig-node-approvers-ffromani
Self-nominating ffromani as approver for sig-node container and resource managers
2025-01-21 15:50:36 -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
Davanum Srinivas
c9e81cd84c Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-21 09:21:27 -05:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
carlory
7712d34b9e remove unrunnable tests from NFSPersistentVolumes 2025-01-21 14:07:54 +08: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
Kubernetes Prow Robot
ddfd02d568 Merge pull request #129687 from carlory/cleanup-gke
remove gke
2025-01-20 08:46:43 -08:00
Kubernetes Prow Robot
beeb1d2b84 Merge pull request #128850 from toVersus/fix/sidecar-container-named-port
Fix named ports of restartable init containers don't propagate to EndpointSlice
2025-01-20 07:32:35 -08:00
carlory
aaac13fc6a remove gke from e2e 2025-01-20 21:50:46 +08:00