k8s-merge-robot
9b953d75d2
Merge pull request #16111 from mesosphere/sttts-sandbox-overlay
...
Auto commit by PR queue bot
2015-11-03 03:00:57 -08:00
Dr. Stefan Schimanski
8fb77ce13e
Exit scheduler if sandbox overlay does not exist
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
ed09e5c29d
Add supported archive format for --mesos-sandbox-overlay
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
60ac1b932f
Simplify serveFrameworkArtifact with library function for basenames
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
4062e2be2f
Add executor sandbox overlay mechanism to distribute nsenter and socat
2015-11-03 11:27:40 +01:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
k8s-merge-robot
d329a66434
Merge pull request #15518 from ravilr/mesos_graceful_termination_tasklost
...
Auto commit by PR queue bot
2015-10-17 02:51:21 -07:00
James DeFelice
b28333ca43
enable profiling for the kubelet/executor when turned on at the scheduler
2015-10-15 21:22:41 +00:00
Ravi L R
99b03baa9b
handle task lost status update from executor on docker daemon crash/restart by deleting the pod, so that the RC creates a new one, if the pod is backed by RC
2015-10-15 12:03:50 -07:00
Ravi L R
0e296c3dcd
while deleting pod on terminal task status update, delete with grace_period=0 as the corresponding pod is already gone
2015-10-15 12:03:50 -07:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
Dr. Stefan Schimanski
aea7985b85
Take default limits for cpu and mem into account in FitPredicate
2015-10-10 12:29:52 +02:00
Yu-Ju Hong
a3e60cc32e
Rename imported package local name kubeletTypes to kubetypes
...
According to the naming guidelines, package name should not include mixedCaps.
2015-10-09 10:24:31 -07:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Alex Robinson
84f8f01d45
Merge pull request #14432 from mesosphere/sur-k8sm-492-launch-grace-period
...
MESOS make launchGracePeriod configurable
2015-10-05 13:27:12 -07:00
Sergiusz Urbaniak
42c84954fd
executor,scheduler: make launchGracePeriod configurable
2015-10-02 07:43:49 +02:00
Dr. Stefan Schimanski
39942952cd
Fix hostname check logic in scheduler
2015-10-01 06:50:43 +02:00
Brendan Burns
3474324d6a
Merge pull request #14271 from mesosphere/sur-k8sm-441-flaky
...
MESOS: fix flaky TestPlugin_LifeCycle
2015-09-30 11:32:00 -07:00
Sergiusz Urbaniak
56fc0f5900
scheduler: reenable TestPlugin_LifeCycle, increase timeouts
2015-09-30 16:14:13 +02:00
eulerzgy
71b96422f4
set capital in some files
2015-09-30 14:46:20 +08:00
k8s-merge-robot
c807bea089
Merge pull request #13857 from mesosphere/node-labels
...
Auto commit by PR queue bot
2015-09-28 22:10:51 -07:00
Dr. Stefan Schimanski
67746908e5
Deleting gracefully terminating, not-scheduled pre-scheduled pods
...
In upstream the kubelet is responsible for all pods which have the spec.NodeName
set. In Mesos we have a two-stage scheduling process:
1. pods with a pre-set spec.NodeName are still scheduled by the scheduler.
2. The kubelet will only see them when a Mesos task was started and the executor
passes the pod to the kubelet.
With this PR a pod with spec.NodeName which is gracefully terminated, but not
yet scheduled, e.g.
- because the termination happened just after creation and the scheduler was
not fast enough
- because the NodeSelector does not match
is deleted by the Mesos scheduler.
2015-09-26 23:42:08 +02:00
Dr. Stefan Schimanski
112f80fa4a
Simplify FitPredicate for NodeSelector
...
We can assume that n != nil holds, because otherwise offers are skipped.
2015-09-26 10:36:49 +02:00
Dr. Stefan Schimanski
4d4ebe9f18
Add Mesos slave attributes as node labels
...
- pre-create node api objects from the scheduler when offers arrive
- decline offers until nodes a registered
- turn slave attributes as k8s.mesosphere.io/attribute-* labels
- update labels from executor Register/Reregister
- watch nodes in scheduler to make non-Mesos labels available for NodeSelector matching
- add unit tests for label predicate
- add e2e test to check that slave attributes really end up as node labels
2015-09-26 09:46:56 +02:00
Dr. Stefan Schimanski
e4dcd97ac3
Dequeue pods in scheduler which are terminating
2015-09-22 16:41:43 +02:00
Dr. Stefan Schimanski
132f8892ed
Move task-lost message prefix into messages module
2015-09-21 09:51:05 +02:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Alex Mohr
bdfd469a85
Merge pull request #14137 from caesarxuchao/13823
...
rebase 13823
2015-09-17 15:25:52 -07:00
k8s-merge-robot
654dd38b1c
Merge pull request #14120 from mesosphere/sttts-cleanup-hostname-override
...
Auto commit by PR queue bot
2015-09-17 14:23:36 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
Dr. Stefan Schimanski
88466dd21e
Cleanup --hostname-override logic in procurment
2015-09-17 18:41:16 +02:00
k8s-merge-robot
a204f31516
Merge pull request #13918 from mesosphere/reconcile-ignore-mirror-pods
...
Auto commit by PR queue bot
2015-09-17 02:36:31 -07:00
k8s-merge-robot
367e5571bf
Merge pull request #13965 from mesosphere/healthz
...
Auto commit by PR queue bot
2015-09-17 02:13:31 -07:00
k8s-merge-robot
4009021cf4
Merge pull request #14037 from mesosphere/scheduler-slave-registry
...
Auto commit by PR queue bot
2015-09-16 16:54:40 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
Dr. Stefan Schimanski
eb5a5ffc28
Extract slave hostname registry code in its own module
...
- remove bleeding of registry-internal objects, without any locking
- rename from SlaveStorage to Registry which fits much better to what
it actually does
2015-09-16 14:50:31 +02:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
Sergiusz Urbaniak
d97ccea8c2
scheduler: add healthz endpoint
2015-09-16 09:15:20 +02:00
Sergiusz Urbaniak
0f0b87600e
podtask: reduce log verbosity for pods w/o limits
2015-09-15 16:48:17 +02:00
James DeFelice
a5307305f1
avoid recovery for mirrored pods on failover
2015-09-14 20:21:19 +00:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
James DeFelice
cf908df89c
add flags for initial executor cpu and memory resources
2015-09-06 02:16:09 +00:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
James DeFelice
a1cea8dd87
Flexible resource accounting and pod resource containment:
...
- new: introduce AllocationStrategy, Predicate, and Procurement to scheduler pkg
- new: --contain-pod-resources flag (workaround for docker+systemd+mesos problems)
- new: --account-for-pod-resources flag (for testing overcommitment)
- bugfix: forward -v flag from minion controller to executor
2015-09-04 00:49:13 +00:00
Abhi Shah
49523500c3
Merge pull request #13566 from mesosphere/reconcile-all-pods
...
MESOS: task reconciliation must look at NamespaceAll, not NamespaceDefault
2015-09-03 15:35:17 -07:00
k8s-merge-robot
d1c7a5f04e
Merge pull request #13362 from mesosphere/proxy-runtime
...
Auto commit by PR queue bot
2015-09-03 15:26:56 -07:00