Commit Graph

25938 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f15ce180b5 Merge pull request #126451 from aramase/aramase/t/oidc_int_tests_parallel
Run `apiserver/oidc` integration tests in parallel
2024-08-13 21:04:12 -07:00
Kubernetes Prow Robot
7576984eec Merge pull request #126444 from bart0sh/PR152-dra-e2e_node-cleanup
DRA: e2e_node: improve readability
2024-08-13 21:03:59 -07:00
Kubernetes Prow Robot
6cf49df138 Merge pull request #126158 from macsko/use_generics_in_scheduling_queue_heap
Use generics in scheduling queue's heap
2024-08-13 21:03:02 -07:00
Kubernetes Prow Robot
ea1143efc7 Merge pull request #126022 from macsko/new_node_to_status_map_structure
Change structure of NodeToStatus map in scheduler
2024-08-13 21:02:55 -07:00
Kubernetes Prow Robot
2fe54b4cbe Merge pull request #125830 from siyuanfoundation/static-ana
add static analysis script to verify new feature gates are added as versioned feature specs
2024-08-13 21:02:49 -07:00
Kubernetes Prow Robot
9d140b136c Merge pull request #125372 from hungnguyen243/pvcScalabilityFix
Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results
2024-08-13 18:52:42 -07:00
Kubernetes Prow Robot
b2799bbda7 Merge pull request #124690 from mowangdk/test/add_e2e_test_for_volume_health
chore: Add e2e test for NodeGetVolumeStats
2024-08-13 13:00:43 -07:00
Maciej Skoczeń
5894e201fa Measure metrics only during a specific op in scheduler_perf 2024-08-13 12:34:06 +00:00
Peter Hunt
41e6162cc0 e2e/storage: update block device test to always specify a valid path
in the isEphemeral case, the pvcBlock doesn't have a filled in name, which means the DevicePath is "/mnt".

When using the OCI runtime runc, this is valid because runc sanitizes the path, mounting it in `/mnt` in the container.
However, the OCI runtime crun does not do this.

One can argue the validity of passing a path structured like a directory as a block device, but ultimately from what I can see
this wasn't intentional.

As such, fix it by setting the mount to be based on the first Volume name, which both cases should have filled out.

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-08-12 12:36:11 -04:00
Maciej Szulik
fad6c424ac wait: don't lowercase condition in --for argument 2024-08-12 16:59:17 +02:00
Peter Hunt
c7b7ea0514 e2e_node: update node cgroup manager test to verify kubelet recreates kubepods cgroup
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-08-08 16:53:44 -04:00
Peter Hunt
dd2dcc0b0a e2e_node: enable and fix cgroups test for systemd
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-08-08 15:57:49 -04:00
Hung Nguyen
eb16aa1d4a improve PVC Protection Controller's processing mechanism with sample performance test 2024-08-08 16:57:55 +00:00
carlory
b6ef1c80e2 Collect more info for debugging #124136 2024-08-07 16:39:07 +08:00
Taahir Ahmed
2ad2bd8907 Define credential IDs for X.509 certificates
This commit expands the existing credential ID concept to cover X.509
certificates.  We use the certificate's signature as the credential ID,
since this safe and unique.
2024-08-06 11:33:01 -07:00
Stephen Kitt
f4ddb44c36 Handle all mock header generation with mockery
mockery is set up to generate headers in all the mocks it produces, so
the separate header generation in update-mocks.sh is no longer useful
(and leads to duplicate headers in three cases). This removes the
relevant parts of the shell script.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-05 11:19:37 +02:00
carlory
cba2b3f773 kube-scheduler remove non-csi volumelimit plugins 2024-08-05 15:02:32 +08:00
Monis Khan
857127f7c4 SSA: improve create authz error message
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-02 17:20:53 -04:00
Monis Khan
d76eae46fc SSA: add integration test to exercise authz
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-02 17:04:51 -04:00
Drew Sirenko
726734b0b0 Fix broken A/D Controller metrics test 2024-08-01 17:52:33 -04:00
Siyuan Zhang
35488ef5c7 Verify: add static analysis to verify new feature gates are added as versioned feature specs.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-08-01 13:52:32 -07:00
Sujay
223aedcf6b enhance boolean assertions 2024-07-31 15:58:15 +00:00
xyz-li
e38b7dcaf7 integration/api: check field items in empty List
Signed-off-by: xyz-li <hui0787411@163.com>
2024-07-31 08:49:57 +08:00
Stephen Heywood
7330af3a0d fix: realign conformance metadata 2024-07-31 09:49:49 +12:00
Kubernetes Prow Robot
17d7d28620 Merge pull request #126431 from pacoxu/device-plugin-falures-pod-status
skip if ResourceHealthStatus is disabled
2024-07-29 19:22:55 -07:00
Anish Ramasekar
d8d0bbff2d Run apiserver/oidc integration tests in parallel
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-07-29 16:58:47 -07:00
Ed Bartosh
c5842ca4ad DRA: e2e_node: improve readability 2024-07-29 21:57:44 +03:00
Paco Xu
9ee99a9307 skip if ResourceHealthStatus is disabled 2024-07-29 17:40:44 +08:00
ArkaSaha30
aa28bd6158 Revert distroless-iptables from v0.6.1 to v0.5.6
This commit will revert the distroless-iptables version from v0.6.1(built on go1.23rc2) to v0.5.6(built on go1.22.5).

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-29 13:55:37 +05:30
ArkaSaha30
d1dfeed505 Revert "Bump images, dependencies and versions to go 1.23rc1"
This reverts commit 5c269fecf8.
2024-07-29 13:55:03 +05:30
ArkaSaha30
c203b120c0 Revert "Bump images, dependencies and versions to go 1.23rc2"
This reverts commit 9d5a7ff859.
2024-07-29 13:54:16 +05:30
Kubernetes Prow Robot
250f7b5d15 Merge pull request #126386 from kannon92/126367-device-plugin-label
fix resource health status test failures in unlabeled jobs
2024-07-26 16:34:55 -07:00
Feilian Xie
ebdca53805 [sample-apiserver] Fix: Use Correct Effective Version for kube (#125941)
* Fix slice copy of VersionedSpecs in FeatureGate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Update wardle to kube version mapping

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Feilian Xie <fxie@redhat.com>

* Add cap to wardleEmulationVersionToKubeEmulationVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

* Add integration test for default BanFlunder behavior in version 1.2 without Wardle feature gate.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

---------

Signed-off-by: Siyuan Zhang <sizhang@google.com>
Signed-off-by: Feilian Xie <fxie@redhat.com>
Co-authored-by: Siyuan Zhang <sizhang@google.com>
2024-07-26 12:03:52 -07:00
Kevin Hannon
a1bbae8168 fix resource health status test failures in unlabeled jobs 2024-07-26 09:43:48 -04:00
Kubernetes Prow Robot
3a8a60eba2 Merge pull request #126240 from bzsuni/bz/etcd/update/v3.5.15
Update etcd to v3.5.15
2024-07-26 04:58:05 -07:00
Kubernetes Prow Robot
5f5c02da51 Merge pull request #124012 from Jefftree/le-controller
Coordinated Leader Election
2024-07-25 13:05:53 -07:00
Kubernetes Prow Robot
e9d9a82839 Merge pull request #124101 from haircommander/process_stats-with-pid-fix
kubelet: fix PID based eviction
2024-07-25 11:59:57 -07:00
Sergey Kanzhelev
300128de65 succeeded pod is being re-admitted 2024-07-25 17:45:27 +00:00
Maciej Skoczeń
1747483922 Add larger scheduler_perf test cases 2024-07-25 14:20:51 +00:00
Kubernetes Prow Robot
b95f9c32d6 Merge pull request #126282 from macsko/fix_scheduler_perf_tests_taking_too_long
Init etcd and apiserver per test case in scheduler_perf integration tests
2024-07-25 02:04:46 -07:00
Maciej Skoczeń
98be7dfc5d Change structure of NodeToStatus map in scheduler 2024-07-25 07:48:35 +00:00
bzsuni
4ad2cd9299 Update etcd from v3.5.14 to v3.5.15
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-07-25 10:48:34 +08:00
Kubernetes Prow Robot
6ac20677c7 Merge pull request #126274 from ConnorJC3/flaky-vac-test
De-flake VAC tests by returning new PVC from WaitForVolumeModification
2024-07-24 15:39:52 -07:00
Jefftree
56b278d5d2 fix flake in TestLeaseCandidateCleanup 2024-07-24 14:41:13 +00:00
Jefftree
0c774d0b1f Change PingTime to be persistent 2024-07-24 14:41:13 +00:00
Jefftree
6407f32db2 fix etcd data 2024-07-24 14:38:13 +00:00
Jefftree
fac7581640 feedback: leasecandidate clients 2024-07-24 14:38:12 +00:00
Dr. Stefan Schimanski
68226b0501 Review feedback
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-07-24 14:38:12 +00:00
Jefftree
e0c6987ca8 add gc and improve testing 2024-07-24 14:38:11 +00:00
Jefftree
c47ff1e1a9 CLE controller and client changes 2024-07-24 14:38:11 +00:00