Commit Graph

303 Commits

Author SHA1 Message Date
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
k8s-merge-robot
a1e3a1c39a Merge pull request #16328 from erictune/scratch-addons
Auto commit by PR queue bot
2015-10-29 01:32:11 -07:00
Eric Tune
0869e01342 Improve addons documentation.
Longer description of Addons in Admin Guide to Cluster Components.

Mention fluentd as node component in Admin Guide to Cluster Components.

From docs/getting-started-guides/scratch.md add refs to setting up
DNS, Logging, Monitoring, and GUI.

Add TOCs to several pages that were referenced.

Fixes #16235
2015-10-27 08:28:55 -07:00
Andy Goldstein
325e0ce68b Fix kubelet help typo
Fix double percent (%%) typo for image-gc-high-threshold and
image-gc-low-threshold help text.
2015-10-26 10:37:46 -04:00
feisky
13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
Tim Hockin
5c903dbcac Merge pull request #16073 from caesarxuchao/fix-htmlpreview-on-head
fix htmlpreview links to point to subdictory
2015-10-23 13:32:29 -07:00
Tim Hockin
5390a93f4b csv is not a know syntax, messes up gh-pages 2015-10-23 12:37:56 -07:00
Saad Ali
a5c3c16994 Merge pull request #15981 from nikhiljindal/docsUpdate
Updating documentation to reflect the latest status of extension resources
2015-10-23 12:07:31 -07:00
Filip Grzadkowski
5f7fea2f35 Merge pull request #15974 from gambol99/rj/groups_fields_quoted
single column groups option in tokenfile
2015-10-23 14:06:25 +02:00
Chao Xu
316bd058d0 fix htmlpreview links to point to subdictory 2015-10-21 15:46:52 -07:00
nikhiljindal
72914fd81b Updating documentation to reflect the latest status of extension resources 2015-10-21 13:03:33 -07:00
Rohith
ee691aa1ab [tokenfile]
- the groups field has been changed to a single column option as requested in https://github.com/kubernetes/kubernetes/pull/15704

[docs]
- updated the docs related the the tokefile along with an example
2015-10-21 10:37:35 +01:00
k8s-merge-robot
b6ac469eaf Merge pull request #13724 from HaiyangDING/update_limitrange_example
Auto commit by PR queue bot
2015-10-21 02:20:33 -07:00
dinghaiyang
5cc6433a05 update limitrange example 2015-10-21 09:48:44 +08:00
k8s-merge-robot
a2b6fea452 Merge pull request #15704 from gambol99/rj/add_groups_tokenfile
Auto commit by PR queue bot
2015-10-20 07:16:13 -07:00
k8s-merge-robot
77a68448c7 Merge pull request #15919 from brendandburns/docs2
Auto commit by PR queue bot
2015-10-20 03:35:45 -07:00
Rohith
f02c80584b [plugin/auth/tokenfile]
- allowing for variable length groups to be added to the static token file

[docs/admin/authentication]
- updating the documentation for token file
2015-10-19 17:14:14 +01:00
Brendan Burns
6827900a8d Fix a deprecated 'replace' command with a 'patch' command. 2015-10-16 14:34:37 -07:00
k8s-merge-robot
3744ea8ce6 Merge pull request #15425 from Dingshujie/fix_dns_doc
Auto commit by PR queue bot
2015-10-15 13:37:03 -07:00
k8s-merge-robot
5d66bf9741 Merge pull request #15519 from ihmccreery/upgrade-versioning
Auto commit by PR queue bot
2015-10-15 06:30:12 -07:00