Kubernetes Prow Robot
414990751e
Merge pull request #109519 from kerthcet/refactor/remove-unnecessary-code
...
cleanup: remove useless codes when checking Skip status
2022-05-11 13:27:02 -07:00
Kubernetes Prow Robot
564b204923
Merge pull request #109972 from wojtek-t/clean_shutdown_1
...
Clean shutdown of couple controllers in integration tests
2022-05-11 10:47:25 -07:00
Kubernetes Prow Robot
b91c5263f5
Merge pull request #109947 from alculquicondor/fix-job-orphan-pod-ut
...
Wait for cache to sync in job's TestWatchOrphanPods
2022-05-11 10:47:13 -07:00
Kubernetes Prow Robot
999b1bbe92
Merge pull request #108414 from aojea/cacher_context
...
cacher: don't accept requests if stopped
2022-05-11 10:47:02 -07:00
Kubernetes Prow Robot
c0f48d2a2e
Merge pull request #109781 from wojtek-t/fix_scheduler_tests
...
Close events recording sink in integration tests
2022-05-11 08:47:14 -07:00
Kubernetes Prow Robot
3bcbf3de11
Merge pull request #108884 from kerthcet/feature/implement-nodeInclusionPolicy
...
feat: implement node inclusion policy in scheduler
2022-05-11 08:47:02 -07:00
Wojciech Tyczyński
1fcc5d9eae
Clear shutdown in deployment integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
ca68691feb
Clear shutdown in replicationcontroller integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
c043535250
Clear shutdown in replicaset integration test
2022-05-11 17:05:31 +02:00
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
kerthcet
41e46a1bb4
cleanup: remove unnecessary codes
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 16:07:12 +08: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
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 07:51:18 +08: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
Aldo Culquicondor
a5f5eab5fd
Wait for cache to sync in job's TestWatchOrphanPods
...
Otherwise the event handler might not be called.
Change-Id: I23c93c2251b411430a0f2469686db6355d84af2f
2022-05-10 14:18:21 -04: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