Commit Graph

108160 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bd6c284583
Merge pull request #109244 from alexzielenski/clean-third-party-forks
remove unused/orphaned golang package forks
2022-05-03 19:29:35 -07:00
Kubernetes Prow Robot
35e2e6e03f
Merge pull request #109201 from MikeSpreitzer/watch-updoc
Update flag descriptions for watch cache
2022-05-03 19:29:27 -07:00
Kubernetes Prow Robot
abe06b3df5
Merge pull request #109175 from MikeSpreitzer/log-watch-cache-size
Log whether watch cache is used for particular resources
2022-05-03 19:29:16 -07:00
Kubernetes Prow Robot
520b991347
Merge pull request #109160 from logicalhan/inst-owners
update owner aliases for sig instrumentation
2022-05-03 18:25:07 -07:00
Kubernetes Prow Robot
44835a8d2f
Merge pull request #109150 from zzr93/master
cleanUp:check existence using basic method of set
2022-05-03 18:25:00 -07:00
Kubernetes Prow Robot
de68e86a95
Merge pull request #109139 from krmayankk/fixnits
fix some nits from API changes
2022-05-03 18:24:51 -07:00
Kubernetes Prow Robot
dbf2f1d833
Merge pull request #109103 from Dingshujie/fix_memory_leak
cpu/memory manager containerMap memory leak
2022-05-03 18:24:43 -07:00
Kubernetes Prow Robot
2d9d7287c1
Merge pull request #109101 from Shubham82/Update_resource_in_create_cmd
Update rs.extensions to rs.apps
2022-05-03 18:24:35 -07:00
Kubernetes Prow Robot
7ed4b59200
Merge pull request #109043 from Abirdcfly/fixtestpvc
fix volumebinding test in scheduler
2022-05-03 18:24:27 -07:00
Kubernetes Prow Robot
1b2de5cf01
Merge pull request #109042 from bjorand/network_panic_kubelet
kubelet: fix panic triggered when playing with a wip CRI
2022-05-03 18:24:20 -07:00
Kubernetes Prow Robot
05e3919b45
Merge pull request #109016 from klueska/refactor-devicemanager
Refactor all device-plugin logic into separate 'plugin' package under the devicemanager
2022-05-03 18:24:12 -07:00
Kubernetes Prow Robot
2845122e14
Merge pull request #108938 from stevekuznetsov/skuznets/more-correct-rv
pkg/storage/etcd3: correctly validate resourceVersions
2022-05-03 18:24:02 -07:00
Kubernetes Prow Robot
a19f8776ce
Merge pull request #108789 from kidlj/fix_pkg_name_mismatches
e2e/cleanup: fix package name and dir name mismatches
2022-05-03 18:23:55 -07:00
Kubernetes Prow Robot
8a437e171c
Merge pull request #108654 from Shubham82/note-serviceaccount_flag_for_multiple-times
Improvement: Updated the serviceaccount flag for multiple subjects.
2022-05-03 18:23:47 -07:00
Kubernetes Prow Robot
9ebaeaa929
Merge pull request #108503 from ehashman/stable-metrics-label
Update OWNERS file for stable metrics
2022-05-03 18:23:39 -07:00
Kubernetes Prow Robot
2d1f12942f
Merge pull request #108476 from ialidzhikov/cleanup/experimental-cluster-signing-duration
kube-controller-manager: Remove the deprecated `--experimental-cluster-signing-duration` flag
2022-05-03 18:23:31 -07:00
Kubernetes Prow Robot
7d3fd15200
Merge pull request #108409 from 249043822/br-e2e-ciro
Add pod status info log for e2e creating pods failure
2022-05-03 18:23:19 -07:00
Kubernetes Prow Robot
2c581a5c40
Merge pull request #108284 from ricky-rav/fix_108283
fix: exclude non-ready nodes from azure load balancer
2022-05-03 18:23:07 -07:00
Yibo Zhuang
6cfc9901ce Remove parallel node processing in volumerestrictions
Leverage the usedPVCSet in snapshot to determine
whether a PVC with ReadWriteOncePod access mode is being
used by another scheduled pod to achieve O(1) look up in
PreFilter and avoid needing to parallel process all nodes.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-03 18:01:22 -07:00
Yibo Zhuang
32c18a3479 Adding StorageInfoLister to SharedLister
This change creates a StorageInfoLister interface
and have it under scheduler SharedLister.

The initial StorageInfoLister interface has a
IsPVCUsedByPods which returns true/false depending on
whether the PVC (keyed by namespace/name) has at least
one scheduled pod using it.

In snapshot real implementation, add a usedPVCSet
key by PVC namespace/name which contains all PVCs
that have at least one scheduled pod using it.
During snapshot update, populate this set based on
whether the PVCRefCounts map for node(s) have been
updated since last snapshot.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-03 18:00:41 -07:00
Kubernetes Prow Robot
c0ec0c2a31
Merge pull request #108150 from mangoGoForward/refactor/change-isqualifiedname-to-validatequalifiedname
refactor: Change the uses of IsQualifiedName to ValidateQualifiedName
2022-05-03 17:18:55 -07:00
Kubernetes Prow Robot
743238e951
Merge pull request #108048 from aojea/custom_etcd_integration
integration: custom etcd gracefully termination
2022-05-03 17:18:48 -07:00
Kubernetes Prow Robot
6ffd13f460
Merge pull request #107819 from matthyx/107505
Replace dbus-send for fake PrepareForShutdown message
2022-05-03 17:18:39 -07:00
Kubernetes Prow Robot
19daf9b578
Merge pull request #107471 from danwinship/iptables-tests
packet-flow-based iptables proxy tests
2022-05-03 17:18:30 -07:00
Kubernetes Prow Robot
70ca1dbb81
Merge pull request #107444 from sayaoailun/master
fix comment of e2e test case garbage_collector
2022-05-03 17:18:23 -07:00
Kubernetes Prow Robot
3a2d79cd7a
Merge pull request #107215 from mengjiao-liu/improve-test-securitycontext-accessor
Add missing test cases for `RunAsGroup` and `SetRunAsGroup` methods
2022-05-03 17:18:14 -07:00
Kubernetes Prow Robot
be9ef536cd
Merge pull request #105995 from NoicFank/feature-add-error-handle
Add error handling for Write() function
2022-05-03 17:18:07 -07:00
Kubernetes Prow Robot
1aec0c81b1
Merge pull request #105963 from zhucan/bugfix-95367
csi: add nodeExpandSecret support for CSI client & add unit test
2022-05-03 17:17:58 -07:00
Alexandre Garnier
10eb7092f8
Do not raise an error proposing to use '--overwrite' when labeling with the same value (#105936)
* Do not propose to use '--overwrite' when labeling with the same value

* Check expected error value in label_test.TestLabelFunc
2022-05-03 17:17:49 -07:00
Kubernetes Prow Robot
0401cc2762
Merge pull request #105100 from lauchokyip/addTopSum
Added --sum flag to kubectl top pod
2022-05-03 17:17:41 -07:00
Kubernetes Prow Robot
3c5cc15686
Merge pull request #103911 from swiftslee/log-format
Cleanup: use klog.Info in pkg/volume/util/operationexecutor/operation_generator.go
2022-05-03 17:17:32 -07:00
Kubernetes Prow Robot
9a160ac5fb
Merge pull request #101882 from jackfrancis/kubelet-initialnode-getcapacity
kubelet: more resilient node allocatable ephemeral-storage data getter
2022-05-03 17:17:24 -07:00
Kubernetes Prow Robot
f0cd3725d3
Merge pull request #101835 from sanposhiho/scheduler_perf/feature/op-sleep
scheduler_perf: create sleep operation
2022-05-03 17:17:11 -07:00
Tom Kerkhove
77efbc411a
feat: Provide previous replica count for deployment/replica set scale up/down event (#101142)
* feat: Provide previous replica count for deployment/replica set scale up/down event

Signed-off-by: GitHub <noreply@github.com>

* change format of event

Co-authored-by: Maciej Szulik <soltysh@gmail.com>

Co-authored-by: Maciej Szulik <soltysh@gmail.com>
2022-05-03 17:16:59 -07:00
Kubernetes Prow Robot
ea7c57b2ee
Merge pull request #99685 from yangjunmyfm192085/run-test24
Fix misspelling of success.
2022-05-03 17:16:47 -07:00
Rob Scott
f99e741f71
Adding myself to sig-network reviewers and approvers 2022-05-03 23:38:25 +00:00
Saikat Roychowdhury
c208a7b753 honor the framework delete timeout for pv 2022-05-03 17:20:10 +00:00
Francesco Romani
017998e889 e2e: node: explicit skip for device plugin tests
The device plugin e2e tests where failing lately and to unblock the
release a skip was added in the prow job configuration:
71cf119c84/config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml (L401)

The problem here is not only the broken test which need to be
fixed, but also the fact that this is the only skip (for a specific
test) we do this way, which is surprising (xref:
https://github.com/kubernetes/kubernetes/issues/106635#issuecomment-1105627265)

As next step towards improvement, we add an explicit skip in the tests
proper. This makes at least more obvious these tests need more work,
and allow us to remove the edge case in the prow configuration.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-03 18:44:11 +02:00
Kubernetes Release Robot
9d278e6224 CHANGELOG: Update directory for v1.24.0 release 2022-05-03 14:35:43 +00:00
Antonio Ojea
2cb3a56e83 apiserver cacher: don't accept requests if stopped
The cacher blocks requests until it is ready, however, the
ready variable doesn't differentiate if the cacher was stopped.

The cacher is using a condition variable based on sync.Cond to
handle the readiness, however, this was not taking into account
if it was not ready because it was waiting to be ready or it was
stopped.

Add a new condition to the condition variable to handle the
stop condition, and returning an error to signal the goroutines
that they should stop waiting and bail out.
2022-05-03 16:35:19 +02:00
Antonio Ojea
00a60426e7 spdyroundtripper: d tlson't verify hostname twice 2022-05-03 16:17:18 +02:00
Antonio Ojea
6d14c8e13f spdyroundrippter: close the connection if tls handshake fails 2022-05-03 16:14:51 +02:00
Kubernetes Prow Robot
70d470e6aa
Merge pull request #109721 from andyzhangx/needresize-windows
fix: NeedResize build failure on Windows
2022-05-03 05:13:55 -07:00
cici37
62394b8ab8 benchmark unstructuredToVal 2022-05-02 13:54:10 -07:00
Wojciech Tyczyński
04b77f02ee Minor cleanup to use t.Run() in test/integration 2022-05-02 21:13:32 +02:00
Lukasz Szaszkiewicz
8dea7ea27e hardens integration serviceaccount tests
the serviceAccountController controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-02 17:33:50 +02:00
xin.li
7c93cd4207 update k8s url
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-02 20:55:55 +08:00
SataQiu
eb1492bb00 kubeadm: replace *clientset.Clientset with clientset.Interface for join phase 2022-05-02 19:25:47 +08:00
AllenZMC
a5fb9bbd35 Optimize test cases for iptables 2022-05-01 19:33:06 +08:00
AllenZMC
0c23f5093f Optimize test cases for ipvs 2022-05-01 19:29:33 +08:00