Commit Graph

94239 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
74053d555d
Merge pull request #94554 from knight42/fix/TestRetryWatcherToFinishWithUnreadEvents
test(watch-tool): deflake TestRetryWatcherToFinishWithUnreadEvents
2020-09-05 10:15:40 -07:00
knight42
1d92314f26
test(watch-tool): deflake TestRetryWatcherToFinishWithUnreadEvents
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-06 00:06:21 +08:00
Kubernetes Prow Robot
22772d06a8
Merge pull request #94549 from knight42/fix/TestRecordOperation
test(kuberuntime): deflake TestRecordOperation
2020-09-05 08:11:41 -07:00
Gaurav Singh
b326948a9a kubectl: Use Fprintf
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Fix typo

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Change Fprintf to Fprintln

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Use %q instead of %s

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>

Change %q to %s
2020-09-05 10:23:15 -04:00
David Dymko
cda0070f28 fix golint for pkg/volume/azure_dd 2020-09-05 09:44:27 -04:00
knight42
b70e1d836c
test(workqueue): deflake TestMetrics
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 18:50:45 +08:00
Stephen Augustus
3ab1a49766 build/lib/release: Explicitly use '--platform' in building server images
When we switched to go-runner for building the apiserver,
controller-manager, and scheduler server components, we no longer
reference the individual architectures in the image names, specifically
in the 'FROM' directive of the server image Dockerfiles.

As a result, server images for non-amd64 images copy in the go-runner
amd64 binary instead of the go-runner that matches that architecture.

This commit explicitly sets the '--platform=linux/${arch}' to ensure
we're pulling the correct go-runner arch from the manifest list.

Before:
FROM ${base_image}

After:
FROM --platform=linux/${arch} ${base_image}

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-05 04:45:42 -04:00
Stephen Augustus
0921f645a3 build/common.sh: Remove extraneous reference to debian-base image
debian-base is no longer used for building core Kubernetes server
components, so we remove the unnecessary local variable referencing it
from kube::build::get_docker_wrapped_binaries().

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-05 04:29:14 -04:00
knight42
c6f9b402fb
test(kuberuntime): deflake TestRecordOperation
Avoid using hard-coded port

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 13:36:26 +08:00
Kubernetes Prow Robot
1f708f6e62
Merge pull request #94112 from damemi/sort-endpoints
Remove canonicalization of endpoints by endpoints controller for better comparison
2020-09-04 22:13:40 -07:00
Kubernetes Prow Robot
32ab6713df
Merge pull request #94535 from liggitt/kubeadm-unit-fix
Speed up slow Kubeadm unit tests, avoid mutating global variables
2020-09-04 20:01:42 -07:00
Kubernetes Prow Robot
60c421b6f6
Merge pull request #94541 from liggitt/deflake-cpucheckpoint
Deflake cpumanager checkpoint unit tests
2020-09-04 18:47:40 -07:00
Kubernetes Prow Robot
0f466ba177
Merge pull request #94537 from knight42/fix/TestCacheNoConcurrentGet
test(azure): Deflake TestCacheNoConcurrentGet
2020-09-04 16:59:41 -07:00
Kubernetes Prow Robot
a84419f027
Merge pull request #94543 from liggitt/deflake-client-portforward
Deflake port forward tests to avoid hard-coded local ports
2020-09-04 15:41:54 -07:00
Kubernetes Prow Robot
c4cf7d331f
Merge pull request #94539 from liggitt/deflake-cmdevice
Use unique socket name per cm test
2020-09-04 15:41:41 -07:00
Stephen Solka
203679cc61 prefer NoError/Error over Nil/NotNil 2020-09-04 18:35:52 -04:00
Kubernetes Prow Robot
1a04aac31d
Merge pull request #94544 from liggitt/deflake-serving-options
Deflake serving options, avoid hard-coding ports
2020-09-04 14:11:41 -07:00
Jordan Liggitt
ec3faa1821 Deflake serving options, avoid hard-coding ports 2020-09-04 15:56:08 -04:00
Kubernetes Prow Robot
4dabc3ddc0
Merge pull request #94534 from knight42/fix/TestRestoreAllGrabOldLock
test(iptables): deflake TestRestoreAllGrabOldLock
2020-09-04 12:39:40 -07:00
Jordan Liggitt
fcea950405 Deflake port forward tests to avoid hard-coded local ports 2020-09-04 15:33:43 -04:00
Jordan Liggitt
7268b1d557 Deflake cpumanager checkpoint unit tests 2020-09-04 15:06:04 -04:00
Jordan Liggitt
803da10d8b Use unique socket name per cm test 2020-09-04 14:55:23 -04:00
knight42
2b1395a88a
fix(azure::cache): TimedCache.Getter should be called once on the same key
If a key have't been saved in TimedCache, and there are multiple
goroutines getting this key, TimedCache.Getter might be invoked multiple
times because the entry is overwritten in TimedCache.getInternal.

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 02:44:36 +08:00
knight42
90ddd5f721
test(azure::cache): deflake TestCacheNoConcurrentGet
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 02:44:36 +08:00
Jordan Liggitt
c0ba2364b5 Run slow kubeadm upgrade tests in parallel 2020-09-04 13:36:45 -04:00
Jordan Liggitt
24481db023 Ensure kubeadm tests have unique names 2020-09-04 13:36:29 -04:00
Jordan Liggitt
7e01e38334 Avoid mutating global variables in kubeadm certs phases 2020-09-04 13:36:10 -04:00
Kubernetes Prow Robot
a23cf7077e
Merge pull request #94529 from liggitt/deflake-units
Deflake unit tests
2020-09-04 10:27:41 -07:00
knight42
f6f0f7922a
test(iptables): deflake TestRestoreAllGrabOldLock
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-05 01:07:46 +08:00
Jordan Liggitt
dbdd8c5a0c Skip TestGOAWAYConcurrency 2020-09-04 12:07:02 -04:00
knight42
1f235c858c test(apiserver): deflake TestClientReceivedGOAWAY
protect `localAddr` from concurrent read and write

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-04 11:51:47 -04:00
Jordan Liggitt
6125e6b65a Deflake TestSetup 2020-09-04 11:50:56 -04:00
Jordan Liggitt
fdf9cab843 Deflake TestHTTPProbeProxy 2020-09-04 11:22:11 -04:00
Kubernetes Prow Robot
3cdfdfccc9
Merge pull request #94506 from neolit123/1.20-coredns-remove-supported-version-check
kubeadm: remove the CoreDNS check for supported image digests
2020-09-04 07:37:41 -07:00
Andrew Sy Kim
76386cf3c3 kubelet: remove alpha warnings for CNI flags
CNI is no longer alpha and is widely used by almost every Kubernetes cluster, we should remove the alpha warnings that were originally added from the early days of CNI

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-09-04 09:35:34 -04:00
Kubernetes Prow Robot
0edbf2554a
Merge pull request #94479 from knight42/feat/kubeadm-etcd-pod-resource-requests
kubeadm: apply resource requests in the etcd pod spec
2020-09-04 06:25:41 -07:00
Tim Usner
cc0b86fa3c Add more tests for LRU cache lookup 2020-09-04 15:09:03 +02:00
Tim Usner
70d440bc7e Move ResourceQuota admission to k8s.io/apiserver 2020-09-04 14:53:52 +02:00
Antonio Ojea
0004b199d5 do not mutate endpoints in the apiserver
the endpoints API handler was using the Canonicalize() method to
reorder the endpoints, however, due to differences with the
endpoint controller RepackSubsets(), the controller was considering
the endpoints different despite they were not, generating unnecessary
updates evert resync period.
2020-09-04 08:42:45 -04:00
Kubernetes Prow Robot
2373477aea
Merge pull request #94390 from answer1991/more-goaway-testcases
More testcases for GOAWAY
2020-09-04 04:43:40 -07:00
Kubernetes Prow Robot
62321af7ab
Merge pull request #94483 from derekwaynecarr/improve-debugging-event-flake
Improve ability to debug Events e2e failure
2020-09-04 03:32:33 -07:00
Kubernetes Prow Robot
1d1daaa044
Merge pull request #94084 from brianpursley/kubernetes-93925-logging
Add logging when fail to kill container or pod
2020-09-04 03:32:23 -07:00
Kubernetes Prow Robot
3f9123fc30
Merge pull request #94010 from ghostsquad/docs/hpa-v2beta-type-missing-external
docs(api): 📝  Fix HPA docs with addition of "External" type
2020-09-04 03:32:09 -07:00
Kubernetes Prow Robot
217d89a59f
Merge pull request #93843 from soulxu/fast_path_podaffinity
Fast return when no any matched anti-affinity terms
2020-09-04 03:31:55 -07:00
Kubernetes Prow Robot
6a9500ed70
Merge pull request #92940 from yuanchen8911/patch-2
Fix naming inconsistency in scheduler plugin interface comments
2020-09-04 03:31:41 -07:00
pacoxu
291b36e00b remove DefaultIngressClass feature gate for 1.20
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-09-04 14:15:43 +08:00
Kubernetes Prow Robot
fe8aa6eba8
Merge pull request #93605 from liggitt/noflake
Stop ignoring unit test flakes
2020-09-03 22:55:40 -07:00
wojtekt
615f9037f3 Cleanup custom metrics conversion functions 2020-09-04 07:47:36 +02:00
Kubernetes Prow Robot
26d0f84605
Merge pull request #94476 from habibrosyad/patch-92402-12
fix vendor/k8s.io/apimachinery/pkg/runtime/serializer/versioning staticcheck
2020-09-03 21:39:40 -07:00
knight42
2ebd293780
feat(kubeadm): specify resource requests in etcd pod spec
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-04 11:54:21 +08:00