kannon92
2da3e839b0
remove ValidateJobSpec and add more test cases to batch validation
2023-03-01 20:39:47 +00:00
Kubernetes Prow Robot
60eefa8066
Merge pull request #115425 from pohly/scheduler-perf-benchstat
...
scheduler perf: benchstat support
2023-03-01 11:19:29 -08:00
Kubernetes Prow Robot
5b07dd0c54
Merge pull request #115413 from pacoxu/etcd-dep-update
...
upgrade etcd deps to v3.5.7
2023-03-01 11:19:18 -08:00
Kubernetes Prow Robot
fe671737ec
Merge pull request #116181 from pohly/dra-test-driver-update
...
e2e: dra test driver update
2023-03-01 10:10:39 -08:00
Kubernetes Prow Robot
10045196be
Merge pull request #116164 from justinsb/cleanup_dead_code_in_test
...
e2e: Remove dead code in tests
2023-03-01 10:09:31 -08:00
Kubernetes Prow Robot
e2fff53f43
Merge pull request #115859 from gjkim42/deflake-TestDirty
...
Deflake tests in `staging/src/k8s.io/kube-aggregator/pkg/apiserver`
2023-03-01 10:09:19 -08:00
Kubernetes Prow Robot
44bedc2a46
Merge pull request #116176 from aojea/testpingspdy
...
start to count time since the connection was actually established
2023-03-01 07:05:29 -08:00
Kubernetes Prow Robot
8cd4211630
Merge pull request #116033 from chengjoey/fix/apiserver-metrics
...
fix apiserver metrics `RecordsWatchCacheCapacityChange` use watchCacheCapacity as increase total
2023-03-01 07:05:17 -08:00
Patrick Ohly
74785074c6
e2e dra: update logging
...
When running as part of the scheduler_perf benchmark testing, we want to print
less information by default, so we should use V to limit verbosity
Pretty-printing doesn't belong into "application" code. I am moving that into
the ktesting formatting (https://github.com/kubernetes/kubernetes/pull/116180 ).
2023-03-01 15:02:03 +01:00
Patrick Ohly
106fce6fae
e2e dra: improve goroutine handling
...
There is an API now to wait for informer factory goroutine termination.
While at it, an incorrect comment for mutex locking gets removed.
2023-03-01 15:00:30 +01:00
Justin SB
50a025acdb
e2e: Remove dead code in tests
...
We were building a local pod variable that we were no longer using.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2023-03-01 08:08:33 -05:00
Kubernetes Prow Robot
9ef145d3a7
Merge pull request #116127 from pacoxu/negative-grace-period
...
retry for negative TerminationGracePeriodSeconds update
2023-03-01 04:29:16 -08:00
Antonio Ojea
d6f81c01f4
start to count time since the connection was actually established
...
Change-Id: Ib4986fb362600b760a4a853513d739f2d665836e
2023-03-01 11:58:57 +00:00
John Howard
b99fe0d5b9
client-go: support Shutdown()
for metadata and dynamic informers ( #114434 )
...
* client-go: support `Shutdown()` for metadata and dynamic informers
Followup to https://github.com/kubernetes/kubernetes/pull/112200 ,
specifically
https://github.com/kubernetes/kubernetes/pull/112200#issuecomment-1344812038 .
* add comments
* Defer lock
2023-02-28 23:09:17 -08:00
Paco Xu
7d8437933e
retry on conflict for negative TerminationGracePeriodSeconds update
2023-03-01 12:55:58 +08:00
Kubernetes Prow Robot
a023a5eb17
Merge pull request #115988 from justinsb/prunev2_add_labels
...
prunev2: Add labels for objects that we apply
2023-02-28 20:33:16 -08:00
Gunju Kim
e24e3de379
Deflake tests in staging/src/k8s.io/kube-aggregator/pkg/apiserver
...
`waitForEmptyQueue` cannot guarantee that all items in the queue have
been synced completely but guarantee that all items have been started.
This adds `waitForQueueComplete` and implements `completerWorkqueue` to
check if the workqueue is complete to deflake the tests in
staging/src/k8s.io/kube-aggregator/pkg/apiserver.
2023-03-01 13:29:17 +09:00
Gunju Kim
e7d8dfb5a0
Fix a data race in TestDirty
...
This uses atomic.Bool as updating and reading a boolean-type variable
concurrently is not thread-safe.
2023-03-01 13:23:27 +09:00
Paco Xu
b5dbb33da9
upgrade etcd deps to v3.5.7
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-03-01 12:14:52 +08:00
Kubernetes Prow Robot
93a5181871
Merge pull request #116022 from nilekhc/reference-implementation-provider
...
[kmsv2] feat: add kms mock plugin for e2e tests
2023-02-28 17:57:17 -08:00
Nilekh Chaudhari
43acba8084
feat: kms base64 plugin for e2e tests
...
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-03-01 00:11:17 +00:00
Kubernetes Prow Robot
9b213330f5
Merge pull request #116153 from alexzielenski/podsecurity-featuregate-re-enable
...
skip special features in TestPodSecurityGAOnly
2023-02-28 16:07:23 -08:00
Kubernetes Prow Robot
11ff3fbeee
Merge pull request #116090 from abserari/patch-1
...
Typo: fix EndpointsLeasesResourceLock ->ConfigMapsLeasesResourceLock
2023-02-28 16:07:16 -08:00
Kubernetes Release Robot
23909d3c2c
CHANGELOG: Update directory for v1.26.2 release
2023-02-28 22:56:38 +00:00
Kubernetes Prow Robot
a1f4fa0b0c
Merge pull request #116141 from thockin/codegen_script_wide_vars
...
Codegen: set LC_ALL and unset GREP_OPTIONS
2023-02-28 14:54:23 -08:00
Kubernetes Prow Robot
f22060cda6
Merge pull request #116140 from dashpole/fix_nobody_tracing
...
Update otelhttp dependency to v0.35.1
2023-02-28 14:54:16 -08:00
Kubernetes Prow Robot
de995809d0
Merge pull request #116130 from pohly/test-golangci-lint-improvements
...
golangci-lint improvements
2023-02-28 14:54:07 -08:00
Kubernetes Prow Robot
a683997964
Merge pull request #116128 from wojtek-t/event_metrics
...
Add metrics for number of events received from etcd
2023-02-28 14:54:00 -08:00
Kubernetes Prow Robot
6e202d6fdb
Merge pull request #116116 from ahg-g/ahg-mutable-job-ga
...
Graduate JobMutableNodeSchedulingDirectives feature to GA
2023-02-28 14:53:52 -08:00
Kubernetes Prow Robot
1efc044598
Merge pull request #116105 from thockin/codegen-15-subprojects
...
Fix codegen for older bash
2023-02-28 14:53:45 -08:00
Kubernetes Prow Robot
0469455ff7
Merge pull request #116082 from mimowo/fix-oomkiller-test
...
Fix the flaky OOMKiller test by sleep at start
2023-02-28 14:53:37 -08:00
Kubernetes Prow Robot
6a25c528bb
Merge pull request #115891 from bart0sh/PR103-CRI-add-CDI-devices
...
DRA: Pass CDI devices with a new CRI field
2023-02-28 14:53:28 -08:00
Kubernetes Prow Robot
bd1435dccd
Merge pull request #114016 from songxiao-wang87/runwxs-test3
...
word misspelling
2023-02-28 14:53:16 -08:00
Patrick Ohly
cc4bcd1d8e
scheduler_perf: report data items as benchmark results
...
This replaces the pretty useless us/op metric (useless because it includes
setup and teardown times) with the same values that also get stored in the JSON
file.
The main advantage is that benchstat can be used to analyze and compare
results.
2023-02-28 23:08:23 +01:00
Patrick Ohly
961129c5f1
scheduler_perf: add logging flags
...
This enables testing of different real production configurations (JSON
vs. text, different log levels, contextual logging).
2023-02-28 23:08:17 +01:00
Patrick Ohly
00d1459530
test/utils: extend ktesting
...
The upstream ktesting has to be very flexible to accommodate different ways of
using it. In Kubernetes, we can be opinionated and make certain choices, like
using klog flags, and only those.
2023-02-28 23:06:00 +01:00
Patrick Ohly
c008732948
test/integration: add StartEtcd
...
In contrast to EtcdMain, it can be called by individual tests or benchmarks and
each caller will get a fresh etcd instance. However, it uses the same
underlying code and the same port for all instances, so tests cannot run in
parallel.
2023-02-28 23:05:17 +01:00
Kubernetes Release Robot
27ec02e076
CHANGELOG: Update directory for v1.25.7 release
2023-02-28 21:51:56 +00:00
Alexander Zielenski
9ef1fc543f
skip special features in TestPodSecurityGAOnly
...
was causing some alpha/beta features to be disabled after running sometimes
2023-02-28 13:21:35 -08:00
Kubernetes Release Robot
c4ca8ccf3c
CHANGELOG: Update directory for v1.23.17 release
2023-02-28 21:06:52 +00:00
Kubernetes Release Robot
a003138bf7
CHANGELOG: Update directory for v1.24.11 release
2023-02-28 20:22:51 +00:00
Wojciech Tyczyński
85359d74ed
Add metrics for number of events received from etcd
2023-02-28 20:30:17 +01:00
Kubernetes Prow Robot
18eea58ac2
Merge pull request #115359 from iancoolidge/devel-cpuset
...
More code-review changes from k/utlils cpuset review
2023-02-28 10:55:16 -08:00
Justin SB
ab05830840
prunev2: Add labels for objects that we apply
...
As we apply objects when using apply/prune v2, we want to be sure they
include the label that ties them back to the applyset they are part
of.
Co-Authored-By: Katrina Verey <katrina.verey@shopify.com>
2023-02-28 13:27:33 -05:00
Tim Hockin
6a09ba8f52
Codegen: set LC_ALL and unset GREP_OPTIONS
...
LC_ALL is always wanted and GREP_OPTIONS is never wanted. The `grep
--color=never` dates back to 2016, an issue with OLD grep on Macs, which
was hard to deal with when this was all Makefile magic. Now that it's a
script, we can do it simpler.
2023-02-28 10:17:52 -08:00
David Ashpole
e0d44fd216
update otelhttp to v0.35.1
2023-02-28 17:52:30 +00:00
Ed Bartosh
5a86895070
DRA: pass CDI devices through CRI CDIDevice field
2023-02-28 19:21:20 +02:00
Ed Bartosh
fb3f8ac3c3
CRI: add CDIDevice to the ContainerConfig
2023-02-28 19:21:11 +02:00
Kubernetes Prow Robot
e519921666
Merge pull request #115940 from ahg-g/ahg-mutable-ga
...
Allow mutating schedulingGates in the Pod template for suspended Jobs
2023-02-28 08:51:17 -08:00
Patrick Ohly
fa98647a30
golangci-lint: update logcheck original-url
2023-02-28 17:22:33 +01:00