Commit Graph

106641 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6a5b3da1d8
Merge pull request #107236 from cyclinder/fix_bug_WaitForAttach
GCEPD: fix incorrect return value in WaitForAttach
2022-02-08 09:59:02 -08:00
Kubernetes Prow Robot
eda02deda2
Merge pull request #107785 from chendave/warn
kubeadm: warn only when config value is different with default value
2022-02-08 08:18:55 -08:00
Danielle Lancashire
c198062da4 cm: Remove legacy docker references
Dockershim and built-in Docker support are gone. Cleans up dead code
references to them.
2022-02-08 16:25:04 +01:00
Kubernetes Prow Robot
834349ed19
Merge pull request #107812 from diyi0926/add-field-path-back-to-event-logs
add fieldPath back to event logs
2022-02-08 07:12:54 -08:00
Kubernetes Prow Robot
5340ae0bae
Merge pull request #105483 from MadhavJivrajani/watch-cache-contention
cacher: Use watchCacheInterval to reduce lock contention
2022-02-08 03:56:55 -08:00
Kubernetes Prow Robot
6ef0f3f620
Merge pull request #103642 from kerthcet/refactor/unreserve_test
refactor unreserve test
2022-02-08 02:36:53 -08:00
Alex Wang
541907334e graduate nonpreemptingpriority to ga 2022-02-08 18:11:23 +08:00
Alex Wang
ca50e459b0 check activeQ len before pop 2022-02-08 18:05:05 +08:00
Kubernetes Prow Robot
131d145b7d
Merge pull request #107618 from pohly/log-flush-frequency-config-type
FlushFrequency config type
2022-02-08 01:00:54 -08:00
Kubernetes Prow Robot
79dafeb80c
Merge pull request #107995 from dims/use-zip-instead-of-git-archive
Use zip instead of git-archive
2022-02-07 21:42:53 -08:00
Kubernetes Prow Robot
7bffb3b2ca
Merge pull request #106241 from jdnurme/cloud-provider-env-var
Added env variable for cloud-provider
2022-02-07 20:40:53 -08:00
kerthcet
8243167013 refactor unreserve_test
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-08 11:37:56 +08:00
Kubernetes Prow Robot
5cee90c305
Merge pull request #107992 from tkashem/flake-timeout
fix flake in TestTimeoutHeaders
2022-02-07 19:20:53 -08:00
Kensei Nakada
1ac9444c00
Change the wordings and set the log level
Co-authored-by: Alex Wang <453102040@qq.com>
2022-02-08 11:16:42 +09:00
Davanum Srinivas
45f30d8a10
use zip instead of git-archive
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-02-07 19:02:03 -05:00
Kubernetes Prow Robot
c2ba0a4908
Merge pull request #101028 from lobziik/vsphere-zones-with-secret-creds
Fixes zone/region labels setup and kubelet stucking on startup if credentials stored in secret for legacy vSphere cloudprovider.
2022-02-07 15:18:53 -08:00
Abu Kashem
2ae70e85d2
fix flake in TestTimeoutHeaders 2022-02-07 14:38:34 -05:00
Madhav Jivrajani
7f2aa7ad3a cacher: Use watchCacheInterval to reduce lock contention
- Modify GetAllEventsSinceThreadUnsafe to return a watchCacheInterval
- Modify Watch() to compute a watchCacheInterval rather than a slice
  of all "initEvents" and pass this interval to process()
- Use interval::Next() to obtain events to process rather than obtain
  them all at once
- Modify tests accordingly to use interval
- On invalidation, stop processing and stop the watch.
- Make indexValidator injectable for testing
- Add unit test for verifying the behaviour of stopping the watch.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-02-07 19:59:22 +05:30
Kubernetes Prow Robot
9f791bbf5b
Merge pull request #107982 from SataQiu/fix-duplicated-altnames
kubeadm: fix the bug that 'kubeadm certs generate-csr' command does not remove duplicated SANs
2022-02-07 05:25:44 -08:00
Kubernetes Prow Robot
a266805f33
Merge pull request #107971 from liggitt/kubelet-round-trip
Fix kubelet cri round trip test
2022-02-07 02:01:45 -08:00
SataQiu
dcf959c782 kubeadm: fix the bug that 'kubeadm certs generate-csr' command does not remove duplicated SANs 2022-02-07 17:12:38 +08:00
hxie
83974e4940 Remove option 'T' from wget on Windows
Command 'wget' in Windows image agnhost does not support option timeout,
this test fails:
  - should be able to up and down services
2022-02-07 00:38:07 -08:00
Kubernetes Prow Robot
e1c16d24a1
Merge pull request #107975 from tkashem/refactor-webhook-duration
refactor: rename webhook duration tracker
2022-02-07 00:23:43 -08:00
Patrick Ohly
c62d7407c8 scheduler_perf: dump test data when writing it failed
Occasionally, writing as JSON failed because a NaN float couldn't be
encoded. The extended log message helps understand where that comes from, for
example:

F0120 20:24:45.515745  511835 scheduler_perf_test.go:540] BenchmarkPerfScheduling: unable to write measured data {Version:v1 DataItems:[{Data:map[Average:35.714285714285715 Perc50:2 Perc90:36 Perc95:412 Perc99:412] Unit:pods/s Labels:map[Metric:SchedulingThroughput Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:27.863967530999993 Perc50:13.925925925925926 Perc90:30.06711409395973 Perc95:31.85682326621924 Perc99:704] Unit:ms Labels:map[Metric:scheduler_e2e_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:11915.651577744 Perc50:15168.796680497926 Perc90:19417.759336099585 Perc95:19948.87966804979 Perc99:20373.77593360996] Unit:ms Labels:map[Metric:scheduler_pod_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:1.1865832049999983 Perc50:0.7636363636363637 Perc90:2.891903719912473 Perc95:3.066958424507659 Perc99:5.333333333333334] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Filter]} {Data:map[Average:NaN Perc50:NaN Perc90:NaN Perc95:NaN Perc99:NaN] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Score]}]}: json: unsupported value: NaN
2022-02-07 08:59:19 +01:00
Patrick Ohly
8d44b819b3 scheduler_perf: avoid ambiguous test names
"-bench=PerfScheduling/Preemption/500Nodes" ran both the
PerfScheduling/Preemption/500Nodes and the
PerfScheduling/PreemptionPVs/500Nodes benchmark.

This can be avoided by choosing names where none is the prefix of another.
2022-02-07 08:59:19 +01:00
Patrick Ohly
535d885c29 test: fix info message for etcd startup
The output redirection in the info message did not match the actual
invocation (stdout and stderr swapped).
2022-02-07 08:59:19 +01:00
Patrick Ohly
259a8ad0b7 test: allow controlling etcd log level
When running an integration test that measures performance, like for example
test/integration/scheduler_perf, running etcd with debug level output is
undesirable because it creates additional load on the system and isn't
realistic.

The default is still "debug", but ETCD_LOGLEVEL=warn can be used to override
that.
2022-02-07 08:59:19 +01:00
Patrick Ohly
1f341ee7b5 kube-scheduler: downgrade namespace log message from "error" to "info"
GetNamespaceLabelsSnapshot has a fallback when it gets errors when looking up a
namespace, therefore reporting the error is more informational than a real
error. In particular, not finding the namespace is normal when running
test/integration/scheduler_perf and happens so frequently that there is a lot
of output on stderr:

E0120 12:19:09.204768   95305 plugin.go:138] "getting namespace, assuming empty set of namespace labels" err="namespace \"namespace-1\" not found" namespace="namespace-1"
2022-02-07 08:59:19 +01:00
Marcus Puckett
8b541910c0 Update tests to account for new describe line for IngressClassName 2022-02-06 19:07:59 -08:00
Kubernetes Prow Robot
7f9fb6eaf0
Merge pull request #107877 from endocrimes/dani/default-no-docker
make test-e2e-node: default to containerd
2022-02-06 15:32:52 -08:00
sanposhiho
ed23e2162a Add log to see the extender's error 2022-02-07 02:50:08 +09:00
Jordan Liggitt
3a132bd206 Fix kubelet cri round trip test 2022-02-05 17:59:29 -05:00
Jordan Liggitt
064763ebdd Make JSON schema round tripping test more strict 2022-02-05 16:57:34 -05:00
Kubernetes Prow Robot
9b09612d1b
Merge pull request #107656 from dims/add-labels-when-there-are-sig-aliases-used-in-approvers-reviewers
Add labels when there sig aliases used in approvers/reviewers
2022-02-05 02:20:50 -08:00
Kubernetes Prow Robot
a274ec0afa
Merge pull request #107348 from smarterclayton/warn_about_admission
release-note: Describe issues around node admission in 1.22
2022-02-04 22:54:50 -08:00
Kubernetes Prow Robot
04969280be
Merge pull request #107961 from liggitt/x509
Add 1.23 release note for x509 commonname
2022-02-04 21:50:50 -08:00
Kubernetes Prow Robot
8dee712448
Merge pull request #107956 from benluddy/xvalidations-deepcopy
Deeply copy JSONSchemaProps.XValidations.
2022-02-04 20:18:56 -08:00
Jordan Liggitt
8dde08711f Add 1.23 release note for x509 commonname 2022-02-04 21:00:48 -05:00
John Howard
38478f7137 Regenerate CRI protos 2022-02-04 16:13:29 -08:00
John Howard
8ad2d04721 Update cri protos 2022-02-04 16:02:13 -08:00
Kubernetes Prow Robot
6410ddaba9
Merge pull request #107623 from bbarnes52/podtopologyoptimization
Optimize pod topology spread performance
2022-02-04 15:58:58 -08:00
John Howard
2f7bd23e2a Remove double boilerplate 2022-02-04 15:57:45 -08:00
John Howard
0f93e4da63 go-to-protobuf: regenerate with full go_package 2022-02-04 15:57:45 -08:00
John Howard
1723bb1f79 go-to-protobuf: use full path for go_package 2022-02-04 15:57:45 -08:00
Clayton Coleman
28198919f8
release-note: Describe issues around node admission in 1.22
The 1.22 release fixed an issue where pods that were terminating
were not always properly accounting for the resources they used.
As a consequence, certain workloads that saturate a single node with
pods may see increased pod creation failures until existing pods
fully terminate. Inform users of that change and link to where we
will resolve in the future.
2022-02-04 16:41:11 -05:00
Kubernetes Prow Robot
469c4c4a30
Merge pull request #106715 from aojea/dual_hostnet_pods
set secondary address on host-network pods
2022-02-04 12:17:30 -08:00
Ben Luddy
5af2984a37
Deeply copy JSONSchemaProps.XValidations. 2022-02-04 14:26:04 -05:00
Kubernetes Prow Robot
2a2e3db782
Merge pull request #107947 from soltysh/show_managedfields
Make ShowManagedFields public so printers users can tweak the value
2022-02-04 11:13:31 -08:00
Brian Barnes
4222d3a48e optimize pod topology spread 2022-02-04 10:27:58 -08:00
Kubernetes Prow Robot
c1190f5aa2
Merge pull request #107935 from ravisantoshgudimetla/wire-contexts-disruption
Wire contexts to Disruption controllers
2022-02-04 10:08:13 -08:00