Commit Graph

322 Commits (62a8b3d44cbfc4eba5c6cdda6ebebab48533a8c4)

Author SHA1 Message Date
k8s-merge-robot f2d273d481 Merge pull request #19128 from resouer/qps-limit
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
Mike Danese fe8ae1a28a autogenerated 2016-01-15 16:05:49 -08:00
Mike Danese 1162cfd3b1 kubelet: move most of kubelet server configuration to a config object.
This is part of migrating kubelet configuration to the componentconfig api
group and is preliminary to retrofitting client configuration and
implementing full fledged API group mechinary.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-15 15:31:59 -08:00
Mike Danese 35a3785cf6 kubelet: use ConfigurationMap instead of json 2016-01-14 09:32:42 -08:00
harry 080cb60dab Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics

Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot c475b4ee35 Merge pull request #18611 from timstclair/allocatable-impl2
Auto commit by PR queue bot
2016-01-12 22:48:12 -08:00
Mike Danese f71657d9a6 retrofit the scheduler with the leader election client.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
Tim St. Clair e2ffd007f7 Implement node Allocatable
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```

Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Mike Danese bf763bba95 Merge pull request #19498 from pwittrock/nodelabels
Node labels: Remove node-labels-file command line option.  Change --n…
2016-01-12 15:12:57 -08:00
Phillip Wittrock f1c8384ff4 Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line. 2016-01-12 12:57:12 -08:00
k8s-merge-robot c4d46adc5e Merge pull request #19352 from roberthbailey/large-cluster
Auto commit by PR queue bot
2016-01-11 20:22:55 -08:00
Robert Bailey 603b15388d Clean up the admin table of contents. 2016-01-06 15:12:48 -08:00
Robert Bailey abf9d227fd Update the large cluster parameters to reflect the 1.1 release. 2016-01-06 14:54:15 -08:00
k8s-merge-robot 66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Sergey Tiraspolsky f91828899f Add zone back in to cluster management doc
Addressing PR comments
2016-01-04 17:56:41 -08:00
Sergey Tiraspolsky ef4359ab7e Fix cluster management doc
Update cluster management doc with correct command to resize cluster
2016-01-04 17:08:50 -08:00
k8s-merge-robot 236683fe29 Merge pull request #18357 from gmarek/expose-master-components
Auto commit by PR queue bot
2016-01-04 14:32:17 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
Ravi Sankar Penta a9b0696166 Update auto generated docs for kubelet
Add node-ip flag to know-flags.txt
2016-01-03 10:18:58 -08:00
k8s-merge-robot 4f65f68a12 Merge pull request #19182 from thockin/kube-proxy-conntrack-max
Auto commit by PR queue bot
2016-01-02 02:36:18 -08:00
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Tim Hockin da0ac31182 Set conntrack params in kube-proxy
Add flags to control max connections (set to 256k vs 64k default) and TCP
established timeout (set to 1 day vs 5 day default).  Flags can be set to 0 to
mean "don't change it".

This is only set at startup, and not wrapped in a rectifier loop.

Tested manually.
2015-12-30 15:46:40 -08:00
k8s-merge-robot fec5206f1a Merge pull request #13840 from nelcy/master
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
k8s-merge-robot 500493a3ac Merge pull request #18925 from caesarxuchao/refactor-registration
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot e340cce2ed Merge pull request #15423 from hurf/convert_cleanup
Auto commit by PR queue bot
2015-12-24 00:34:37 -08:00
Chao Xu 2b5b708b70 Refactor the API registration and installation 2015-12-23 22:44:25 -08:00
k8s-merge-robot e185b1028a Merge pull request #18909 from ncdc/force-image-pulls-admission
Auto commit by PR queue bot
2015-12-23 14:53:31 -08:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
gmarek a4202cbee9 Scheduler and ControllerManager listens on 0.0.0.0 2015-12-23 08:33:25 +01:00
hurf 763edd3011 Clean up standalone conversion tool
Remove kube-version-change for all its functionalities are covered
by kubectl convert command. Also changed the related docs.
2015-12-23 10:31:08 +08:00
Brendan Burns 4ca66d2aef Merge pull request #18047 from caesarxuchao/munger-tag-new
Stop munger produce the link to a release version doc if it doesn't exit in the release branch
2015-12-22 10:35:20 -08:00
Andy Goldstein f175a22443 Add admission controller to force image pulls
Add an admission controller that forces every container's image pull policy to
Always when a pod is created.
2015-12-22 10:32:40 -05:00
Ed Costello f968c593e3 Copy edits for typos 2015-12-22 09:30:48 -05:00
HaiyangDING d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
Chao Xu 2b2f285777 run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
k8s-merge-robot 2eea4c0e8f Merge pull request #18819 from wojtek-t/flag_gate_second_etcd
Auto commit by PR queue bot
2015-12-20 00:36:58 -08:00
k8s-merge-robot 1562d84c96 Merge pull request #18628 from mikedanese/expose-master-count
Auto commit by PR queue bot
2015-12-19 12:42:05 -08:00
Mike Danese a09d85bd83 expose master count configuration in a cli option on apiserver 2015-12-18 13:10:41 -08:00
Wojciech Tyczynski 0209792f7b Update docs about etcd for events 2015-12-18 12:11:42 +01:00
Janet Kuo 32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
k8s-merge-robot 548cfbf058 Merge pull request #18358 from gmarek/use-proxy
Auto commit by PR queue bot
2015-12-17 06:37:55 -08:00
nikhiljindal 2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
gmarek 4852ca23ef Make getSchedulingLatency use master proxy 2015-12-14 16:08:34 +01:00
nikhiljindal 724b098855 Deleting unused master.ClusterName param 2015-12-11 13:39:19 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
k8s-merge-robot d3243b8778 Merge pull request #18383 from timothysc/tools_removal
Auto commit by PR queue bot
2015-12-11 07:17:14 -08:00
k8s-merge-robot 4a22f2f5f5 Merge pull request #18177 from eosrei/1111-doc-machine-names
Auto commit by PR queue bot
2015-12-10 21:42:08 -08:00
k8s-merge-robot 2a5e83ad70 Merge pull request #17924 from xinxiaogang/master
Auto commit by PR queue bot
2015-12-10 11:14:10 -08:00
Timothy St. Clair 413d8d18fe Futher storage isolation and removal of the tools interface. 2015-12-09 11:04:14 -06:00
k8s-merge-robot d71e838d91 Merge pull request #17760 from gmarek/kubelet-port-salt
Auto commit by PR queue bot
2015-12-08 21:14:10 -08:00
k8s-merge-robot 94752c12a8 Merge pull request #18128 from ZJU-SEL/fix-typo
Auto commit by PR queue bot
2015-12-07 15:59:08 -08:00
gmarek 4060eba626 Use KubeletPort from API object, salt changes, take 2
This reverts commit a7425bf070, reversing
changes made to 4a9b0fc715.
2015-12-07 10:31:11 +01:00
k8s-merge-robot db11f1b6c6 Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
Auto commit by PR queue bot
2015-12-06 12:24:00 -08:00
Brad Erickson ac5726a12f Minion->Node rename: docs/ machine names only, except gce/aws 2015-12-03 23:34:50 -08:00
He Simei 387d861d4e deprecate confusing flag usage 2015-12-04 09:09:23 +08:00
derekwaynecarr 55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Jordan Liggitt 2321651518 Add non-resource and API group support to ABAC authorizer, version ABAC policy rules 2015-12-03 12:31:13 -05:00
Xin 128ce59bf1 Issue# 17860 Correct expression of nodecontroller for sync loop in node.html
1. Remove "creates" from the sentence
2. Add general explaination for nodecontaoller

https://github.com/kubernetes/kubernetes/issues/17860
2015-12-03 09:20:26 +08:00
gmarek 459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
k8s-merge-robot 3cc588b5be Merge pull request #17850 from sdminonne/bug_fix3
Auto commit by PR queue bot
2015-11-27 01:15:02 -08:00
k8s-merge-robot c7cddbefc9 Merge pull request #17697 from dchen1107/event
Auto commit by PR queue bot
2015-11-26 13:42:05 -08:00
Salvatore Dario Minonne 479afa4bd2 updating resourcequota/README.md 2015-11-26 22:39:48 +01:00
k8s-merge-robot 0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
k8s-merge-robot e09dd8df47 Merge pull request #17537 from ihmccreery/upgrading-masters-docs
Auto commit by PR queue bot
2015-11-25 18:39:02 -08:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Prashanth Balasubramanian 9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian ad2d3d4c20 Docs etc 2015-11-25 09:42:59 +01:00
jiangyaoguo e3ea9d7c40 add separate client for events in kubelet 2015-11-25 01:28:34 +08:00
k8s-merge-robot 683e908f0a Merge pull request #17265 from gambol99/rj/node_labels
Auto commit by PR queue bot
2015-11-24 06:55:31 -08:00
Dawn Chen 0b734cec93 Have a sane default for RegistryPullQPS 2015-11-23 17:14:15 -08:00
Mike Danese 65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
k8s-merge-robot 68d691858a Merge pull request #17255 from derekwaynecarr/add_default_to_header
Auto commit by PR queue bot
2015-11-21 17:05:13 -08:00
k8s-merge-robot d25cffef55 Merge pull request #17381 from caesarxuchao/add-blob
Auto commit by PR queue bot
2015-11-20 05:32:31 -08:00
Isaac Hollander McCreery 96cd51066d Update docs for how to perform upgrades 2015-11-19 14:46:46 -08:00
Rohith c2526c93fa - adding the -node-label flag to the kubelet which allows for a initial tagging / labelling of the node on cluster registration
- the labels can come from a series of key=pair value or file:///path_to_file which contains key pairs
2015-11-18 23:20:58 +00:00
Chao Xu 0c913ed5a1 change HEAD to blob/HEAD, and add blob in versioned-docs.sh 2015-11-16 17:13:49 -08:00
Greg Taylor fd79010fd7 Spelling fix in daemons.md
DeamonSet->DaemonSet
2015-11-16 16:05:32 -08:00
Jeff Lowdermilk 70d89a3541 Merge pull request #13571 from yujuhong/lifecycle_v0
kubelet: add a generic pod lifecycle event generator
2015-11-16 14:59:40 -08:00
k8s-merge-robot 65c285f5ab Merge pull request #16344 from thockin/enable-iptables-proxy
Auto commit by PR queue bot
2015-11-16 09:48:38 -08:00
Matt Moore b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Tim Hockin 970c045848 Enable iptables kube-proxy by default in master 2015-11-13 18:38:01 -08:00
derekwaynecarr 138315266d Improve describe for LimitRange resource based on user feedback 2015-11-13 17:02:54 -05:00
Tim Hockin dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
k8s-merge-robot 6a34b2cc04 Merge pull request #16411 from feihujiang/deleteSimpleYamlDocInUserGuide
Auto commit by PR queue bot
2015-11-13 11:13:23 -08:00
k8s-merge-robot 0f7b1b4d3a Merge pull request #17224 from mikedanese/undeprecate-static
Auto commit by PR queue bot
2015-11-13 10:52:20 -08:00
Yu-Ju Hong ac778e8203 Adjust the sync/backoff period
Set resyncInterval to one minute now that we rely on the generic pleg to trigger
pod syncs on container events. When there is an error during syncing, pod
workers need to wake up sooner to retry. Set the sync error backoff period to
10 second in this case.
2015-11-13 09:57:25 -08:00
Mike Danese bb0e2e6de7 undeprecated static pods in the docs 2015-11-13 09:40:38 -08:00
Abhi Shah 051e9fe837 Fix Env Var Name in daemonset documentation 2015-11-13 09:24:09 -08:00
feihujiang ef0239a08b Delete the simple-yaml.md example 2015-11-12 13:48:52 +08:00
Jan Chaloupka 53419ee971 doc: correct member 'the the -> the' (two 'the' member into one 'the' member) 2015-11-11 22:54:25 +01:00
Avesh Agarwal f111033641 Fix defaults for MaxPods and MaxOpenFiles.
Fix go formatting and docs.
2015-11-10 12:20:54 -05:00
k8s-merge-robot 1831a057f1 Merge pull request #16694 from jbeda/update-etcd
Auto commit by PR queue bot
2015-11-05 03:27:26 -08:00
k8s-merge-robot c3a072768b Merge pull request #16728 from markturansky/lengthen_pv_sync
Auto commit by PR queue bot
2015-11-05 00:35:12 -08:00
Joe Beda 993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
k8s-merge-robot 8e5f3a3f9b Merge pull request #16761 from roberthbailey/supervisord
Auto commit by PR queue bot
2015-11-04 02:28:38 -08:00
markturansky 468bc39a63 Lengthened pvsync period 2015-11-04 00:42:44 -05:00
Robert Bailey d5bb12134e Replace monit with supervisord in documentation. 2015-11-03 16:20:02 -08:00
derekwaynecarr b403e30d1a Kubelet serialize image pulls had incorrect default 2015-11-03 15:24:01 -05:00
Mike Danese 67f46aa1f1 autogenerated 2015-10-31 12:26:54 -07:00
nikhiljindal 72db55eb26 Fixing how to enable daemonsets 2015-10-30 12:28:10 -07:00