Commit Graph

97088 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4e93dbcd0d
Merge pull request #94087 from derekwaynecarr/node-sync-once
kubelet waits for node lister to sync at least once
2021-01-12 15:06:35 -08:00
Sergey Kanzhelev
4c9e96c238 Revert "Merge pull request #92817 from kmala/kubelet"
This reverts commit 88512be213, reversing
changes made to c3b888f647.
2021-01-12 22:27:22 +00:00
Jing Xu
cd05922449 Add logs in GCE PD attach and mount
Add a log during verifyDevicePath call so that we can differentiate the
operation hanging case with the path not exist case.

Change-Id: I37b5166859bb99f4695a2ff188682c06f82dc13a
2021-01-12 14:11:18 -08:00
Kubernetes Prow Robot
db14789b82
Merge pull request #97782 from chewong/fix-97780
pause: encode Windows OS version in image tag instead of repository
2021-01-12 13:48:36 -08:00
Clayton Coleman
386f94ff03
test/utils/image: Support a single repository
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.

This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:

KUBE_TEST_REPO=quay.io/openshift/community-e2e-images

would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.

The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.

The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
Kubernetes Prow Robot
cbcb26e7a5
Merge pull request #97653 from heqg/unused-kubeletPort
remove unused constant of kubeletPort in e2e test
2021-01-12 11:56:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Claudiu Belu
77ca485321
test images: Print docker version and docker buildx version
For debugging purposes, it should be useful to run ``docker version`` and ``docker buildx version`` in order to more easily check and verify issues encountered with the Image Builder.
2021-01-12 19:35:56 +02:00
Kubernetes Prow Robot
db183c7e80
Merge pull request #97754 from wzshiming/fix-kubectl-convert
Fix kubectl-convert import known versions
2021-01-12 09:27:54 -08:00
Kubernetes Prow Robot
ef3337a443
Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
Jordan Liggitt
1dfa5b95a5 Add API testdata population instructions 2021-01-12 10:28:33 -05:00
Kubernetes Prow Robot
564b0e55c7
Merge pull request #97954 from yue9944882/fixes-nil-panic-for-delegated-auth-options
Fixes nil panic for nil delegated auth options
2021-01-12 07:06:25 -08:00
Kubernetes Prow Robot
bd947dfc65
Merge pull request #97919 from neolit123/1.21-fix-coredns-migration-preflight
kubeadm: trim leading "v" when running CoreDNS migration preflight
2021-01-12 06:12:25 -08:00
rajibmitra
69aae7aa6c Update cri-tools to v1.20.0
Signed-off-by: rajibmitra <rajib.jolite@gmail.com>
2021-01-12 19:02:51 +05:30
Kubernetes Prow Robot
88f93e7909
Merge pull request #97911 from heqg/changeLog-Fixtypo
changeLog-Fixtypo
2021-01-12 04:40:25 -08:00
wzshiming
df9a7797bb kubectl-convert import known versions 2021-01-12 19:04:50 +08:00
Jakub Przychodzeń
93cf797c50 [Kube-scheduler] Lower timeout for leaderelection resourcelock
Migrate how resource lock and leader election config is generated to new
way, hidding kubeClient. This also halfs kubeClient timeout, making it
an useful value.
2021-01-12 11:06:44 +01:00
Kubernetes Prow Robot
aa2e6d0927
Merge pull request #96972 from 249043822/bugfix-changelog113
CHANGELOG: fix hyperlink failure for author
2021-01-12 02:06:25 -08:00
帝俊
7c487f9964
set GOOS=linux for the staticcheck tool 2021-01-12 18:00:36 +08:00
yue9944882
9ade821baa fixes nil panic for nil delegated auth options 2021-01-12 17:12:33 +08:00
Kubernetes Prow Robot
65395137b5
Merge pull request #97913 from chymy/k8s-typo
Fix typo of changelog-1.20
2021-01-12 01:06:25 -08:00
Maciej Borsz
e93836d9b3 Add trace to SerializeObject 2021-01-12 10:03:59 +01:00
KeZhang
4801f4d255 Fix HSTS Missing From HTTPS Server(Nessus Scanner) 2021-01-12 16:42:53 +08:00
KeZhang
ca0fdbaddc fix hyperlink failure for author 2021-01-12 15:48:38 +08:00
wzshiming
0413529b62 Fix dbus shutdown events not continuing if they are not valid 2021-01-12 14:33:39 +08:00
Haleygo
b2796cea93 fix:replace cfssl resources and upgrade them to 1.5.0
Signed-off-by: Haleygo <hui.wang@daocloud.io>
2021-01-12 14:05:20 +08:00
wzshiming
0911b5ec79 remove executable permission bits 2021-01-12 13:32:23 +08:00
Kubernetes Prow Robot
9caf675ed1
Merge pull request #97909 from adamzhoul/fix-chan-bug
fix unit test "TestSPDYExecutorStream" flaking problem
2021-01-11 20:52:45 -08:00
Kubernetes Prow Robot
51f31bd42c
Merge pull request #97113 from 249043822/bugfix-job-log111
Optimize log output for job controller
2021-01-11 20:52:38 -08:00
Kubernetes Prow Robot
9720013d92
Merge pull request #96821 from wongma7/translateebsinline
Use volumeHandle as PV name when translating EBS inline volume
2021-01-11 20:52:25 -08:00
Hidetatsu Yaginuma
f00f114eca fix invalid indentation 2021-01-12 13:08:28 +09:00
Kubernetes Prow Robot
31e8937271
Merge pull request #97095 from sabbox/fix-panic-azure-oidc-auth-plugins
fix: Azure/OIDC auth panics when no AuthProviderConfigPersister is nil
2021-01-11 19:56:25 -08:00
Kubernetes Prow Robot
1f5c1b6d91
Merge pull request #96722 from adtac/apfvalidation
APF: make command-line args validation error more descriptive
2021-01-11 18:38:37 -08:00
Kubernetes Prow Robot
eb08f36c7d
Merge pull request #96371 from andrewsykim/kube-proxy-terminating
kube-proxy: track serving/terminating conditions in endpoints cache
2021-01-11 18:38:25 -08:00
jornshen
a5a5fef039 migrate proxy/winuserspace/proxier.go logs to structured logging 2021-01-12 10:31:31 +08:00
Kubernetes Prow Robot
5e22f7fead
Merge pull request #92938 from DataDog/lbernail/CVE-2020-8558
Do not set sysctlRouteLocalnet (CVE-2020-8558)
2021-01-11 17:38:24 -08:00
Kubernetes Prow Robot
0b75828dfc
Merge pull request #97922 from liggitt/heketi
Update gluster client, configure with filtered dialer
2021-01-11 16:40:45 -08:00
Kubernetes Prow Robot
abf187a21b
Merge pull request #97899 from JornShen/migrate_UpdateServiceMap_to_func_of_serviceMap
migrate proxy.UpdateServiceMap to  be a method of ServiceMap
2021-01-11 16:40:37 -08:00
Kubernetes Prow Robot
443f563f25
Merge pull request #96941 from 249043822/bugfix-changelog111
CHANGELOG: fix punctuation error
2021-01-11 16:40:25 -08:00
Matthew Wong
28f2355c72 Use volumeHandle as PV name when translating EBS inline volume 2021-01-11 16:23:18 -08:00
Claudiu Belu
ee9be7ce5a tests: Removes node created by test
The test "A node shouldn't be able to create another node" could create
a node during its run, but it doesn't delete it in this case.

This commit addresses this issue.
2021-01-11 15:39:43 -08:00
adeniyistephen
bfb4f17fe2 Fix the build/README.md documentation file on docker-machine remote 2021-01-12 00:34:09 +01:00
Kubernetes Prow Robot
2636a959c6
Merge pull request #97477 from heqg/run-test01
Optimized some non-standard variable names
2021-01-11 14:46:25 -08:00
JieJhih Jhang
f1829a7744 fix golint in volume fs 2021-01-12 06:35:52 +08:00
Andrey Viktorov
2dd86fe8c2 add noop persister to plugin loader 2021-01-12 00:12:53 +02:00
Andrew Sy Kim
a11abb5475 kube-proxy: ipvs proxy should ignore endpoints with condition ready=false
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
9c096292cc kube-proxy: iptables proxy should ignore endpoints with condition ready=false
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:27:38 -05:00
Andrew Sy Kim
1acdfb4e7c kube-proxyy: update winkernel proxier to read 'ready', 'serving' and 'terminating' conditions
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
a7333e1a3e kube-proxy: add endpointslice cache unit tests for terminating endpoints
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00
Andrew Sy Kim
e5f9b80023 kube-proxy: health check server should only check ready endpoints
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-01-11 16:17:58 -05:00