Commit Graph

109396 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bd1c9c1c5b
Merge pull request #110388 from sanposhiho/graduate-mindomain-beta
Graduate MinDomains in Pod Topology Spread to beta
2022-07-18 15:36:06 -07:00
Kubernetes Prow Robot
8af2c50201
Merge pull request #110762 from pandaamanda/windows_default_proxy
kube-proxy: kernelspace mode is announced to be default for windows
2022-07-18 11:45:15 -07:00
Kubernetes Prow Robot
ff20035ef8
Merge pull request #110813 from vpnachev/apiserver/create-dir-for-audit-log-path
Ensure the directory for the file in flag `--audit-log-path` exists
2022-07-18 09:35:15 -07:00
Kevin Delgado
d815449ae5 Adjust testing for server-side validation as default 2022-07-18 16:16:00 +00:00
Marcus Puckett
5badb731a8
Revert "Move kubectl wait to informers with a cache to avoid hanging due to objects disappearing from the cluster" 2022-07-18 08:48:29 -07:00
Kevin Delgado
36dbecd438 Enable ServerSideFieldValidation feature gate on by default in beta 2022-07-18 15:35:02 +00:00
Kevin Delgado
c210483cf0 update kjson 2022-07-18 14:55:12 +00:00
Kevin Delgado
d983fd8078 Add server-side metadata unknown field validation 2022-07-18 14:55:12 +00:00
Dan Williams
f197509879 proxy: queue syncs on node events rather than syncing immediately
The proxies watch node labels for topology changes, but node labels
can change in bursts especially in larger clusters. This causes
pressure on all proxies because they can't filter the events, since
the topology could match on any label.

Change node event handling to queue the request rather than immediately
syncing. The sync runner can already handle short bursts which shouldn't
change behavior for most cases.

Signed-off-by: Dan Williams <dcbw@redhat.com>
2022-07-18 09:21:52 -05:00
Arda Güçlü
8eb50efefc Add unit tests for explain command 2022-07-18 16:13:21 +03:00
Artur Żyliński
b1e12b01b6 Add audit-id to storage traces
Refactor GetAuditIDTruncated to use context instead of request
2022-07-18 14:10:00 +02:00
Kubernetes Prow Robot
5108b0a3a0
Merge pull request #111189 from Octopusjust/k8s-pr4
Add testcases for cmd/kubeadm/app/util/net.go and version.go
2022-07-18 02:49:27 -07:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
chymy
a1fd50d53a kubeadm: fix comment typo
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-07-18 16:48:29 +08:00
Kubernetes Prow Robot
3987c8ad91
Merge pull request #111134 from ldsdsy/modify1
Improve the accuracy of output msg in pkg/controller/endpoint/endpoints_controller.go
2022-07-17 23:51:15 -07:00
Octopusjust
db0bfd8727
Update version_test.go
run ./hack/verify-gofmt.sh
2022-07-18 14:15:06 +08:00
ldsdsy
dbe1331371 Remove redundant code in pkg/scheduler/framework/plugins/volumebinding/volume_binding.go 2022-07-18 11:23:37 +08:00
ldsdsy
2f1168d9a5 Format the code in pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go 2022-07-18 11:03:33 +08:00
zhoumingcheng
d5ed07c8eb Update error log to Error Wrapping
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-07-18 10:54:54 +08:00
pandaamanda
fbe934da21 kube-proxy: kernelspace mode is announced to be default for windows 2022-07-18 01:04:56 +00:00
Lee Verberne
1dd3879da0
Fix error message in attach_test.go
Co-authored-by: Akanksha kumari <akankshakumari393@gmail.com>
2022-07-17 12:38:26 +02:00
Antonio Ojea
586a3d4ac5 refactor controlplane to use just one client-go 2022-07-16 13:36:32 +02:00
Kubernetes Prow Robot
5b92e46b22
Merge pull request #110706 from prateekgogia/cloudprovider-284
Add rate limiting when calling STS assume role API
2022-07-16 00:28:59 -07:00
Kubernetes Prow Robot
e8410006ac
Merge pull request #107042 from kkkkun/update_metrics_bucket
Update etcdRequestLatency metrics bucket size
2022-07-16 00:28:52 -07:00
Kubernetes Prow Robot
98aab0a00d
Merge pull request #111171 from MadhavJivrajani/conversion-fix
cacher: Use PodList type for use in GetList
2022-07-15 19:00:53 -07:00
ZhangYu
ba80421254 Add testcases for cmd/kubeadm/app/util/net.go and version.go 2022-07-16 09:23:48 +08:00
Kubernetes Prow Robot
a156de9661
Merge pull request #111169 from HecarimV/fix-22071511
Remove redundant variable definitions in apis/autoscaling
2022-07-15 16:49:21 -07:00
Kubernetes Prow Robot
9d59f95a11
Merge pull request #111138 from kidddddddddddddddddddddd/two_default_ingressClasses
Fix failing e2e test: Handle two default IngressClasses more cleanly
2022-07-15 16:49:09 -07:00
Kubernetes Prow Robot
d6f4a5d04a
Merge pull request #111062 from SataQiu/fix-scheduler-20220711
scheduler: using math.MinInt64 instead of -math.MaxInt64
2022-07-15 10:42:18 -07:00
Lee Verberne
8d4ec9ac9d Fix incorrect message when attaching to ephemeral containers 2022-07-15 19:23:24 +02:00
Kubernetes Prow Robot
d96891255f
Merge pull request #111176 from p0lyn0mial/upstream-cacher-refactor-for-streaming
refactor the reflector to pave the way for streaming
2022-07-15 09:24:53 -07:00
Kubernetes Prow Robot
f8e80d32c0
Merge pull request #111135 from thockin/yamlfmt-print-filenames
Make yamlfmt tool print filenames
2022-07-15 03:46:25 -07:00
kidddddddddddddddddddddd
a76c0f9898 select the lower name ingressClass in e2e 2022-07-15 18:17:57 +08:00
Kubernetes Prow Robot
a0fe0d6b37
Merge pull request #111131 from thockin/coverage-handle-relative-paths
Make coverage handle relative-path pkgs
2022-07-15 02:26:25 -07:00
Lukasz Szaszkiewicz
63b125d406 reflector: simplify reading the resourceVersion 2022-07-15 11:22:28 +02:00
Kubernetes Prow Robot
63822660f0
Merge pull request #110880 from yangjunmyfm192085/fixnegativevalue
When metrics are counted, discard the wrong container StartTime metrics
2022-07-15 01:04:36 -07:00
Kubernetes Prow Robot
b3057e7ccc
Merge pull request #106834 from mengjiao-liu/sysctl-allow-slashes
Add support for slash as sysctl separator to Pod securityContext field and to PodSecurityPolicy
2022-07-15 01:04:24 -07:00
Lukasz Szaszkiewicz
6fc09008de reflector: move LIST to its own method 2022-07-15 09:53:11 +02:00
Lukasz Szaszkiewicz
e9e26068b7 reflector: refactor watchHandler 2022-07-15 09:43:57 +02:00
BinacsLee
f649df4c12 Re-Generate k8s.io/apimachinery/pkg/util/sets 2022-07-15 15:29:53 +08:00
Madhav Jivrajani
487761f4e2 cacher: Use PodList type for use in GetList
Using a Pod type in a GetList() call in a test
can panic at worst and error out at best. Here,
neither happened because the error condition
being tested for (cacher being stopped or not)
gets returned before the list pointer can be
enforced.

This commit changes the above to use PodList.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-07-15 12:22:04 +05:30
HaoJie Liu
66205bb313
Remove redundant variable definitions in apis/autoscaling
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-15 14:03:59 +08:00
Kubernetes Prow Robot
d14ba948ef
Merge pull request #111081 from HecarimV/fix-22071210
Fix: some typo in apimachinery/pkg
2022-07-14 19:44:25 -07:00
JunYang
c71e3a7802 When metrics are counted, discard the wrong container startup time metrics 2022-07-15 08:56:12 +08:00
Prateek Gogia
3f412cdf5d Update naming for a const 2022-07-14 19:16:51 -05:00
Prateek Gogia
b346cedefb Add rate limiting when calling STS assume role API 2022-07-14 19:16:51 -05:00
Kubernetes Prow Robot
7e2c02d4c8
Merge pull request #111133 from thockin/comment-build_binaries_for_platform
Add comment on build_binaries_for_platform
2022-07-14 16:26:47 -07:00
Kubernetes Prow Robot
08117cdd76
Merge pull request #111132 from thockin/remove-unused-platform-envs-func
Remove unused `unset_platform_envs` func
2022-07-14 16:26:36 -07:00
Kubernetes Prow Robot
db345360f3
Merge pull request #111129 from thockin/makefile-sort-debug-by-time
Makefile: sort debug output by time
2022-07-14 16:26:25 -07:00
Kubernetes Prow Robot
dd47702273
Merge pull request #111146 from pacoxu/patch-2
kubeadm: UnversionedKubeletConfigMap is GAed in v1.25
2022-07-14 14:37:23 -07:00