Commit Graph

85526 Commits

Author SHA1 Message Date
Olev Kartau
2fac3f2c20 test/e2e: Reduce need to use local kubectl
Use POST method instead of running local kubectl.
Use ExecCommandInContainerWithFullOutput() instead of RunKubectl().
PodExec() takes additional framework arg, passed down in call chain.
VerifyExecInPodFail uses different error code cast as original
one causes test code Panic if used with new call method.
2019-11-12 14:42:24 +02:00
Gao Zheng
6b36a60c75 kube-proxy/ipvs get local addr just once per sync 2019-11-12 19:40:21 +08:00
Kubernetes Prow Robot
5dc87d2919
Merge pull request #83965 from robscott/endpointslice-managed-by
Adding new label to indicate what is managing an EndpointSlice
2019-11-12 03:08:07 -08:00
Kubernetes Prow Robot
48ddf3be87
Merge pull request #80284 from danielqsj/exec
Fix a racing issue in client-go UpdateTransportConfig
2019-11-12 01:10:07 -08:00
Fabio Bertinatto
a59abc3cc3 Convert scheduler to use CSINode GA 2019-11-12 09:43:54 +01:00
Fabio Bertinatto
bf0182b9d3 Update hostpath CSI driver manifest
This is required for promoting volume limits to GA. The new version of
the driver reports the max number of volumes it supports. Such number
should be specified as a CLI argument when starting the driver.
2019-11-12 09:43:54 +01:00
Fabio Bertinatto
f6de8ab727 Enable volume limits e2e tests for CSI hostpath driver 2019-11-12 09:43:54 +01:00
Fabio Bertinatto
affcd0128b Promote volume limits to GA 2019-11-12 09:43:53 +01:00
Kubernetes Prow Robot
dff236e3b2
Merge pull request #82078 from SeongJuMoon/fix/storage-wrong-typo
fix wrong typo stoageMap to storageMap
2019-11-11 23:14:06 -08:00
Kubernetes Prow Robot
59e7570c38
Merge pull request #83653 from cwdsuzhou/Octo/e2efix
Fix storage e2e clean up
2019-11-11 21:54:06 -08:00
Kubernetes Prow Robot
805eecf692
Merge pull request #80058 from xing-yang/snapshot_beta
Enable VolumeSnapshotDataSource Feature Gate and update e2e tests for VolumeSnapshot CRD v1beta1
2019-11-11 20:06:07 -08:00
danielqsj
7518a44b18 Fix data race in client-go UpdateTransportConfig 2019-11-12 12:04:05 +08:00
Kubernetes Prow Robot
7d1f9b440e
Merge pull request #83815 from howardjohn/appprotocol
Add appProtocol to EndpointSlice.Port
2019-11-11 17:48:06 -08:00
ZP-AlwaysWin
f812530e42 Remove unnecessary judgment 2019-11-12 09:31:42 +08:00
Yassine TIJANI
b9fe59c93e remove system validators package from kubeadm and use k8s.io/system-validators instead
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-11-12 01:09:56 +01:00
Pete de Zwart
29a051388a - Delete backing string set from a threadSafeMap index when the string set length reaches 0.
- Added thread_safe_store_test exercising new index backing string set delete at 0 functionality.

- TestThreadSafeStoreDeleteRemovesEmptySetsFromIndex logic nesting inverted.

- Added test case for usage of an index where post element delete there is non-zero count of elements and expect the set to still exist.

- Fixed date.

- Fixed awprice nits.

- Fix bazel.
2019-11-12 09:55:16 +11:00
Kubernetes Prow Robot
cf06a2efd6
Merge pull request #85095 from liggitt/protocol_errors
Plumb configured acceptContentType to client config
2019-11-11 14:46:58 -08:00
Kubernetes Prow Robot
e008523f76
Merge pull request #85092 from fabriziopandini/alpha-certs-skips-missing-certs
kubeadm: alpha certs should skip missing files
2019-11-11 14:46:47 -08:00
Kubernetes Prow Robot
01e014c7d6
Merge pull request #85012 from alculquicondor/feat/predicate_factory
Add MetadataProducerFactory for predicates
2019-11-11 14:46:36 -08:00
Kubernetes Prow Robot
e10ed2efc9
Merge pull request #84826 from yliaog/nodeselector
added nodeSelector: beta.kubernetes.io/os: linux
2019-11-11 14:46:21 -08:00
Kubernetes Prow Robot
1ab6360997
Merge pull request #84524 from johnSchnake/customReporter
Print progress updates to stdout and publish to URL
2019-11-11 14:46:07 -08:00
Jordan Liggitt
7349a824df generated 2019-11-11 17:19:12 -05:00
Jordan Liggitt
d54a70db5c Switch kubelet/aggregated API servers to use v1 subjectaccessreviews 2019-11-11 17:19:11 -05:00
Jordan Liggitt
5ef4fe959a Switch kubelet/aggregated API servers to use v1 tokenreviews 2019-11-11 17:19:10 -05:00
Kubernetes Prow Robot
709a0c4f7b
Merge pull request #85067 from takanattie/fix_typo
Fix a typo in pkg/controller
2019-11-11 12:56:48 -08:00
Kubernetes Prow Robot
fc0bf06983
Merge pull request #85044 from neolit123/1.17-deprecate-cri-socket-upgrade
kubeadm: remove the deprecated "--cri-socket" flag for "upgrade apply"
2019-11-11 12:56:37 -08:00
Kubernetes Prow Robot
f610133f69
Merge pull request #85035 from gongguan/fix_diff_panic
fix kubectl diff panic
2019-11-11 12:56:18 -08:00
Kubernetes Prow Robot
bff9a7774c
Merge pull request #84639 from SataQiu/clean-scheduler-20191101
scheduler: improve some comments and validation messages
2019-11-11 12:56:04 -08:00
David Zhu
802fe12803 Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/ 2019-11-11 11:42:58 -08:00
Mike Danese
43d34882c9 adjust token cache benchmarks to get more accurate behavior
b.N is adjusted by pkg/testing using an internal heuristic:

> The benchmark function must run the target code b.N times. During
> benchmark execution, b.N is adjusted until the benchmark function
> lasts long enough to be timed reliably.

Using b.N to seed other parameters makes the benchmark behavior
difficult to reason about. Before this change, thread count in the
CachedTokenAuthenticator benchmark is always 5000, and batch size is
almost always 1 when I run this locally. SimpleCache and StripedCache
benchmarks had similarly strange scaling.

After modifying CachedTokenAuthenticator to only adjust iterations based
on b.N, the batch chan was an point of contention and I wasn't able to
see any significant CPU consumption. This was fixed by using
ParallelBench to do the batching, rather than using a chan.
2019-11-11 11:29:08 -08:00
marosset
6d4aea60cd Moving WindowsRunAsUserName to beta 2019-11-11 19:27:19 +00:00
Ted Yu
63aa70f78b Check that endpoint has subset before accessing first subset 2019-11-11 10:55:16 -08:00
Kubernetes Prow Robot
268663c9e3
Merge pull request #84996 from alculquicondor/cleanup/rm_factory
Remove leftover factory directory
2019-11-11 10:54:04 -08:00
Ahmad Diaa
7156d4532e remove factory.Config struct and NewFromConfig 2019-11-11 19:27:53 +01:00
Ahmad Diaa
7b8e5fb4f5 make Configurator.Create return a Scheduler 2019-11-11 19:27:53 +01:00
alejandrox1
cb25ac6c58 Removed unused method from e2e test framework
This PR is in preparation to start cleaning up test/e2e/framework/pods.go.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-11-11 13:13:15 -05:00
Kubernetes Prow Robot
0968636760
Merge pull request #85094 from rosti/kubeadm-hyperkube-deprecation-notice
kubeadm: Deprecate hyperkube use
2019-11-11 08:53:41 -08:00
Aldo Culquicondor
6a98c93f3c Add MetadataProducerFactory for predicates
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-11 11:27:44 -05:00
Jordan Liggitt
1cac7457a2 Plumb configured acceptContentType to client config 2019-11-11 10:54:38 -05:00
Kubernetes Prow Robot
a05efc6731
Merge pull request #85090 from deads2k/schedulershutdown
close scheduler kube-apiserver
2019-11-11 07:19:41 -08:00
Rostislav M. Georgiev
5bb80694ec kubeadm: Deprecate hyperkube use
As the hyperkube image is itself deprecated and moved out of tree, its use with
kubeadm gets deprecated too. Hence, deprecation messages will be printed when
it is used.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-11-11 17:03:25 +02:00
fabriziopandini
7d986a982c alpha certs skip missing files 2019-11-11 15:48:49 +01:00
Kubernetes Prow Robot
b2fb0f77ad
Merge pull request #82572 from tnozicka/fix-rs-expectations
Fix RS expectations for recreate case
2019-11-11 05:49:42 -08:00
David Eads
2d4fa51a6d close scheduler kube-apiserver 2019-11-11 08:04:22 -05:00
Nikhita Raghunath
e6ac57ef60 publishing: bump Go versions in rules 2019-11-11 15:37:40 +05:30
Tomas Nozicka
ce52643f12 Update Bazel 2019-11-11 09:11:43 +01:00
Tomas Nozicka
6754b93f6b Fix RS informer handlers and handling expectations on delete 2019-11-11 09:11:43 +01:00
Kubernetes Prow Robot
6d0994fa66
Merge pull request #84796 from damemi/fix-graceful-shutdown
Fixed error check in graceful shutdown test
2019-11-11 00:05:40 -08:00
louisgong
4f13f2739a fix kubectl diff panic 2019-11-11 15:58:28 +08:00
Kubernetes Prow Robot
cf5ec7615b
Merge pull request #82257 from prameshj/ilbsubnet
Support specifying a custom subnet for ILB ip in GCE
2019-11-10 22:59:41 -08:00