Commit Graph

96395 Commits

Author SHA1 Message Date
Andrew Sy Kim
5db1b65a26 update k8s.io/legacy-cloud-provider/OWNERS with no_parent_owners: true
We are no longer accepting features into k8s.io/legacy-cloud-providers.
Any kind/feature PRs must be approved by SIG Cloud Provider going forward.

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-04 14:54:40 -05:00
Ling Samuel
c99567005d
apiserver add --lease-reuse-duration-seconds to config lease reuse duration
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-12-04 19:19:49 +08:00
Dave Chen
58142288a5 Add constraint selector to pod template
PodTopologySpread plugin will only count the existing pod when that
pod's label matches with `constraint.Selector`, which means all pods
could be scheduled to one topology zone when the constraint does not
have any selector defined.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-04 18:04:26 +08:00
chymy
b79b110fa5 CHANGELOG: list should be one item
Signed-off-by: chymy <chang.min1@zte.com.cn>
2020-12-04 14:36:19 +08:00
Jiawei Wang
8c17534429 Copy the same storageclass instead of constructing one in external test 2020-12-03 19:52:32 -08:00
Kubernetes Prow Robot
a744bddbf4
Merge pull request #96990 from Huang-Wei/deflake-preemption-timeout
Increase preemption timeout from 1 minute to 2 minutes
2020-12-03 16:05:25 -08:00
Kubernetes Prow Robot
29d79de528
Merge pull request #97016 from rajansandeep/fixmigrationlogic
[Kubeadm]: Fix CoreDNS migration logic
2020-12-03 13:55:25 -08:00
Joel Smith
29ff2fe528 Remove now-unused eviction helpers, fix unit test TestCRIListPodStats 2020-12-03 13:04:25 -07:00
Derek Carr
acb43c7c4a Rework hostfs metrics
Ephemeral storage usage should be calculated by the metrics code,
not the eviction code.
2020-12-03 13:04:25 -07:00
Seth Jennings
acae34be79 kubelet: reduce no-op status manager msg log level 2020-12-03 13:06:02 -06:00
Andrew Sy Kim
0c90d8ddd9 test/integration: disable fake cloud routes controllers in cloud-controller-manager secure serving tests
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Andrew Sy Kim
00f9aef0ab cloud-provider: allow disable interfaces from fake cloud provider
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Andrew Sy Kim
794122dd3e cloud-controller-manager: improve warning message for --configure-cloud-routes
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Andrew Sy Kim
4bee62cfd7 cloud-controller-manager: routes controller should not depend on --allocate-node-cidrs
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-12-03 14:03:33 -05:00
Joel Smith
39a11744ce Partially revert "Include pod /etc/hosts in ephemeral storage calculation for eviction"
This reverts (most of) commit f34b586d01.
2020-12-03 04:47:16 -07:00
Jan Safranek
8f186f9172 Flush FibreChannel devices before deleting
If a FibreChannel device is used as a block volume, we should flush its I/O
before deleting its device. It is not strictly necessary when it's used as
a filesystem (mount), but it won't hurt either.
2020-12-03 09:54:22 +01:00
jornshen
c38637a08b [flaky test] fix race in TestVersion in pkg/kubelet/cri/remote 2020-12-03 14:26:11 +08:00
Dave Chen
d293ae1298 Create PVC first if it's referenced by PV
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-12-03 13:56:54 +08:00
Haowei Cai
7a28ca419e generated 2020-12-02 14:32:50 -08:00
Haowei Cai
d13fe474f9 storage-version: update conditions 2020-12-02 14:32:34 -08:00
Fabio Bertinatto
ee082985c2 e2e: promote use of functions that support custom timeouts in storage tests.
WaitForPodSuccessInNamespace[Slow] are replaced by WaitForPodSuccessInNamespaceTimeout(),
so that custom timeouts are used instead of the hardcoded ones.
2020-12-02 16:14:13 -03:00
Mike Danese
84995167d6 hoist error message change in token registry to noderestriction
The token registry error message was changed in
5eefd7d012 to exclude some object details.
This error comes from noderestriction under some circumstances. Let's
make sure they match.

Change-Id: If9240f5c1a131d27dce389e2c6eca6c33d681f3b
2020-12-02 10:58:25 -08:00
Fabio Bertinatto
c28dba5494 e2e: add new custom timeout value for slow PV deletion 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
c82626f96f e2e: use custom timeouts in all storage E2E tests 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
f6e900f468 e2e: add custom timeouts support in external storage drivers 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
3ec93da1b5 e2e: add custom timeouts to E2E framework 2020-12-02 15:57:58 -03:00
Sandeep Rajan
2eabd9d832 fix migration logic
modify addon test to cover the entire migration logic
2020-12-02 12:53:07 -05:00
Kubernetes Prow Robot
5b8c3b90f3
Merge pull request #97004 from nikhita/fix-publishing-1.20-rules
staging/publishing: fix rules for 1.20
2020-12-02 06:40:50 -08:00
Jan Safranek
6f8bdb7cc1 Fix FibreChannel volume plugin corrupting filesystem on detach
FibreChannel volume plugin misses one important step when removing a
device: "multipath -f". It flushes all multipath buffers to its individual
paths. Without it, a filesystem on the device may get corrupted.
2020-12-02 14:39:00 +01:00
Kuba Tużnik
9efbd914f6
Bump Cluster Autoscaler to v1.20.0 2020-12-02 11:10:54 +01:00
yuanhuaiwang
58e4fae1da improve watchCache metrics 2020-12-02 16:19:20 +08:00
Jeremy Edwards
7f972840ca Fail instead of panic when HNS network cannot be created in test. 2020-12-02 07:01:27 +00:00
Jeremy Edwards
155bda010a Significantly improve download artifact latencies on GCE Windows node boot. 2020-12-02 06:59:51 +00:00
Nikhita Raghunath
d8f9ac446c staging/publishing: fix rules for 1.20 2020-12-02 10:49:34 +05:30
jornshen
da808767b7 local-up-cluster kubelet option opening readonly port 2020-12-02 09:46:24 +08:00
Ling Samuel
77f0f442a1
Use field.Error(s) in scheduler plugin args validation
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-12-02 08:49:33 +08:00
Patrick Rhomberg
6488e89f96 Update config for go-flow-levee analysis
* Remove \b boundary for sinks; Unicode backspace \b != regexp boundary \b.
* Specify those source type fields that have not yet been tagged.
* Add exclusions for current false-positive set.
2020-12-01 23:35:32 +00:00
Kubernetes Prow Robot
c98f6bf308
Merge pull request #96993 from nikhita/publishing-bot-1.20
staging/publishing: add release-1.20 rules
2020-12-01 14:22:51 -08:00
Wei Huang
8cf3347d87
Increase preemption timeout from 1 minute to 2 minutes 2020-12-01 14:17:12 -08:00
Nikhita Raghunath
cda4e25f33 staging/publishing: add release-1.20 rules 2020-12-02 03:00:48 +05:30
Seth Jennings
c8d02f703b kubelet: do not rerun init containers if any main containers have status 2020-12-01 14:59:03 -06:00
Abu Kashem
cecd90f524
add comment to describe why we set the UID in the response headers 2020-12-01 14:43:43 -05:00
corehello
c20b2c8cd7 Fix typo for ServiceAccount 2020-12-02 01:38:46 +08:00
Kubernetes Prow Robot
61dc69ac2c
Merge pull request #87461 from bboreham/fix-uid-gen
kubelet: ensure static pod UIDs are unique
2020-12-01 08:18:50 -08:00
Claudiu Belu
b95891b1f0 test images: sets DOCKER_CLI_EXPERIMENTAL="enabled" globally 2020-12-01 15:10:39 +00:00
Claudiu Belu
ef530c12d6 test images: Adds -p yes when calling register.sh
Before creating and bootstrapping a docker buildx instance, we need to call
register.sh with the -p yes flag. Without this, the docker buildx will only
support linux/amd64 and linux/386 platforms, meaning that it will fail when
trying to build images for other architecture types.

Additionally, the builder has to have qemu and its qemu-* binaries installed
in order to properly build the images. The recently created image
gcr.io/k8s-testimages/gcb-docker-gcloud:v20201130-750d12f has those requirements met.
2020-12-01 15:10:39 +00:00
Anago GCB
ab32085bf3 CHANGELOG: Update directory for v1.20.0-rc.0 release 2020-12-01 11:29:15 +00:00
Kai
03cc04e108
Update conntrack.go 2020-12-01 14:21:47 +08:00
WangXiangUSTC
d3f4046e62
Update selector.go 2020-12-01 13:49:11 +08:00
Qing Ju
bc39672c06 Fixed a harmless bug where initialPopulationCount should be based on the key length not list size in DeltaFIFO#Replace() 2020-11-30 19:51:55 -08:00