Commit Graph

25435 Commits

Author SHA1 Message Date
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
Alexander Zielenski
cd41a7d8e1 store validatingadmissionpolicy and bindings at v1 2024-05-29 13:14:51 -07: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
Kubernetes Prow Robot
4c0afd74c3 Merge pull request #125113 from bzsuni/bz/build/cni
update cni from 1.4.1 to 1.5.0
2024-05-29 13:06:08 -07:00
Maciej Szulik
23bf694830 Fix the field typo in statefulset patch operation 2024-05-29 18:55:35 +02:00
Kubernetes Prow Robot
da02fdb2ae Merge pull request #123339 from skitt/canonical-json-patch
Update kustomize, use canonical json-patch v4 import
2024-05-29 08:02:24 -07:00
Lukasz Szaszkiewicz
ba89ae3ddf e2e/apimachinery/watchlist: uses SetFeatureDuringTest 2024-05-29 12:45:18 +02:00
Kubernetes Prow Robot
fd95f1890d Merge pull request #124877 from nilekhc/svm-crd-flake
fix: fixes update CRD check
2024-05-28 12:54:49 -07:00
Nilekh Chaudhari
23a407ce44 fix: fixes update CRD check
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2024-05-28 11:50:30 -07: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
Eric Lin
44c08fdbd5 Add /readyz for kube-scheduler
/readyz contains `sched-handler-sync`, `leaderElection` (when election is
enabled) and `shutdown` checks
2024-05-27 19:11:24 +00:00
Eric Lin
708180be69 Add /livez to kube-scheduler
Health endpoint `/livez` only contains ping check.
2024-05-27 19:11:24 +00: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
bzsuni
61a35c2186 update cni from 1.4.1 to 1.5.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-05-25 10:33:52 +08:00
Ed Bartosh
d6c78f853a e2e_node: add deferPodDeletion parameter 2024-05-25 01:02:31 +03:00
Ed Bartosh
f609aa8310 e2e: test-driver: add new matchers 2024-05-25 01:02:25 +03: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
Kubernetes Prow Robot
3332eef27d Merge pull request #125111 from aojea/e2e_panic_lb
add logging on e2e loadbalancer test
2024-05-23 22:27:21 -07:00
Kubernetes Prow Robot
903aeed208 Merge pull request #125096 from carlory/add-carlory-as-kubeadm-reviewer
Add carlory (myself) in kubeadm reviewers
2024-05-23 21:02:44 -07: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
Benjamin Elder
043da7164d update gcb-docker-gcloud to latest, and pin digest
this is a staging repository, which has lower security than registry.k8s.io, so we should REALLY be pinning it.

TODO: This is one of the few places we still depend on GCR to build things. We should consider promoting this image to registry.k8s.io or using a different image.
2024-05-23 13:51:40 -07:00
Kubernetes Prow Robot
028b457cb5 Merge pull request #125090 from gjkim42/deflake-container-lifecycle-e2e-test
e2e: Increase preStop hook delay to deflake the test
2024-05-23 11:58:46 -07:00
carlory
ba7b3bcbb6 Add carlory (myself) in kubeadm reviewers 2024-05-23 22:07:57 +08:00
Gunju Kim
65b9e560ce e2e: Increase preStop hook delay to deflake the test
This delays the preStop hook to allow sufficient time for the readiness
probe to be executed.
2024-05-23 21:31:02 +09: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
Kubernetes Prow Robot
ea06d605f7 Merge pull request #125071 from BenTheElder/ag-pause
kubectl logs test: use agnhost pause instaed of fixed duration sleep
2024-05-22 17:49:18 -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
Kubernetes Prow Robot
5cdab888bb Merge pull request #125027 from haircommander/e2e-swap-v1
e2e_node: skip swap tests on cgroupv1
2024-05-22 13:09:42 -07:00
Benjamin Elder
12cbad2110 kubectl logs test: use agnhost pause instaed of fixed duration sleep 2024-05-22 12:40:56 -07:00
Daman Arora
2e669de458 test/e2e/network: test for localhost nodeport metric update
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-22 17:52:40 +05:30
Kubernetes Prow Robot
68091805a5 Merge pull request #124785 from kerthcet/cleanup/deprecate-wait-pull
Avoid to use deprecated wait.Poll in scheduler tests
2024-05-22 01:17:30 -07:00
Kubernetes Prow Robot
cabdf39e26 Merge pull request #125037 from eddiezane/ez/fix-logs-flake
[Flake] Fix test in kubectl logs all pods
2024-05-21 17:09:29 -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
790d65b28d Merge pull request #125006 from matthyx/fixoom
increase memory limit for e2e test containers
2024-05-21 15:48:15 -07:00
Kubernetes Prow Robot
0f584a9b86 Merge pull request #124933 from AxeZhan/fix_panic
[Scheduler] Use allNodes when calculating nextStartNodeIndex
2024-05-21 10:29:35 -07:00
Daman Arora
9b9a3d780e test/e2e: add kube-proxy metrics grabber
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 22:41:23 +05:30
Peter Hunt
ba80f252bf e2e_node: skip swap tests on cgroupv1
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-05-21 11:39:46 -04: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
Ahmad Zolfaghari
834658cb26 Fix kubectl explain bug when additionalProperties in schema defines as boolean. (#124506)
* Fix kubectl explain bug when additionalProperties in schema defines as:
`additionalProperties: true` to ignore iterating.

* trigger error on kubectl explain with integration test on crd with non bool additionalfields

* add changes to fix the problem

* replace sleep with loop and retry for kubectl explain integration test

* replaced testdata file with inline create
2024-05-21 04:40:32 -07:00
Itamar Holder
e9b1a5e185 Expect NoSwap on NodeConformance, test LimitedSwap only in serial tests
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
ab5f84e8ed Refactor: Better pod image, read cgroup file from container
- Improve cgroup file read: execute from container instead of host
- Clean unused variables/functions
- BeTrue/BeFalse -> BeTrueBecause/BeFalseBecause
- Use agnhost instread of stress image
- Improve description and fix typo

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00