Commit Graph

96381 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
98bc258bf5
Merge pull request #96907 from pacoxu/patch-1
coredns dep.Severity is newdefault, not newDefault
2020-11-30 18:04:50 -08:00
Kubernetes Prow Robot
e0c587bf4f
Merge pull request #96798 from yue9944882/flaky/apnf-e2e-drown-test
E2E Flakiness: Eliminates client-side rate-limiting for AP&F drown-out test
2020-11-30 15:38:51 -08:00
Spencer Peterson
da684bcd6f Bump kubectl in addon manager to 1.19 2020-11-30 23:01:19 +00:00
pacoxu
dd3179ee93 AlwaysPullImages: ignore updates that don't change the images referenced by the pod spec
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-01 06:59:57 +08:00
Kubernetes Prow Robot
e3063233a5
Merge pull request #96742 from spencerhance/ingress-conformance-test
Update ingress conformance test for finalizers
2020-11-30 12:04:49 -08:00
ruiwen-zhao
36b4ccdb7c Add AcceleratorStats to cri_stats_provider 2020-11-30 19:30:02 +00:00
Seth Jennings
ee60ee26e0 kubelet: remove periodic messages from log-level 2 2020-11-30 11:34:00 -06:00
Ken Sipe
3de47dc058
fixing unwanted editor changes
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:19:28 -06:00
Ken Sipe
1d79500291
fix S1023 redundant return statement
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:19:24 -06:00
Ken Sipe
a4d05d51d9
fix S1019 use of make
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:15:22 -06:00
Ken Sipe
a549d0a75e
fix SA2006 value of err not used
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:15:21 -06:00
Ken Sipe
6c49299739
fix S1021 var declaration
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:15:21 -06:00
Ken Sipe
168677400c
fix S1039 unnecessary use of fmt.Sprintf
Signed-off-by: Ken Sipe <kensipe@gmail.com>
2020-11-30 08:15:20 -06:00
00041544
7e7d13a39f Fix the error links 2020-11-30 15:54:24 +08:00