Kubernetes Prow Robot
c50579afb1
Merge pull request #109873 from wojtek-t/migrate_repair_to_new_events
...
Migrate ipallocator and portallocator to new Events API
2022-05-11 05:01:14 -07:00
Kubernetes Prow Robot
efb62b3538
Merge pull request #108080 from astoycos/issue-132
...
Fix Panic Condition
2022-05-11 05:01:02 -07:00
Kubernetes Prow Robot
b74d023e70
Merge pull request #109694 from RyanAoh/fix-108837
...
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 21:28:50 -07:00
Kubernetes Prow Robot
5ebf1e8d93
Merge pull request #109950 from swetharepakula/fix-glbc-rbac
...
Add leases permissions to glbc rbac
2022-05-10 17:28:49 -07:00
Swetha Repakula
2fcbb92681
Add leases permissions to glbc rbac
...
* required for leader election for ingress-gce
2022-05-10 15:49:15 -07:00
Kubernetes Prow Robot
cf64022a0f
Merge pull request #109896 from superbrothers/kubectl-delete-fix-discovery-cache-ttl
...
Fix discovery cache TTL to 6 hours
2022-05-10 14:33:36 -07:00
Kubernetes Prow Robot
517dd4ccfe
Merge pull request #109822 from claudiubelu/windows-node-name
...
tests: Include the Windows node name in the exception
2022-05-10 14:33:25 -07:00
Kubernetes Prow Robot
33b2e16372
Merge pull request #107213 from mk46/portname_validation
...
Fixed port name validation error message.
2022-05-10 10:03:42 -07:00
Kubernetes Prow Robot
cc66198570
Merge pull request #108492 from kerthcet/feature/add-NodeInclustionPolicies
...
Add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
2022-05-10 08:41:43 -07:00
Andrew Stoycos
6aa779f4ed
Fix Panic Condition
...
Currenlty an event recorder can send an event to a
broadcaster that is already stopped, resulting
in a panic. This ensures the broadcaster holds
a lock while it is shutting down and then forces
any senders to drop queued events following
broadcaster shutdown.
It also updates the Action, ActionOrDrop, Watch,
and WatchWithPrefix functions to return an error
in the case where data is sent on the closed bradcaster
channel rather than panicing.
Lastly it updates unit tests to ensure the fix works correctly
fixes: https://github.com/kubernetes/kubernetes/issues/108518
Signed-off-by: Andrew Stoycos <astoycos@redhat.com>
2022-05-10 09:52:08 -04:00
Kubernetes Prow Robot
aa4150cc44
Merge pull request #109928 from zlabjp/fix-reserved-allocator-dup
...
Fix ServiceIPStaticSubrange assigns duplicate IP addresses
2022-05-10 05:18:15 -07:00
Kubernetes Prow Robot
e38dba7a15
Merge pull request #109925 from MikeSpreitzer/more-better-bench
...
Simplify and extend the benchmarks of prometheusextension timing histograms
2022-05-10 05:18:08 -07:00
Kubernetes Prow Robot
8245695028
Merge pull request #109919 from stevekuznetsov/skuznets/clarify-integration-namespace
...
test/integration: clarify namespace utilities
2022-05-10 05:17:56 -07:00
Kubernetes Prow Robot
ccb7118c22
Merge pull request #109914 from stevekuznetsov/skuznets/generic-watch-cancel-test
...
storage/testing: move cancelled watch test to generic package
2022-05-10 05:17:44 -07:00
Kubernetes Prow Robot
0ee7906524
Merge pull request #109909 from stevekuznetsov/skuznets/generic-create-test
...
storage/testing: move creation test to generic package
2022-05-10 04:05:43 -07:00
Takashi Kusumi
15fac8ab96
Fix ServiceIPStaticSubrange assigns duplicate IP addresses
2022-05-10 17:56:31 +09:00
Kubernetes Prow Robot
d60fb258d9
Merge pull request #109874 from jackfrancis/IPv6DualStack-ga-rm-featuregate
...
azure: remove GA IPv6DualStack feature-gate
2022-05-09 23:33:44 -07:00
kerthcet
02f0a3ee91
feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-10 12:54:49 +08:00
Mike Spreitzer
f3068efcfb
Simplify and extend the benchmarks of timing histograms
...
Replace the use of a clock abstraction with direct provision of the
time-reading function.
Add benchmarks of two ways to fetch and use a vector member.
Following are the results using the revised benchmark suite.
(base) mspreitz@mjs12 prometheusextension % go test -benchmem -run=^$ -bench Histogram .
goos: darwin
goarch: amd64
pkg: k8s.io/component-base/metrics/prometheusextension
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkTimingHistogramDirect-16 28562178 39.47 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltCached-16 29268819 39.41 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltFetched-16 8345041 142.5 ns/op 32 B/op 1 allocs/op
BenchmarkWeightedHistogram-16 49803134 24.22 ns/op 0 B/op 0 allocs/op
BenchmarkHistogram-16 41756210 29.40 ns/op 0 B/op 0 allocs/op
PASS
ok k8s.io/component-base/metrics/prometheusextension 6.488s
(base) mspreitz@mjs12 prometheusextension % go test -benchmem -run=^$ -bench Histogram .
goos: darwin
goarch: amd64
pkg: k8s.io/component-base/metrics/prometheusextension
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkTimingHistogramDirect-16 28246786 39.60 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltCached-16 29318173 39.44 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltFetched-16 8441341 142.5 ns/op 32 B/op 1 allocs/op
BenchmarkWeightedHistogram-16 48469184 24.21 ns/op 0 B/op 0 allocs/op
BenchmarkHistogram-16 41001742 29.51 ns/op 0 B/op 0 allocs/op
PASS
ok k8s.io/component-base/metrics/prometheusextension 6.340s
(base) mspreitz@mjs12 prometheusextension % go test -benchmem -run=^$ -bench Histogram .
goos: darwin
goarch: amd64
pkg: k8s.io/component-base/metrics/prometheusextension
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkTimingHistogramDirect-16 28983674 40.82 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltCached-16 29527742 43.83 ns/op 0 B/op 0 allocs/op
BenchmarkTimingHistogramVecEltFetched-16 8238685 143.8 ns/op 32 B/op 1 allocs/op
BenchmarkWeightedHistogram-16 49594070 24.24 ns/op 0 B/op 0 allocs/op
BenchmarkHistogram-16 41100378 29.35 ns/op 0 B/op 0 allocs/op
PASS
ok k8s.io/component-base/metrics/prometheusextension 6.554s
2022-05-09 23:21:49 -04:00
Aohan Yang
774df1b0af
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 10:25:26 +08:00
Kubernetes Prow Robot
5fdbfbcd4a
Merge pull request #109921 from endocrimes/dani/use-newer-tf-image
...
node-perf: use tf-wide-deep:1.2
2022-05-09 19:07:42 -07:00
Kubernetes Prow Robot
8a4f82c6de
Merge pull request #109852 from pacoxu/DownwardAPIHugePages
...
do not skip DownwardAPIHugePages
2022-05-09 16:29:42 -07:00
Steve Kuznetsov
2e118f4246
storage/testing: move creation test to generic package
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 13:46:24 -07:00
Steve Kuznetsov
6d25e96ced
etcd3/store: make creation test validation generic
...
Different callers to this test may need to do different backend-specific
validation on the stored data, so we allow them a callback for this.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 13:46:22 -07:00
Kubernetes Prow Robot
685b55e88b
Merge pull request #109843 from BenTheElder/sigh
...
correct coverage MainStart argument order
2022-05-09 13:42:33 -07:00
Kubernetes Prow Robot
d0832102a7
Merge pull request #106415 from ahrtr/replace_ioutil_with_io_os_test_image_version
...
Replace ioutil with os and io for the test/images
2022-05-09 12:36:32 -07:00
Kubernetes Prow Robot
b059f99951
Merge pull request #109901 from aojea/integration_shutdown
...
integration: force close httpserver on exit
2022-05-09 11:17:30 -07:00
Kubernetes Prow Robot
9fe1a0aa1f
Merge pull request #109888 from sanposhiho/patch-3
...
Add sanposhiho to SIG Scheduling reviewers
2022-05-09 11:17:18 -07:00
Danielle Lancashire
8756e9c027
node-perf: use tf-wide-deep:1.2
2022-05-09 16:58:18 +00:00
Steve Kuznetsov
173c1da99e
test/integration: clarify namespace utilities
...
For a developer that's not very familiar with the integration flow, it
is very surprising to see that the namespace creation logic does not
create anything and that the namespace deletion logic does not delete
anything, either.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 09:57:01 -07:00
Steve Kuznetsov
1f24bd91c3
storage/testing: move cancelled watch test to generic package
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 09:19:07 -07:00
Kubernetes Prow Robot
b53be1d66e
Merge pull request #109879 from zzr93/master
...
wake up only when pod being added to activeQ
2022-05-09 09:09:18 -07:00
Steve Kuznetsov
c0fc817255
etcd3/store: call a generic cancelled watch test
...
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 08:23:03 -07:00
Steve Kuznetsov
774870611c
etcd3/store: update cancelled watch test to be generic
...
There's no reason to create the watch using the underlying watcher.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 08:22:04 -07:00
Steve Kuznetsov
f894f8196d
etcd3/store: update creation test to use storage client
...
There is no functional difference between checking for an empty key
using the database client and doing so with the storage interface. Using
the latter allows this test to be more portable.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 07:59:38 -07:00
Antonio Ojea
eba27127db
integration: force close httpserver on exit
2022-05-09 16:18:26 +02:00
Kubernetes Prow Robot
543893cbb0
Merge pull request #109899 from wojtek-t/cleanup_apiserver_holder
...
Minor cleanup in apiserver startup in integration tests
2022-05-09 06:33:31 -07:00
Kubernetes Prow Robot
d9780798ba
Merge pull request #109849 from pacoxu/fix-data-race
...
fix data race in device manager plugin hander
2022-05-09 06:33:20 -07:00
Kubernetes Prow Robot
4717a59097
Merge pull request #109734 from kidddddddddddddddddddddd/enhance_assertions_auth
...
test/e2e/auth: enhance assertions
2022-05-09 03:29:18 -07:00
Wojciech Tyczyński
d1c9042f57
Unify apiserver startup in integration tests
2022-05-09 12:08:38 +02:00
Kubernetes Prow Robot
d45cff7116
Merge pull request #109872 from ialidzhikov/nit/changelog
...
Clean up wrong release note
2022-05-09 01:35:19 -07:00
Wojciech Tyczyński
f1d901861b
Migrate ipallocator and portallocator to new Events API
2022-05-09 09:37:47 +02:00
ahrtr
584d994133
replace all the deprecated ioutil with io and os
2022-05-09 15:27:13 +08:00
Kubernetes Prow Robot
e8ac6d8a8e
Merge pull request #109897 from Huang-Wei/apiserver-sched-int-test
...
Refactor scheduler integration test that starts APIServer in a non-standarized manner
2022-05-09 00:07:18 -07:00
Wei Huang
c96109a321
Refactor scheduler integration test that starts APIServer in a non-standarized manner
2022-05-08 22:28:13 -07:00
Kazuki Suda
d2b4c017c8
Fix discovery cache TTL to 6 hours
...
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2022-05-09 13:47:52 +09:00
Kubernetes Prow Robot
bf52c1fd46
Merge pull request #109891 from pohly/log-dependency-update
...
dependencies: logr and zapr v1.2.3
2022-05-08 17:59:18 -07:00
zzr93
923a99db95
unify wake up variable names to activated
2022-05-08 12:09:13 +08:00
Kensei Nakada
d2ec06c828
Add sanposhiho to SIG Scheduling reviewers
2022-05-08 12:39:47 +09:00
Kubernetes Prow Robot
7af5a7bfc5
Merge pull request #109602 from lavalamp/remove-clustername
...
Finish clustername removal
2022-05-07 08:01:16 -07:00