Commit Graph

85817 Commits

Author SHA1 Message Date
Matt Matejczyk
68a66f454d Increase cache size for leases
The default size (100) is not enough for large clusters and results in
unnecessary restarts of kube-controller-manager watcher for leases, see http://perf-dash.k8s.io/#/?jobname=gce-5000Nodes&metriccategoryname=APIServer&metricname=LoadRequestCount&Resource=leases&Scope=cluster&Subresource=&Verb=LIST

This PR will make it match what we have for nodes.
2019-11-13 16:23:12 +01:00
Chuck Ha
8fcf892498
Remove an infinite poll
This infinite poll can make kubeadm init/join hang forever due
to a lack of function cancelling.

Signed-off-by: Chuck Ha <chuckh@vmware.com>
2019-11-13 10:10:41 -05:00
Aldo Culquicondor
e3bdb4b20b Store topology spread constraints in metadata with labels.Selector
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-13 10:10:08 -05:00
Kubernetes Prow Robot
be1658e08c
Merge pull request #85048 from shaloulcy/label_selector_requires_exact_match
add RequiresExactMatch for label.Selector
2019-11-13 07:01:13 -08:00
Eddie Hale
566484366e fixed golint errors in pkg/apis/extensions register.go and types.go 2019-11-13 08:48:42 -06:00
Mike Spreitzer
e10acc78de Fixed lint and staticcheck oversights 2019-11-13 09:20:00 -05:00
Ted Yu
fb046f7787 Continue removing file in ManagerImpl#removeContents 2019-11-13 06:00:34 -08:00
Lubomir I. Ivanov
431fd630ff kubeadm: enable kubelet client certificate rotation on primary CP nodes
- Don't always print to stdout that the kubelet is starting.
instead delegate this to the callers of TryStartKubelet.
- Add a new root kubeadm init phase called "kubelet-finalize"
- Add a sub-phase to "kubelet-finalize"
called "experimental-cert-rotation"
- "cert-rotation" performs the following actions:
  - tries to guess if kubelet client cert rotation is enabled
  - update the kubelet.conf to use the rotatable cert/key
2019-11-13 15:49:33 +02:00
Fabio Bertinatto
bbfc6ef450 Convert volume binder to use CSINode GA 2019-11-13 14:01:01 +01:00
Fabio Bertinatto
dcb8c78e38 Expand unit tests for topology translation in csi-translation-lib 2019-11-13 14:01:01 +01:00
Fabio Bertinatto
7cba40fb09 Use CSI translation lib in VolumeBinderPredicate 2019-11-13 14:01:01 +01:00
Fabio Bertinatto
4e77a27908 Convert zones to volume topology in CSI translation lib 2019-11-13 14:01:01 +01:00
David Eads
3aede35b3b dynamic reload cluster authentication info for aggregated API servers 2019-11-13 07:54:27 -05:00
shaloulcy
5a23bffd42 add RequiresExactMatch for label.Selector
Signed-off-by: shaloulcy <lcy041536@gmail.com>
2019-11-13 20:52:27 +08:00
Kubernetes Prow Robot
e45e6e5f20
Merge pull request #83836 from RainbowMango/pr_hide_common_deprecated_metrics
Hide metrics that have been deprecated
2019-11-13 04:35:12 -08:00
RainbowMango
ea40540f5c Add Reset() API to stability framework 2019-11-13 19:52:40 +08:00
RainbowMango
9f013cb34f Hide proxy metrics that have been deprecated in 1.14 2019-11-13 19:31:14 +08:00
Kubernetes Prow Robot
0b01915c03
Merge pull request #84291 from matthyx/startup_probe_test
Clarify startupProbe e2e tests
2019-11-13 02:47:11 -08:00
MikeSpreitzer
8c2807319d Added overlooked BUILD files 2019-11-13 09:46:44 +00:00
hwdef
2e1d25cbf6 fix wrong link 2019-11-13 17:45:47 +08:00
Mike Spreitzer
1c31b2bdc6 Brushing up queueset
(1) Replaced random-looking assortment of counter increments and
decrements with something hopefully more principalled-looking.  Most
importantly, introduced the MutablePromise abstraction to neatly wrap
up the complicated business of unioning multiple sources of
unblocking.

(2) Improved debug logging.

(3) Somewhat more interesting test cases, and a bug fix wrt round
robin index.
2019-11-13 09:24:31 +00:00
Kubernetes Prow Robot
c558e7f1f2
Merge pull request #84211 from misterikkit/create-idempotent
vsphere: check if volume exists before create
2019-11-13 00:24:12 -08:00
Manjunath A Kumatagi
de483097cb Remove memory resource constraint 2019-11-13 13:22:44 +05:30
Claudiu Belu
d4d7f58362 Windows: Fixes termination-file mounting for containerd
If Containerd is used on Windows, then we can also mount individual
files into containers (e.g.: termination-log files), which was not
possible with Docker.

Checks if the container runtime is containerd, and if it is, then also
mount the termination-log file.
2019-11-12 23:33:55 -08:00
Igor Zibarev
6350095d3c scheduler: make algorithm source an option
Changes scheduler.New so that algorithm source is moved from the
parameter to an option. The default algorithm source is source with the
DefaultProvider.
2019-11-13 10:22:29 +03:00
toyoda
5683fe7f51 Use log functions of core framework on e2e/storage/utils 2019-11-13 16:17:11 +09:00
Matthias Bertschy
66595d54a0 Add startupProbe result handling to kuberuntime 2019-11-13 08:12:54 +01:00
Kubernetes Prow Robot
c6c7e8b807
Merge pull request #76586 from JishanXing/76093
Fix #76093, restructure LICENSES file generation
2019-11-12 22:54:10 -08:00
knight42
34de08a3c9
feat(scale): update CR in UpdatedObjectInfo impl 2019-11-13 14:31:50 +08:00
draveness
5cb92260a6 feat: graduate ResourceQuotaScopeSelectors to GA 2019-11-13 14:07:22 +08:00
Kubernetes Prow Robot
6ff3b68d72
Merge pull request #84042 from okartau/avoid-local-kubectl
test/e2e: Reduce need to use local kubectl
2019-11-12 21:10:11 -08:00
Jordan Liggitt
9f40e19d7a Add comments to explain golang.org replace directives 2019-11-12 23:54:26 -05:00
YuikoTakada
2eac9a0f17 Remove unused func and struct from pod.go 2019-11-13 04:17:24 +00:00
RainbowMango
0b48386e1a Hide metrics that have been deprecated in 1.14 2019-11-13 11:04:48 +08:00
Kubernetes Prow Robot
bb55aa7c54
Merge pull request #76310 from ravisantoshgudimetla/fix-priority-quota
Relax namespace restriction for critical pods
2019-11-12 19:00:11 -08:00
RainbowMango
b2fbdee9bb Deal with auto-generated files.
- Update bazel by hack/update-bazel.sh
2019-11-13 10:32:53 +08:00
RainbowMango
ac0562b00c Add metrics flag to show hidden metrics to kube-apiserver 2019-11-13 10:32:52 +08:00
RainbowMango
0efb642fec Add common flag validation functionality shared by kube-binaries 2019-11-13 10:32:43 +08:00
Ji Shan Xing
a193dfc1fa 76586 Add generated license files 2019-11-12 20:57:00 -05:00
Jonathan Basseri
131668a03f vsphere: check if volume exists before create
Sometimes, volume creation can succeed right as the request times out,
causing k8s to interpret it as a failure. When the request is retried,
we want it to succeed. When trying this in vSphere, the second create
request failed with "already exists" and it never recovered.

This adds a check to the in-tree vsphere storage plugin that checks if a
VMDK exists before trying to create it. The check is done BEFORE create.

Tested: manual only )-:
2019-11-12 17:51:35 -08:00
YuikoTakada
e837a8b07e Remove unused function from e2e framework rest.go 2019-11-13 01:44:31 +00:00
Ji Shan Xing
d39ac98cc5 76093 restructure LICENSES file generation 2019-11-12 20:38:57 -05:00
Yu Liao
2552837850 serve hns.psm1 StackdriverLogging-v1-9.exe GetGcePdName.dll from GCS 2019-11-12 17:04:10 -08:00
Abdullah Gharaibeh
acc66ede1a Pass InformerFactory instead of indivisual informers in scheduler configuration logic 2019-11-12 19:38:27 -05:00
andyzhangx
01ea1694aa fix vmss dirty cache issue
add logging
2019-11-13 00:15:55 +00:00
Kubernetes Prow Robot
eedfb6bc7a
Merge pull request #79223 from rosti/kubeadm-component-configs-versioned
kubeadm: component configs versioned
2019-11-12 15:38:11 -08:00
Zihong Zheng
0833e8840e Amend service controller code/test regarding finalizer GA 2019-11-12 15:04:07 -08:00
Zihong Zheng
87e292c959 Promote service load balancer finalizer feature gate to GA 2019-11-12 14:59:46 -08:00
ravisantoshgudimetla
f2cbbe228f BUILD files 2019-11-12 17:22:14 -05:00
ravisantoshgudimetla
fe4cac73c8 Relax namespace restriction for critical pods 2019-11-12 17:22:09 -05:00