Commit Graph

3581 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
Christophe Augello 38e845af02 rename anchor tl;dr to Abstract 2016-01-21 13:19:05 +01:00
k8s-merge-robot 4e04a289d8 Merge pull request #19793 from MikeSpreitzer/issue/19221
Auto commit by PR queue bot
2016-01-20 18:52:56 -08:00
k8s-merge-robot 5b5065c525 Merge pull request #19558 from idvoretskyi/patch-6
Auto commit by PR queue bot
2016-01-20 16:26:34 -08:00
Justin Santa Barbara 2958ea253a GCE: Allow for reuse of master
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.

Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
deads2k 14396fc464 add subject access review types 2016-01-20 08:24:15 -05:00
k8s-merge-robot 1c861d43ac Merge pull request #18298 from pmorie/secret-env
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
k8s-merge-robot 864065be97 Merge pull request #19621 from mikedanese/retrofit-controller-manager
Auto commit by PR queue bot
2016-01-19 17:22:42 -08:00
k8s-merge-robot 2a79ac4a31 Merge pull request #18322 from mesosphere/licenses
Auto commit by PR queue bot
2016-01-19 17:17:17 -08:00
k8s-merge-robot 501f770401 Merge pull request #17958 from sils1297/patch-1
Auto commit by PR queue bot
2016-01-19 17:15:37 -08:00
k8s-merge-robot b80ed11cc2 Merge pull request #15998 from cilium-team/updating-vagrant
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Isaac Hollander McCreery 2794ee092f Add docs about [Feature:...] tests for experimental, beta, and GA features 2016-01-19 16:51:18 -08:00
André Martins 0515b4c7c9 Updated Vagrant VMs to Fedora 23
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Mike Spreitzer bf671f5723 Fix reference to kubernetes release
Replace old repo name with https://github.com/kubernetes/kubernetes.
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Mike Danese a885d84cc9 leaderelection: retrofit controller-manager with leaderelection client
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
Paul Morie 394a7bb4d0 Regen for secrets in env 2016-01-18 12:32:32 -05:00
Paul Morie c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Tim Hockin 1a5bd79dc3 Merge pull request #15353 from tpounds/cleanup-scratch-doc-formatting
Minor documentation formatting cleanup.
2016-01-17 23:46:08 -08:00
k8s-merge-robot 7d02cf6310 Merge pull request #19691 from piosz/doc-cleanup
Auto commit by PR queue bot
2016-01-16 19:46:40 -08:00
k8s-merge-robot d5dde09e10 Merge pull request #19465 from thockin/docs-nit
Auto commit by PR queue bot
2016-01-16 13:32:36 -08:00
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
k8s-merge-robot 3816c1798f Merge pull request #19411 from eparis/boolflag-def-val
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00
k8s-merge-robot fab5fbde7c Merge pull request #19507 from mikedanese/kubelet-config
Auto commit by PR queue bot
2016-01-15 18:14:53 -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
k8s-merge-robot df90bb44d9 Merge pull request #19679 from NanXiao/patch-1
Auto commit by PR queue bot
2016-01-15 13:24:43 -08:00
Eric Tune 021cfe8e09 Mention some new api groups. 2016-01-15 12:40:25 -08:00
k8s-merge-robot 21aa683fb5 Merge pull request #18974 from pmorie/config-env
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
Piotr Szczesniak 04040e72dc Remove autoscaling.md outdate proposal 2016-01-15 11:06:19 +01:00
Nan Xiao 59df63d8a7 Update mesos.md
#18954 should also be merged into master branch.
2016-01-15 10:27:02 +08:00
Mike Danese 9745d1cbf0 Merge pull request #19626 from mikedanese/kubelet-labels
kubelet: use ConfigurationMap instead of json
2016-01-14 14:08:53 -08:00
Isaac Hollander McCreery f6fe6949d5 Merge pull request #19505 from ihmccreery/label-documentation
Add documentation for labels
2016-01-14 13:11:31 -08:00
Mike Danese b3d035e16f Merge pull request #19278 from philips/minor-edits-to-apiserver-watch-scaling
docs: apiserver-watch: minor cleanups
2016-01-14 11:51:48 -08:00
Isaac Hollander McCreery 2d09e07ae6 Add documentation for test labels 2016-01-14 09:54:23 -08:00
Mike Danese 35a3785cf6 kubelet: use ConfigurationMap instead of json 2016-01-14 09:32:42 -08:00
Karl Isenberg 6125f539b6 Add hack/update-godep-licenses.sh to generate Godeps/LICENSES.md
- Add Godeps/LICENSES.md
- Add verify-godep-licenses to verify that Godeps/LICENSES.md is up to date
- Trigger verify-godep-licenses in the pre-commit hook only if the Godeps dir has changed
- Exclude verify-godep-licenses in verify-all
- Add verify-godep-licenses to make verify (used by travis)
- Add verify-godep-licenses to shippable
- Update dev docs to mention update-godep-licenses
2016-01-14 09:05:25 -08:00
Paul Morie 17c8c8f9fc Regenerate for configMap in env 2016-01-14 10:40:56 -05:00
Eric Paris aad4b4477d Make "BoolFlag" booleans not require =true 2016-01-14 09:07:00 -05:00
Maciej Szulik 10de4c2d51 ScheduledJob controller proposal 2016-01-14 12:09:24 +01:00
k8s-merge-robot 2655e1f767 Merge pull request #19361 from tombenner/add_current_context
Auto commit by PR queue bot
2016-01-14 01:09:12 -08:00
Mike Spreitzer d4ab9663c4 Introduce FLANNEL_OTHER_NET_CONFIG
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.

Fixes #19618
2016-01-14 01:27:13 -05:00
k8s-merge-robot c059dfdb9b Merge pull request #18712 from pmorie/config-kubectl
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
Quinton Hoole 8c5edb6771 Remove accidental cruft from compute-resources.md document. 2016-01-13 11:52:01 -08:00
k8s-merge-robot 905d6b63b5 Merge pull request #19121 from gtaylor/patch-4
Auto commit by PR queue bot
2016-01-13 10:28:10 -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 32e4696ea5 Merge pull request #18404 from janetkuo/kubectl-for-deployment
Auto commit by PR queue bot
2016-01-12 22:59:13 -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
Janet Kuo c492462f90 Address comments; more details about deployment versions 2016-01-12 16:26:04 -08:00
Janet Kuo f6f0d183e0 Address comments 2016-01-12 16:26:04 -08:00
Janet Kuo 1c606b6532 Proposal for deploy in kubectl 2016-01-12 16:26:04 -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
Greg Taylor bed707a5e2 Alphabetize user contributed libraries list. 2016-01-12 14:20:33 -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
Ihor Dvoretskyi 96d0945dcc Libvirt starting commands
Libvirt starting commands for systemd and init.d added.
2016-01-12 21:35:25 +02:00
Daniel Smith a4442c916f Merge pull request #19324 from sdminonne/bug_fix
to fix comment for apis.extensions.JobCondition
2016-01-12 10:42:24 -08:00
k8s-merge-robot c255181509 Merge pull request #18248 from resouer/images-dev
Auto commit by PR queue bot
2016-01-11 23:53:43 -08:00
Tom Benner 52739bc82b Add kubectl config current-context 2016-01-11 21:54:24 -08:00
k8s-merge-robot d246ed00fa Merge pull request #18894 from luxas/update_master_multi
Auto commit by PR queue bot
2016-01-11 20:38:41 -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
Lucas Käldström 7d497441b3 Update docker-multinode instructions and version. Also run kube-proxy in a pod in the docker-multnode manifest 2016-01-11 16:45:56 +02:00
Salvatore Dario Minonne 172d7ee32c to fix comment for apis.extensions.JobCondition 2016-01-11 11:07:50 +01:00
k8s-merge-robot 0b750fb0be Merge pull request #19281 from erictune/image-doc-fix-1
Auto commit by PR queue bot
2016-01-11 01:24:08 -08:00
Tim Hockin 5002b784f9 Clarify --external-ip in kubectl expose docs
Also fix a couple minor punctuation issues.
2016-01-10 23:29:57 -08:00
k8s-merge-robot ce9b117a19 Merge pull request #16698 from mml/issue3885
Auto commit by PR queue bot
2016-01-09 13:38:41 -08:00
Vishnu kannan 0b430379d8 Proposal for disk accounting.
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2016-01-08 15:07:56 -08:00
k8s-merge-robot 37b5726716 Merge pull request #14431 from Defensative/UDP-LB
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
Eric Tune 1317024f9e Update image docs to mention AlwaysPullImages 2016-01-08 07:40:25 -08:00
k8s-merge-robot cb80be10f7 Merge pull request #19257 from justinsb/doc_ubernetes_lite
Auto commit by PR queue bot
2016-01-08 05:23:47 -08:00
harry 3a9de6ee56 Updated generated code and docs 2016-01-08 17:13:02 +08:00
k8s-merge-robot a8d372e78d Merge pull request #19205 from mikedanese/move-locally
Auto commit by PR queue bot
2016-01-07 12:11:44 -08:00
k8s-merge-robot 0fb1a93944 Merge pull request #19353 from roberthbailey/admin-readme
Auto commit by PR queue bot
2016-01-07 11:57:42 -08:00
k8s-merge-robot 35e203b124 Merge pull request #19321 from wanghaoran1988/fixwronglinkx
Auto commit by PR queue bot
2016-01-07 11:56:55 -08:00
Matt Liggett c6e9ad066e Initial node drain implementation for #3885.
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period.  It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.

Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
Tim St. Clair 846c642aef Add node performance measuring guide
Add a development guide for measuring performance of node components.
The purpose of this guide is threefold:

1. Document the nuances of measuring kubelet performance so we don't
forget or need to reinvent the wheel.
2. Make it easier for new contributors to analyze performance.
3. Share tips and tricks that current team members might not be aware
of.
2016-01-06 15:19:05 -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
Paul Morie adc04924a0 Regenerate for ConfigMap in master/kubectl 2016-01-06 09:28:08 -05:00
Paul Morie 9c18067e60 Add kubectl support for ConfigMap 2016-01-06 09:03:39 -05:00
Haoran Wang fde5af232b fix wrong submit-queue.go link 2016-01-06 13:09:53 +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
Kenneth Shelton 9e6c45c395 Updated comments
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Mike Danese af392926e5 docs: move local getting started guide to docs/devel/
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-05 10:28:35 -08:00
k8s-merge-robot f45f00cccd Merge pull request #19276 from Sha01in/master
Auto commit by PR queue bot
2016-01-05 09:48:03 -08:00
Justin Santa Barbara 0f8d6aee96 Design doc for Ubernetes Lite
Documentation of the Ubernetes-Lite idea and the main design & implementation
points.
2016-01-05 12:01:50 -05:00
gmarek 9eb776d2c0 Fix generated docs 2016-01-05 14:43:29 +01:00
Marcin Wielgus d6ab35a088 Merge pull request #18287 from fgrzadkowski/cluster_deployment
Add a proposal for simpler cluster deployment
2016-01-05 12:31:13 +01:00
k8s-merge-robot 071fd28442 Merge pull request #19272 from cmluciano/cmluciano-cml/dockermachine
Auto commit by PR queue bot
2016-01-04 19:06:35 -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 6bb728f1b8 Merge pull request #19236 from doriordan/doriordan-scala-client
Auto commit by PR queue bot
2016-01-04 14:43:28 -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
Nikhil Jindal ad68688a52 Merge pull request #18864 from nikhiljindal/updateCPDoc
Adding instructions to run versionize-docs in cherrypick doc
2016-01-04 14:30:45 -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
Christopher M. Luciano 2af2e72659 Replace boot2docker references with docker-machine 2016-01-04 10:51:38 -05: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
David O'Riordan eef05d8bd2 Add Scala to client library list 2016-01-03 14:37:15 +00: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