Commit Graph

33 Commits

Author SHA1 Message Date
David McMahon 9975514540 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
Huamin Chen 963f4f421e more explictly about NoDiskConflicts policy and applicable volume types
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-18 15:04:10 +00:00
derekwaynecarr 7d43d8a4fc Scheduler does not place pods on nodes that have disk pressure 2016-07-28 16:01:38 -04:00
joe2far 9298db79ff Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
David McMahon 4a5d209960 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Dawn Chen 94ac5ff7f0 Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9555671c5ddf69549b46ed0fd7e472a.
2016-06-10 16:46:46 -07:00
David McMahon 2f5640b791 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
k8s-merge-robot bbc5a56dc3 Merge pull request #25531 from ingvagabund/introduce-memory-pressure-to-scheduler
Automatic merge from submit-queue

Introduce node memory pressure condition to scheduler

Following the work done by @derekwaynecarr at https://github.com/kubernetes/kubernetes/pull/21274, introducing memory pressure predicate for scheduler.

Missing:

* write down unit-test
* test the implementation

At the moment this is a heads up for further discussion how the new node's memory pressure condition should be handled in the generic scheduler.

**Additional info**

* Based on [1], only best effort pods are subject to filtering.
* Based on [2], best effort pods are those pods "iff requests & limits are not specified for any resource across all containers".

[1] 542668cc79/docs/proposals/kubelet-eviction.md (scheduler)
[2] https://github.com/kubernetes/kubernetes/pull/14943
2016-05-21 19:37:15 -07:00
Jan Chaloupka c3d5cfb6c4 Scheduler: introduce CheckNodeMemoryPressurePredicate, don't schedule pods for nodes that reports memory pressury.
Introduce unit-test for CheckNodeMemoryPressurePredicate

Following work done in #14943
2016-05-22 00:40:28 +02:00
Vishnu kannan a9712c6560 Updating QoS policy to be per-pod instead of per-resource.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-20 11:52:16 -07:00
David McMahon e0770531ab Update the latestReleaseBranch to release-1.2 in the munger. 2016-03-08 18:59:28 -08:00
David Oppenheimer e6099d5fbf Update user guide and scheduler documentation to describe node affinity.
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
k8s-merge-robot 6e7141ff41 Merge pull request #20140 from resouer/scheduler
Auto commit by PR queue bot
2016-02-05 20:08:31 -08:00
harry 84dd3cfed3 Caculate priorities based on image locality
Add test for image score

Update generated docs
2016-02-03 21:01:26 +08:00
Solly Ross ac22d0e274 Scheduler predicate for capping node volume count
For certain volume types (e.g. AWS EBS or GCE PD), a limitted
number of such volumes can be attached to a given node.  This commit
introduces a predicate with allows cluster admins to cap
the maximum number of volumes matching a particular type attached to a
given node.

The volume type is configurable by passing a pair of filter functions,
and the maximum number of such volumes is configurable to allow node
admins to reserve a certain number of volumes for system use.

By default, the predicate is exposed as MaxEBSVolumeCount and
MaxGCEPDVolumeCount (for AWS ElasticBlocKStore and GCE PersistentDisk
volumes, respectively), each of which can be configured using the
`KUBE_MAX_PD_VOLS` environment variable.

Fixes #7835
2016-02-02 16:21:42 -05:00
Justin Santa Barbara 4f4703bb1a 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
Chao Xu 83db13cc2e run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
Justin Santa Barbara 343a552e67 Zone scheduler: Update scheduler docs
There's not a huge amount of detail in the docs as to how the scheduler
actually works, which is probably a good thing both for readability and
because it makes it easier to tweak the zone-spreading approach in the
future, but we should include some information that we do spread across
zones if zone information is present on the nodes.
2015-12-13 20:34:01 -05:00
Tim Hockin ff8cdfcde8 Run update-gendocs 2015-11-13 13:57:57 -08:00
HaiyangDING d29c41354e Replace PodFitsPorts with PodFitsHostPorts 2015-09-30 15:14:59 +08:00
dinghaiyang 66a9ff2d9b Repalce limits with requests in scheduler documentation.
Due to #11713
2015-08-25 00:14:24 +08:00
Eric Paris 9a5c3748cc Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
David Oppenheimer 4ebeb731ad Absolutize links that leave the docs/ tree to go anywhere other than
to examples/ or back to docs/
2015-07-20 00:25:07 -07:00
Tim Hockin da3e5f056b Run gendocs 2015-07-17 15:35:43 -07:00
Tim Hockin 6a198dfa61 Better scary message 2015-07-17 09:28:49 -07:00
Janet Kuo a7425fa689 Ensure all docs and examples in user guide are reachable 2015-07-16 23:12:47 -07:00
Tim Hockin 70aa961049 Run gendocs 2015-07-14 17:28:47 -07:00
Tim Hockin c8cc5f5d4a Run gendocs 2015-07-14 15:28:59 -07:00
Daniel Smith b8889dc953 Apply mungedocs changes 2015-07-13 17:48:40 -07:00
Tim Hockin 01bb3613a4 Run gendocs and munges 2015-07-13 11:27:48 -07:00
Ed Costello 5b891f6101 Copy edits to remove doubled words 2015-07-13 10:11:55 -04:00
Mike Danese 3a38ce4217 fix verify gendocs 2015-07-10 12:51:35 -07:00
dingh 75be32d08e Create schedule_algorithm file
This document explains briefly the schedule algorithm of Kubernetes and can be complementary to scheduler.md.
2015-07-10 14:51:11 +08:00