Commit Graph

90054 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1130e8910f
Merge pull request #89198 from tanjunchen/cleanup20200318
e2e/framework: security/ and /service remove direct import /k8s.io/kubernetes/pkg/
2020-04-01 22:15:05 -07:00
Kubernetes Prow Robot
a8217d3684
Merge pull request #87836 from dixudx/fix_env_KBP
not walking directory if KUBE_BUILD_PLATFORMS is given
2020-04-01 22:14:51 -07:00
Kubernetes Prow Robot
ad4bd386eb
Merge pull request #86752 from SataQiu/fix-kubelet-20191231
Add error handler for rlimit.RlimitNumFiles
2020-04-01 22:14:38 -07:00
Kubernetes Prow Robot
c2ae0bd763
Merge pull request #74073 from Nordix/issue-70020
Issue #70020; Flush Conntrack entities for SCTP
2020-04-01 22:14:24 -07:00
SataQiu
871b90ba23 kube-proxy: add '--bind-address-hard-fail' flag to treat failure to bind to a port as fatal
Signed-off-by: SataQiu <1527062125@qq.com>
2020-04-02 13:13:10 +08:00
Kubernetes Prow Robot
96109680a4
Merge pull request #89691 from ingvagabund/quantile-inf
quantile: if the last upper bound is +Inf, return the previous upper bound
2020-04-01 20:50:37 -07:00
Kubernetes Prow Robot
8d773421ee
Merge pull request #80973 from xiaoanyunfei/bugfix/orphan-volume
fix orphaned pod flexvolume  can not be cleaned up
2020-04-01 20:50:23 -07:00
Kubernetes Prow Robot
f2e3981aba
Merge pull request #89706 from weinong/fix-excessive-spn-prefix
v1.18.1: fix a bug where spn: prefix is unexpectedly added to kubeconfig apiserver-id
2020-04-01 19:26:38 -07:00
Kubernetes Prow Robot
561e86e241
Merge pull request #89696 from flant/service-account-volume-name-with-dot
Fix service account names with a dot
2020-04-01 19:26:25 -07:00
Alvaro Aleman
bec6f08c58 apimachinery/pkg/labels: add SelectorFromSet
While rambling again about how unsafe labels.SelectorFromSet is as it
just returns an empty selector that matches everything when it
encounters a parsing error, I noticed that we do not even have a safe
alternate. This commit fixes that by adding a `ValidatedSelectorFromSet`
func that either returns a Selector or an error.

It also changes SelectorFromSet to use SelectorFromValidatedSet under
the hood, so invalid Sets are send to the server and rejected there,
rather than silently doing the wrong thing by using am empty Selector.
2020-04-01 19:51:10 -04:00
Tim Hockin
c27ceb6449
Edit log string 2020-04-01 15:34:29 -07:00
Kubernetes Prow Robot
facda9abfd
Merge pull request #89741 from marun/fix-endpointslice-permissions
Fix permissions for endpointslice controller
2020-04-01 15:28:35 -07:00
Kubernetes Prow Robot
205e2739bd
Merge pull request #87080 from aojea/tcpclose_lasttry
fix flakes on e2e test TCP CLOSE_WAIT timeout
2020-04-01 15:28:24 -07:00
John Belamaric
de5d8d612b Various cleanup for the kubeconform command 2020-04-01 14:39:52 -07:00
Kubernetes Prow Robot
ed00f42848
Merge pull request #89563 from oomichi/RestartControllerManager
Separate RestartControllerManager() as e2ekubesystem
2020-04-01 13:42:23 -07:00
Kubernetes Prow Robot
6e9bec8ee2
Merge pull request #89504 from tanjunchen/remove-dependency-001
test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg
2020-04-01 11:02:23 -07:00
Maru Newby
76207fe3d2 Fix permissions for endpointslice controller
The controller needs to be able to set a service's finalizers to be
able to create an EndpointSlice resource that is owned by the service
and sets blockOwnerDeletion=true in its ownerRef.
2020-04-01 10:32:11 -07:00
Kubernetes Prow Robot
c6a942249f
Merge pull request #89736 from gnufied/force-sgid-bit-off
Force sgid bit to be off before checking volume permission
2020-04-01 09:35:27 -07:00
Aaron Crickenberger
1a5f6906e0 e2e: don't use kubelet api to verify pod deletion
Conformance tests must not rely on the kubelet API in order to
pass. In this case, I think it's unnecessary to verify that a
kubelet observes the deletion within gracePeriod seconds. The
remaining checks in this test verify that pod deletion happens,
and that the pod is removed.
2020-04-01 08:28:27 -07:00
Aaron Crickenberger
cc7c862ce1 e2e: use apiserver view of pods on node instead of kubelet
Conformance tests must not rely on the kubelet API in order to
pass. SchedulerPredicates tests attempt to use the kubelet API
in their BeforeEach, some of which are tagged as Conformance.

Is there a compelling reason to use the kubelet's view of pods
for a given node instead of the apiserver's view of the pods?
2020-04-01 08:28:14 -07:00
Hemant Kumar
6362a616ec Force sgid bit to be off before checking volume permission 2020-04-01 11:20:38 -04:00
Di Xu
a88d25f9ad not walking directory if KUBE_BUILD_PLATFORMS is given 2020-04-01 22:04:33 +08:00
Jan Chaloupka
e410b837dc quantile: if the last upper bound is +Inf, return the previous upper bound
In case the last upper bound is +Inf, computed quantile is +Inf as well.
Given there's no restriction on how far individual upper bounds are from each other,
cut the last interval and consider the second last upper bound as the final one.
2020-04-01 12:44:25 +02:00
Kubernetes Prow Robot
8ae26096f7
Merge pull request #89722 from feiskyer/fix-89721
Ensure Azure availability zone is always in lower cases
2020-04-01 02:37:27 -07:00
zhouya0
4d3d722ebc Add missing kube build info metric 2020-04-01 17:04:45 +08:00
Pengfei Ni
bdce3fdeb7 Ensure Azure availability zone is always in lower cases 2020-04-01 08:19:39 +00:00
Kubernetes Prow Robot
e39aa99c73
Merge pull request #89708 from spiffxp/update-conformance-instructions
Update conformance docs to reference correct bazel location of testdata
2020-04-01 00:21:27 -07:00
Kubernetes Prow Robot
abb0183e30
Merge pull request #88990 from spiffxp/use-gtar-in-build-lib-release
Replace raw usages of tar in build/lib/release.sh
2020-03-31 23:01:41 -07:00
Andrew Sy Kim
e2bc3a755f
move well-known kubelet cloud provider annotations to k8s.io/cloud-provider (#88631)
* move well-known kubelet cloud provider annotations to k8s.io/cloud-provider

Signed-off-by: andrewsykim <kim.andrewsy@gmail.com>

* cloud provider: rename AnnotationProvidedIPAddr to AnnotationAlphaProvidedIPAddr to indicate alpha status

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-31 23:01:27 -07:00
Kubernetes Prow Robot
53eb7cd733
Merge pull request #86858 from ii/create-event-test-to-ensure-creating-modifying-patching-deleting-and-listing
Create Event lifecycle test - +5 endpoint coverage
2020-03-31 21:31:27 -07:00
Jordan Liggitt
ee816114b7 Adjust openapi test to avoid mutation on write 2020-03-31 23:08:08 -04:00
Jordan Liggitt
d879965808 Clean up list items listType 2020-03-31 23:08:08 -04:00
Jordan Liggitt
93c7b24562 github.com/googleapis/gnostic v0.4.1 2020-03-31 23:07:50 -04:00
Kubernetes Prow Robot
6a552da932
Merge pull request #89664 from spiffxp/ignore-list-resources-fails
Allow list-resources.sh to continue if a resource fails to list
2020-03-31 20:03:41 -07:00
Kubernetes Prow Robot
357d3c9f93
Merge pull request #89584 from kevtaylor/kep/VolumeSubpathExpansion-Remove-FeatureGate
Remove VolumeSubpathEnvExpansion Feature Gate
2020-03-31 20:03:27 -07:00
tanjunchen
45b7736390 remove unused code 2020-04-01 10:50:59 +08:00
Abdullah Gharaibeh
ed3fe054df move scheduler nodeinfo to pkg/scheduler/types 2020-03-31 21:02:09 -04:00
Caleb Woodbine
ce97b49965 Update conformance metadata 2020-04-01 12:54:09 +13:00
Kubernetes Prow Robot
dda530cfb7
Merge pull request #89665 from alculquicondor/per_node_filter_spreading
Optimize topology spreading filter
2020-03-31 16:43:41 -07:00
Prasad Katti
b1d85a6b51
minor update (#89638)
* minor update

Added a missing period.

* add some more missing periods

- add in the missing period in 2 more places
- update generated files with `make update`
2020-03-31 16:43:28 -07:00
Antonio Ojea
a89c2bdaf1
fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-04-01 01:16:39 +02:00
Aaron Crickenberger
ec0d6cb693 Fix bazel location of testdata 2020-03-31 16:11:18 -07:00
Weinong Wang
77bd7c8a8b fix a bug where spn: prefix is unexpectedly added to kubeconfig apiserver-id setting 2020-03-31 15:59:37 -07:00
Caleb Woodbine
2b325f07f4 Fix DeleteOptions value 2020-04-01 11:00:20 +13:00
Caleb Woodbine
a8592dd9d1 Fix sig in podtemplates.go 2020-04-01 10:45:20 +13:00
Kubernetes Prow Robot
788a073c79
Merge pull request #89677 from zhouya0/Add_kubectl_describe_CSINode_test_coverage
Add kubectl describe CSINode test coverage
2020-03-31 14:15:51 -07:00
Kubernetes Prow Robot
48cdf5a062
Merge pull request #89394 from iobuf/cleanup
[apimachinery]: cleanup deprecated const StatusTooManyRequests
2020-03-31 14:15:42 -07:00
Kubernetes Prow Robot
1b7f5662e1
Merge pull request #89215 from k-toyoda-pi/use_expectnotequal_service
Use ExpectNotEqual in test/e2e/network/
2020-03-31 14:15:28 -07:00
Caleb Woodbine
916d96e428 Update test/e2e/framework/events/events.go
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2020-04-01 09:57:29 +13:00
Caleb Woodbine
63632118b7 Fix conformance testdata 2020-04-01 09:43:56 +13:00