Commit Graph

97121 Commits

Author SHA1 Message Date
hasheddan
40ca31f524
Default cluster dns-domain to empty string in e2e_node suite
Changes default cluster DNS domain to empty string to align with the
default kubelet configuration value.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 10:53:11 -06:00
Jakub Przychodzeń
852075b23c [Leader election] Add documentation to function 2021-01-13 17:34:07 +01:00
Kubernetes Prow Robot
5c58b22251
Merge pull request #97957 from yue9944882/aa-server-apf-optionality
Disables APF if the aggregated apiserver cannot locate the core kube-apiserver
2021-01-13 07:50:36 -08:00
drfish
90ba736433 Add function AddPodInfo(*PodInfo) for NodeInfo struct 2021-01-13 23:04:37 +08:00
Kubernetes Prow Robot
da29bd9133
Merge pull request #97971 from liggitt/testdata
Add API testdata population instructions
2021-01-13 06:58:48 -08:00
Kubernetes Prow Robot
33518271f3
Merge pull request #96502 from 249043822/br-hsts
Fix HSTS Missing From HTTPS Server(Nessus Scanner)
2021-01-13 06:58:36 -08:00
hasheddan
baccf02ab0
Switch to debian:stable-slim for conformance image base
The currently used debian:stretch-slim does not support s390x arch in
its multi-arch build. We opt to use stable-slim instead of pulling in
different base images for each platform build.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:49:27 -06:00
hasheddan
bc262d6e85
Specify BASEIMAGE platform for conformance image
Updates conformance image Dockerfile to specify platform for BASEIMAGE
and sets correct ARCH in Makefile.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-01-13 08:46:01 -06:00
Chok Yip Lau
9a3148291d Fix golint errors for kubectl/pkg/cmd/certificates/certificates.go 2021-01-13 09:17:00 -05:00
Kubernetes Prow Robot
d52fe32cd5
Merge pull request #95360 from erwinvaneyk/fix-generate-internal-groups-bash
Fix generate-internal-groups.sh for bash < 5.x
2021-01-13 05:28:36 -08:00
RA489
546b0a704d kubeadm: Update versions for 1.21 2021-01-13 18:03:34 +05:30
Kubernetes Prow Robot
f6e04cd3ad
Merge pull request #97638 from knabben/netpol-egress-func
Moving egress deny with DNS to a policy function
2021-01-13 04:18:35 -08:00
Chok Yip Lau
c5b95f60fa Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/ 2021-01-13 05:28:09 -05:00
Antonio Ojea
67e2c37440 Use new image for e2e regression test 2021-01-13 11:02:58 +01:00
Antonio Ojea
7d699b3037 e2e test for invalid conntrack entry
This test is testing a bad conntrack behaviour, it doesn´t apply
only to kube-proxy.
2021-01-13 11:02:58 +01:00
Kubernetes Prow Robot
69a8bb7f34
Merge pull request #68022 from jingxu97/waitForAttachLogging
Add a log in verifyDevicePath
2021-01-12 23:36:35 -08:00
Kubernetes Prow Robot
a098b5b16c
Merge pull request #97976 from claudiubelu/patch-2
test images: Print docker version and docker buildx version
2021-01-12 22:00:36 -08:00
Kubernetes Prow Robot
3722cef5e5
Merge pull request #97947 from Haleygo/fix/replace-cfssl-resource
fix:replace cfssl resources and upgrade them to 1.5.0
2021-01-12 21:10:37 -08:00
yue9944882
02df343437 disables APF if the aggregated apiserver cannot locate the core kube-apiserver 2021-01-13 12:42:29 +08:00
Kubernetes Prow Robot
8abe3714d2
Merge pull request #97853 from claudiubelu/patch-1
pause image: Fixes clean make action
2021-01-12 20:20:35 -08:00
Kubernetes Prow Robot
bbde53e300
Merge pull request #97959 from carlory/patch-1
set GOOS=linux for the staticcheck tool
2021-01-12 18:24:35 -08:00
pacoxu
71d70f7a83 ignore cgroup driver check in windows node upgrade
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-01-13 10:01:35 +08:00
Kubernetes Prow Robot
e0b2787ee1
Merge pull request #97980 from SergeyKanzhelev/revertSandboxCheckInStatus
Revert "Merge pull request #92817 from kmala/kubelet"
2021-01-12 16:54:35 -08:00
Jian Zeng
d0dce70358
feat: enable SPDY pings on connections
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-01-13 08:35:28 +08:00
Kubernetes Prow Robot
47ccae1e5c
Merge pull request #97950 from wzshiming/fix-executable-permission
GracefulNodeShutdown  configuration  remove executable permission bits
2021-01-12 16:02:43 -08:00
Kubernetes Prow Robot
70435a298c
Merge pull request #97172 from Jefftree/opentest
Fix openapi model generation for apply when x-int-or-string is set
2021-01-12 16:02:35 -08:00
Kubernetes Prow Robot
cb08678d48
Merge pull request #97891 from thinpark/apimachinery.clean
[k8s.io/apimachinery/pkg/test]: cleanup commented code
2021-01-12 15:06:57 -08:00
Kubernetes Prow Robot
981afd2bff
Merge pull request #97209 from jayunit100/patch-17
Update hybrid_network.go
2021-01-12 15:06:48 -08:00
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
feranwq
ddba6a79d4 fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck 2021-01-12 19:03:13 +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