Lubomir I. Ivanov
636f38a9fe
e2e_kubeadm: move chendave to emeritus
...
Technically an approver for cmd/kubeadm, so for this OWNERS
file there should be emeritus approver status.
2024-06-25 14:47:30 +03:00
Mengjiao Liu
9ae15e6022
Fixed metrics missing issue for metrics reference page
2024-06-25 17:44:47 +08:00
Francesco Romani
5b6fe2f8db
e2e: node: ensure no pod leaks in the container_manager test
...
During the debugging of https://github.com/kubernetes/kubernetes/pull/123468
it became quite evident there are unexpected pods, leftovers from
the container_manager_test. But we need stronger isolation among test
to have good signal, so we add these safeguards (xref:
https://github.com/kubernetes/kubernetes/pull/123468#issuecomment-1977977609
)
Signed-off-by: Francesco Romani <fromani@redhat.com >
2024-06-25 07:40:41 +02:00
Kubernetes Prow Robot
535e833aef
Merge pull request #125575 from dashpole/update_otel_27
...
Update opentelemetry dependencies to the latest release.
2024-06-24 21:01:46 -07:00
Kubernetes Prow Robot
921fb0b7c5
Merge pull request #125237 from aojea/ipmode_integration
...
improve loadbalancer IPMode testing
2024-06-24 19:22:43 -07:00
Kubernetes Prow Robot
d236a9127f
Merge pull request #125560 from jpbetz/apply-gen-fake
...
Add field management support to fake client-go typed client
2024-06-24 16:48:46 -07:00
Kubernetes Prow Robot
d5dd5b13a5
Merge pull request #125317 from jpbetz/fix-nop-empty-map
...
Fix non-semantic apply requests to ignore empty maps
2024-06-24 16:48:39 -07:00
Antonio Ojea
e7425cf71f
improve loadbalancer IPMode testing
2024-06-24 23:38:10 +00:00
Davanum Srinivas
1390ac0e25
Add sig/etcd labels for related directories
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-06-24 17:03:34 -04:00
Joe Betz
572b0d9fbf
Add integration test
2024-06-24 15:58:51 -04:00
David Ashpole
a3b7cb9374
fix tracing integration test
2024-06-23 15:56:57 +00:00
Kubernetes Prow Robot
8c508c5480
Merge pull request #125527 from sanposhiho/gated-pods-filter-out-bug
...
fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod
2024-06-21 12:22:55 -07:00
Kubernetes Prow Robot
da479a82eb
Merge pull request #125630 from liggitt/rollback-wait
...
Revert kubectl wait regression
2024-06-21 11:21:01 -07:00
Kubernetes Prow Robot
bdbd87be2b
Merge pull request #125596 from skitt/stretchr-testify-mock
...
Switch to stretchr/testify / mockery for mocks
2024-06-21 09:23:02 -07:00
Arda Güçlü
6f4e97e905
Remove deprecated kubectl exec command execution without dash ( #125437 )
...
* Remove deprecated kubectl exec command execution without dash
* Use command execution with dash in kubectl exec
* Modify unit tests to only use command after dash
2024-06-21 09:22:55 -07:00
Jordan Liggitt
b0fb79364a
Add test for wait with 0 timeout
2024-06-21 12:19:13 -04:00
Jordan Liggitt
8d67437865
Revert "Add new --wait-for-creation flag in kubectl wait command"
...
This reverts commit e24b9a022f .
2024-06-21 12:13:08 -04:00
Filip Křepinský
b779fb8387
add e2e tests for UnhealthyPodEvictionPolicy
2024-06-21 16:13:53 +02:00
Filip Křepinský
68d34580e0
promote PDBUnhealthyPodEvictionPolicy to GA
2024-06-21 16:13:53 +02:00
yintong.huang
2db1b321e0
drop deprecated PollWithContext and adopt PollUntilContextTimeout instead
...
Signed-off-by: yintong.huang <yintong.huang@daocloud.io >
2024-06-21 19:23:31 +08:00
Kensei Nakada
afed31193b
update a test name and comment
2024-06-20 23:46:17 +00:00
Kubernetes Prow Robot
b95fce1732
Merge pull request #122994 from ardaguclu/wait-non-existed-resources
...
kubectl wait: Introduce --wait-for-creation flag
2024-06-20 14:17:07 -07:00
Stephen Kitt
3f36c83c68
Switch to stretchr/testify / mockery for mocks
...
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.
Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-06-20 19:42:53 +02:00
Ben Luddy
7baa866cf2
Add interesting inputs to CBOR decode seed corpus.
2024-06-20 12:15:56 -04:00
Ben Luddy
a68f9712f7
Add CBOR fuzz test for unreasonable allocations during decode.
2024-06-20 12:10:33 -04:00
Marek Siarkowicz
038bbacb41
Fix tracing test for list nodes
2024-06-20 10:56:51 +02:00
Kubernetes Prow Robot
fc786fc6e8
Merge pull request #125552 from liggitt/fix-timeout-wiring
...
KEP-3221: Fix structured authorization webhook timeout wiring and detection
2024-06-19 19:00:16 -07:00
Kubernetes Prow Robot
aeed1d0e1a
Merge pull request #124842 from carlory/honor-pv-reclaim-policy-e2e
...
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:26:41 -07:00
Jordan Liggitt
c50f68d6ee
Fix structured authorization webhook timeout wiring
2024-06-19 15:36:36 -04:00
Kubernetes Prow Robot
4e25953c8b
Merge pull request #125485 from mimowo/refactor-job-e2e-for-conformance
...
Split Job e2e test to make them possible targets for conformance promotion
2024-06-19 10:06:41 -07:00
Maciej Skoczeń
7532e74117
Don't fail on churn delete in scheduler_perf tests when context canceled
2024-06-19 08:08:13 +00:00
carlory
4058178b8c
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:51:37 +08:00
Kubernetes Prow Robot
7dc30dce15
Merge pull request #125504 from macsko/scheduler_perf_gated_pods_test
...
scheduler_perf: Measure performance of scheduling when many gated pods
2024-06-18 12:40:02 -07:00
Kubernetes Prow Robot
3f9b79fc11
Merge pull request #125145 from xyz-li/fix_watch_namespace
...
apiserver: fix watch namespace
2024-06-18 10:39:44 -07:00
Maciej Skoczeń
05b2c14d64
Measure performance of scheduling when many gated pods
2024-06-18 12:39:21 +00:00
Maciej Skoczeń
c09440c691
Add possibility to delete pods at specified frequency in scheduler_perf tests
2024-06-18 09:40:50 +00:00
Kubernetes Prow Robot
5df8e15a84
Merge pull request #125562 from pohly/scheduler-perf-default-verbosity
...
scheduler_perf: fix setting default verbosity
2024-06-18 02:16:07 -07:00
Kubernetes Prow Robot
3b90ae4f58
Merge pull request #124548 from pohly/dra-scheduler-perf-structured-parameters
...
scheduler_perf: add DRA structured parameters test with shared claims
2024-06-18 02:15:58 -07:00
Kubernetes Prow Robot
0c955f7cbb
Merge pull request #124617 from bart0sh/PR144-e2e_node-DRA-test-plugin-failures
...
e2e_node: DRA: test plugin failures
2024-06-18 01:14:19 -07:00
Patrick Ohly
381c28407e
scheduler_perf: fix setting default verbosity
...
It needs to be set twice, once for ktesting+klog, once for
component-base/logs. The latter was not done before and thus quite a bit of log
output was produced with verbosity 0.
2024-06-18 08:44:16 +02:00
xyz-li
818fabe37b
apiserver: fix watch namespace
...
For request like '/api/v1/watch/namespaces/*', don't set scope.namespace.
Because the func `addWatcher` add a watcher to allWatchers with the value `scope.namespace` not empty.
But the function `dispatchEvent` dispatch event with an empty namespace.
Signed-off-by: xyz-li <hui0787411@163.com >
2024-06-18 11:53:28 +08:00
Mike Spreitzer
e8bb82cdf0
Increase noise margin for APF integration test
...
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com >
2024-06-17 17:37:44 -04:00
Patrick Ohly
d88a153086
scheduler_perf: add DRA structured parameters test with shared claims
...
Several pods sharing the same claim is not common, but can be useful and thus
should get tested.
Before, createPods and createAny operations were not able to do this because
each generated object was the same. What we need are different, predictable
names of the claims (from createAny) and different references to those in the
pods (from createPods). Now text/template processing with the index number of
the pod respectively claim as input is used to inject these varying fields. A
"div" function is needed to use the same claim in several different pods.
While at it, some existing test cases get cleaned up a bit (removal of
incorrect comments, adding comments for testing with queuing hints).
2024-06-17 10:13:22 +02:00
Francesco Romani
a5d771c911
node: memory manager: fix the mm metrics test
...
fixes for the memory manager tests by correctly restoring
the kubelet config after each test. We need to do before all
the related tests run, in order to make sure to restore the
correct values.
Add more debug facilities to troubleshoot further failures.
Signed-off-by: Francesco Romani <fromani@redhat.com >
2024-06-17 08:51:44 +02:00
Kensei Nakada
dd3af9a85b
fix: skip isPodWorthRequeuing only when SchedulingGates gates the pod
2024-06-17 01:14:34 +00:00
Kubernetes Prow Robot
debd99542f
Merge pull request #125478 from aroradaman/handle-index-error
...
e2e/framework/metrics: handle index out of bounds panic
2024-06-16 12:46:29 -07:00
Kubernetes Prow Robot
0fd6746b2a
Merge pull request #125518 from pohly/scheduler-perf-cleanup-fix
...
scheduler_perf: shut down apiserver clients before apiserver
2024-06-16 10:03:29 -07:00
Kubernetes Prow Robot
9de747cc01
Merge pull request #125434 from ffromani/e2e-node-annotate-pods
...
e2e: node: add feature to annotate pods with owning code
2024-06-16 04:27:28 -07:00
Daman Arora
9fd1a21693
e2e/framework/metrics: handle index out of bounds panic
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-06-15 00:42:11 +05:30
Lukasz Szaszkiewicz
6cc90d76db
e2e/apimachinery/watchlist: when comparing streamed data do not call the API directly instead use the added data.
2024-06-14 13:56:05 +02:00