Commit Graph

12 Commits

Author SHA1 Message Date
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
Clayton Coleman
2326e2bae3 Split controller manager options from init
Make defaults and flags clearly distinct from initialization code.
2016-01-06 22:39:14 -05:00
Clayton Coleman
791d160b42 Split the Kubelet flag options and struct
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
k8s-merge-robot
1c4d2624f8 Merge pull request #17917 from mesosphere/jdef_fix_downward_api_compat
Auto commit by PR queue bot
2015-12-13 06:55:22 -08:00
James DeFelice
af95e3fe0e - forward updated labels/annotations for downward API compat
- refactor queue.Pod construction to take functional options, privatize Pod fields
- refactor DelayFIFO and HistoricalFIFO to offer consistent, more useful Pop() funcs
- refactor pod update processing changes; long term we should somehow combine with the special pod config source that we are using for mirror pods
- task launch timer cleanup
2015-12-11 13:15:06 +00:00
Dr. Stefan Schimanski
9522e0ef12 contrib/mesos/scheduler: create nodes with ready condition
The current kube-ui version (compare https://github.com/kubernetes/kube-ui/pull/37/files#r46950087)
assumes that the first node condition is the Ready condition. This PR works
around this by enforcing the Ready condition to be the first one.

A parallel PR against kube-ui is on the way.
2015-12-08 22:29:52 +01:00
Sergiusz Urbaniak
91cbd5ff46 node: replace node lookup via node list watch with node store
Fixes https://github.com/mesosphere/kubernetes-mesos/issues/656
2015-12-02 14:12:56 +01:00
k8s-merge-robot
643cb7a1c7 Merge pull request #17891 from zhengguoyong/consistent_kubelet_package
Auto commit by PR queue bot
2015-12-01 08:37:01 -08:00
zhengguoyong
bff8334db9 Consistent import kubelet app package name 2015-11-28 08:51:39 +08:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
Dr. Stefan Schimanski
2f45d5706b Add node status update controller 2015-11-16 11:48:04 +01: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