Dan Winship
b82bc5d935
Log namespace of pods in e2e failure debug
2024-05-31 09:14:58 -04:00
Kubernetes Prow Robot
e6e39db4c1
Merge pull request #125203 from danwinship/kind-loadbalancers-2
...
Fix eTP:Local NodePort test
2024-05-30 16:06:02 -07:00
Kubernetes Prow Robot
2d083d0a4d
Merge pull request #125219 from danwinship/kind-loadbalancers-3
...
Fix LoadBalancerSourceRanges test
2024-05-30 13:26:10 -07:00
Dan Winship
fff883ab4a
Improve eTP:Local NodePort test
...
It previously assumed that pod-to-other-node-nodeIP would be
unmasqueraded, but this is not the case for most network plugins. Use
a HostNetwork exec pod to avoid problems.
This also requires putting the client and endpoint on different nodes,
because with most network plugins, a node-to-same-node-pod connection
will end up using the internal "docker0" (or whatever) IP as the
source address rather than the node's public IP, and we don't know
what that IP is.
Also make it work with IPv6.
2024-05-30 11:43:07 -04:00
Kubernetes Prow Robot
2c46fafa23
Merge pull request #125150 from humblec/csi-update
...
update CSI spec to v1.9.0 which has modifyVolume API support and other updated libraries in place
2024-05-30 05:13:48 -07:00
Dan Winship
d01b264345
Improve LoadBalancerSourceRanges test
...
The existing test had two problems:
- It only made connections from within the cluster, so for VIP-type
LBs, the connections would always be short-circuited and so this
only tested kube-proxy's LBSR implementation, not the cloud's.
- For non-VIP-type LBs, it would only work if pod-to-LB connections
were not masqueraded, which is not the case for most network
plugins.
Fix this by (a) testing connectivity from the test binary, so as to
test filtering external IPs, and ensure we're testing the cloud's
behavior; and (b) using both pod and node IPs when testing the
in-cluster case.
Also some general cleanup of the test case.
2024-05-30 07:24:36 -04:00
Kubernetes Prow Robot
9a44f68916
Merge pull request #123974 from p0lyn0mial/upstream-client-go-features-testing
...
client-go/features/testing: intro SetFeatureGatesDuringTest
2024-05-29 17:01:25 -07:00
Dan Winship
41527afe28
Move eTP:Local NodePort test from loadbalancer.go to service.go
...
(And in particular, remove `[Feature:LoadBalancer]` from it.)
2024-05-29 16:21:36 -04:00
Dan Winship
5230bab600
Convert test/e2e/network/service.go to utils/ptr
2024-05-29 16:21:34 -04:00
Kubernetes Prow Robot
e821e4f978
Merge pull request #125200 from soltysh/fix_typo
...
Fix the field typo in statefulset patch operation
2024-05-29 13:06:15 -07:00
Maciej Szulik
23bf694830
Fix the field typo in statefulset patch operation
2024-05-29 18:55:35 +02:00
Lukasz Szaszkiewicz
ba89ae3ddf
e2e/apimachinery/watchlist: uses SetFeatureDuringTest
2024-05-29 12:45:18 +02:00
Humble Chirammal
35d358b53d
Update mock for ModifyVolume controller function support
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2024-05-28 17:58:46 +05:30
Stephen Kitt
5300466a5c
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-05-28 10:48:22 +02:00
Antonio Ojea
98fe5ace74
tag e2e test that depends on cloud-provider-gcp
2024-05-27 18:14:48 +00:00
Kubernetes Prow Robot
b5bc8025be
Merge pull request #125110 from brianpursley/k-125109
...
Add logging to show which unexpected events were received in kubectl events e2e test
2024-05-27 09:31:02 -07:00
Humble Chirammal
d8458293d2
add controllerModifyVolume test function
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2024-05-27 19:57:54 +05:30
Kubernetes Prow Robot
b2817dc432
Merge pull request #125040 from carlory/fix-125012
...
Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser
2024-05-27 04:58:20 -07:00
Kubernetes Prow Robot
ec93d3b71a
Merge pull request #123160 from bart0sh/PR133-e2e-node-device-plugin-fix-features
...
e2e_node: fix DevicePlugin feature flags
2024-05-24 09:23:10 -07:00
Kubernetes Prow Robot
e0e6c9633d
Merge pull request #125112 from neolit123/1.31-add-v-to-windows-pause-after-promo
...
dependencies: start using registry.k8s.io/pause:3.10
2024-05-24 03:55:56 -07:00
Lubomir I. Ivanov
5e290ebc90
switch k/k to pause version 3.10
2024-05-24 10:02:51 +03:00
Brian Pursley
39d24b0877
Add logging to show which unexpected events were received in kubectl events e2e test
...
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
2024-05-23 20:33:17 -04:00
Antonio Ojea
5221df5074
add logging on e2e loadbalancer test
2024-05-23 23:32:08 +00:00
carlory
3812fa1d6d
Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser.
...
Co-authored-by: rphillips <rphillips@redhat.com >
2024-05-23 12:44:51 +08:00
Kubernetes Prow Robot
df35f179ba
Merge pull request #125077 from eddiezane/ez/fix-test-simple-pod
...
Reduce file descriptors created in test
2024-05-22 17:49:27 -07:00
Eddie Zaneski
49f85ca854
Reduce file descriptors created in test
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com >
2024-05-22 16:35:37 -06:00
Benjamin Elder
12cbad2110
kubectl logs test: use agnhost pause instaed of fixed duration sleep
2024-05-22 12:40:56 -07:00
Eddie Zaneski
411e0094ac
Prevent pods from completing before test runs
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com >
2024-05-21 16:49:34 -06:00
Kubernetes Prow Robot
c0f4879164
Merge pull request #123557 from iholder101/swap/enhance-swap-functests-serial
...
[Swap][Tests][KEP2400] Add swap serial stress tests, improve NodeConformance tests and adapt NoSwap behavior
2024-05-21 05:44:35 -07:00
Itamar Holder
13403e836a
Fix swap feature gate check by introduting IsFeatureGateEnabled()
...
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-05-21 11:19:54 +03:00
Itamar Holder
9f344f23fb
Add NodeSwap as a node feature in nodefeature.go
...
Also, Remove wrong documentation about
tempSetCurrentKubeletConfig() returning bool
Signed-off-by: Itamar Holder <iholder@redhat.com >
2024-05-21 11:19:54 +03:00
Lukasz Szaszkiewicz
9248cccc27
replace ENABLE_CLIENT_GO_WATCH_LIST_ALPHA with WatchListClient gate
2024-05-21 08:47:31 +02:00
Kubernetes Prow Robot
5ceb99dc6b
Merge pull request #124824 from seans3/export-poke-udp
...
Export PokeUDP helper function
2024-05-16 20:13:01 -07:00
Kubernetes Prow Robot
2592caa9a7
Merge pull request #124889 from soltysh/fix_podsecurity
...
Update PodSecurityLevel used during tests
2024-05-16 06:15:11 -07:00
Kubernetes Prow Robot
b8c4e12a17
Merge pull request #120301 from liyuerich/storage
...
e2e_storage:stop using deprecated framework.ExpectError
2024-05-16 02:38:12 -07:00
Sean Sullivan
cc9b4f47aa
Export PokeUDP helper function
2024-05-15 20:30:48 -07:00
Maciej Szulik
ceb0387e39
Update PodSecurityLevel used during tests
2024-05-15 16:50:30 +02:00
Kubernetes Prow Robot
8362f51c66
Merge pull request #124876 from danwinship/kind-loadbalancers-1
...
e2e-kind-cloud-provider-loadbalancer fixes, part 1
2024-05-15 07:09:53 -07:00
Kubernetes Prow Robot
cade1dddd8
Merge pull request #124865 from aroradaman/granular-service-check-flaky-debug
...
e2e/network: dump iptables and conntrack flows for debugging
2024-05-14 12:11:12 -07:00
Kubernetes Prow Robot
9f39314eb9
Merge pull request #124732 from cmwylie19/1520
...
feat: add all-pods log flag to kubectl
2024-05-14 07:27:11 -07:00
Case Wylie
6db859eb5d
feat: add all-pods log flag to kubectl
...
Signed-off-by: Case Wylie <cmwylie19@defenseunicorns.com >
2024-05-14 09:03:09 -04:00
Daman Arora
3f2deb51ad
e2e/network: dump iptables and conntrack flows for debugging
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-05-14 15:22:17 +05:30
Kubernetes Prow Robot
59ba132f16
Merge pull request #124544 from carlory/remove-cephfs
...
remove the support for in-tree volume plugin cephfs
2024-05-13 14:09:52 -07:00
Kubernetes Prow Robot
8e5b26b4c3
Merge pull request #124846 from saschagrunert/local-hostname
...
Fix assertion for host network hostname e2e test
2024-05-13 07:47:16 -07:00
Sascha Grunert
104b5a0f2c
Fix assertion for host network hostname e2e test
...
The original assumption is wrong, as the node name may not match the
hostname of the host in some circumstances.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-05-13 14:36:10 +02:00
Kubernetes Prow Robot
51ad0bbb73
Merge pull request #124795 from atiratree/fix-daemon-max-surge-flake
...
e2e: DaemonSet maxSurge test should account for terminated pods that are terminated by the test
2024-05-13 05:21:17 -07:00
Kubernetes Prow Robot
c7c4039093
Merge pull request #123151 from carlory/honor-pv-reclaim-policy-e2e
...
add e2e test for HonorPVReclaimPolicy
2024-05-13 00:51:28 -07:00
Dan Winship
85d5b4bd4a
Skip source IP preservation checks for Proxy-type load balancers
...
To be revisited
2024-05-11 08:32:41 -04:00
Dan Winship
79394a1cbd
Don't require ICMP reject on UDP LB with no endpoints
...
Allow either drop or reject; we previously made the same change for
TCP load balancers.
2024-05-11 08:32:41 -04:00
Filip Křepinský
d70c3f752d
e2e: DaemonSet maxSurge test should account for terminated pods
...
that are terminated by the test
2024-05-10 16:11:41 +02:00