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
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
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
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
Kubernetes Prow Robot
4ad3018ac3
Merge pull request #94491 from dashpole/consistent_quoting
...
Consistently use double quotes in proto files
2020-09-03 20:09:40 -07:00
Jordan Liggitt
b4189f4d94
Stop ignoring unit test flakes, require multiple successful passes
2020-09-03 22:43:19 -04:00
Lubomir I. Ivanov
4bb75a462f
kubeadm: remove the CoreDNS check for supported image digests
...
The isCoreDNSVersionSupported() check assumes that
there is a running kubelet, that manages the CoreDNS containers.
If the containers are being created it is not possible to fetch
their image digest. To workaround that, a poll can be used in
isCoreDNSVersionSupported() and wait for the CoreDNS Pods
are expected to be running. Depending on timing and CNI
yet to be installed this can cause problems related to
addon idempotency of "kubeadm init", because if the CoreDNS
Pods are waiting for another step they will never get running.
Remove the function isCoreDNSVersionSupported() and assume that
the version is always supported. Rely on the Corefile migration
library to error out if it must.
2020-09-04 05:27:04 +03:00
Kubernetes Prow Robot
a1b4b29ac0
Merge pull request #94492 from elweb9858/updateOwners
...
Updating winkernel kube-proxy OWNERS file
2020-09-03 18:57:51 -07:00
Kubernetes Prow Robot
608c0265a8
Merge pull request #94488 from liggitt/deflake-port-allocation
...
Deflake TestServiceRegistryExternalTrafficHealthCheckNodePortUserAllocation
2020-09-03 18:57:42 -07:00
Kubernetes Prow Robot
a9f1d72e1d
Merge pull request #94485 from perezd/patch-1
...
prefer double quotes and consistent usage in .proto files.
2020-09-03 16:39:40 -07:00
Kubernetes Prow Robot
48d5d204c3
Merge pull request #92614 from tnqn/onfailure-recreate
...
Don't create a new sandbox for pod with RestartPolicyOnFailure if all containers succeeded
2020-09-03 14:57:40 -07:00
elweb9858
b29379687f
Updating winkernel kube-proxy OWNERS file
2020-09-03 14:55:09 -07:00
David Ashpole
296f7c91bb
consistently use double quotes in proto files
2020-09-03 13:50:03 -07:00
Kubernetes Prow Robot
9d9d305017
Merge pull request #94466 from soltysh/security-contacts
...
Update security contacts for sig-cli
2020-09-03 13:41:40 -07:00