Commit Graph

85625 Commits

Author SHA1 Message Date
Jordan Liggitt
cd4474ae4f Revert "76093 restructure LICENSES file generation"
This reverts commit d39ac98cc5.
2019-11-13 10:24:32 -05:00
Jordan Liggitt
c5d71b09e8 Revert "76586 Add generated license files"
This reverts commit a193dfc1fa.
2019-11-13 10:24:13 -05:00
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
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
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
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
hwdef
2e1d25cbf6 fix wrong link 2019-11-13 17:45:47 +08: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
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
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
Kubernetes Prow Robot
ce11622bb6
Merge pull request #84522 from liu-cong/plugin
Add scheduler plugin execution duration metric.
2019-11-12 13:50:11 -08:00
Jack Kleeman
7753bfa3a4 Fix incorrect message on describe netpol
When I describe network policies, it often tells me that pods are
isolated for egress connectivity because the policy that applies to them
has no egress rules. However, this would only lead to isolation if there
is an explicitly set egress policy type. Otherwise, the policy allows
egress traffic. The same applies if you have explicitly set an egress
type only, describe will incorrectly report isolated ingress traffic.

This PR fixes this by inferring the applicable direction for the policy
based on the PolicyTypes, and then if a policy doesn't apply eg to
egress, we print 'Not affecting egress traffic'
2019-11-12 21:35:31 +00:00
Kubernetes Prow Robot
055daafe23
Merge pull request #85139 from ahg-g/ahg-snapshot2
Updated NewSnapshot interface to accept a NodeInfoMap
2019-11-12 11:52:10 -08:00
Kubernetes Prow Robot
9d84bd6fc2
Merge pull request #85120 from kkmsft/quick_start_hyperkube
Quick steps for generating hyperkube image
2019-11-12 11:51:59 -08:00
Kubernetes Prow Robot
ee9020c8bc
Merge pull request #85106 from alculquicondor/refactor/single_selector
Merging selectors used for spreading into one
2019-11-12 11:51:46 -08:00
Kubernetes Prow Robot
20e256b806
Merge pull request #85100 from alejandrox1/cleanup-e2epod
Removed unused method from e2e test framework
2019-11-12 11:51:38 -08:00
Kubernetes Prow Robot
ed10b5b17f
Merge pull request #85047 from yutedz/dev-mgr-err-handling
Handle error return from allocatePodResources
2019-11-12 11:51:27 -08:00
Kubernetes Prow Robot
f61fbca757
Merge pull request #84924 from njuicsgz/master
proxy/ipvs: only get local addresses once per sync
2019-11-12 11:51:16 -08:00
Kubernetes Prow Robot
3eff237357
Merge pull request #84882 from marosset/run-as-username-beta
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00