Commit Graph

53 Commits

Author SHA1 Message Date
Davanum Srinivas
ee8507a5ae Use Infof/Warningf when appropriate
When we use a format string, we should use Infof/Warningf instead
of Info/Warning
2016-07-19 12:10:53 -04:00
Davanum Srinivas
2b0ed014b7 Use Go canonical import paths
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports

Fixes #29014
2016-07-16 13:48:21 -04:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
HAI HUANG
625e0d0944 Adding more info to error msgs 2016-02-23 16:19:41 -05:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
James DeFelice
8c776b7eb9 host port mapping should be more consistent between scheduler and
controller-manager in k8sm:
  - rename host_port_endpoints flag to host-port-endpoints
  - host port mapping strategy in scheduler should be driven by host-port-endpoints flag
  - added host-port-endpoints to known flags
  - docs: scheduler should also be configured with host-port-endpoints
  - task recovery: be explicit about excluding mirror pods
2016-02-15 21:28:46 +00:00
James DeFelice
eb22c8c14c handle nil *api.Node in procurement and added TODO for a better long term fix 2016-02-09 23:33:17 +00:00
Chao Xu
184440f8ef rename release_1_2 to internalclientset 2016-02-05 14:02:28 -08:00
Chao Xu
1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Chao Xu
f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
k8s-merge-robot
843c11e06a Merge pull request #20452 from caesarxuchao/replace-client-kubelet
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4 replace client with clientset in kubelet and other places 2016-02-02 20:28:45 -08:00
k8s-merge-robot
ac24a68801 Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
Auto commit by PR queue bot
2016-02-02 03:19:25 -08:00
harry
1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
James DeFelice
e01b5560ca swappable storage backends for frameworkID 2016-02-01 06:03:25 +00:00
James DeFelice
70a5cc462b updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat 2016-01-27 17:13:07 +00:00
Clayton Coleman
4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Sergiusz Urbaniak
67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01: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
Wojciech Tyczynski
6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Dr. Stefan Schimanski
271eeb008b Merge pull request #52 from mesosphere/sttts-task-lost-during-kubelet-pod-launch
MESOS: scheduler: handle lost task status updates during kubelet pod launch
2015-12-02 13:50:28 +01:00
Dr. Stefan Schimanski
d2c86c847c Merge pull request #51 from mesosphere/sttts-tasks-killed-by-master
MESOS: scheduler: handle terminal tasks killed by the master
2015-12-02 12:02:50 +01:00
Wojciech Tyczynski
8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot
7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
Avesh Agarwal
3d5207fd73 This commit adds type information to events.
This addresses issue #15624.
2015-11-24 09:59:54 -05:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
James DeFelice
3d3577b9f3 rewrite of static pod json zipper
- add busybox static pod to mesos-docker cluster
- customize static pods with binding annotations
- code cleanup
- removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled
- removed zip archive of static pods, changed to gzip of PodList json
- pod utilities moved to package podutil
- added e2e test
- merge watched mirror pods into the mesos pod config stream
2015-11-13 23:30:26 +00:00
k8s-merge-robot
e71f43de93 Merge pull request #15976 from mesosphere/sur-k8sm-475-error-checking
Rebased previously reverted merge, just before this scheduler refactoring.

Auto commit by PR queue bot
2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
f8ee091bde Move makeCompositeReconciler into taskreconciler package 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
12efba8ce8 Rename podUpdates updates param -> podUpdatesBypass 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
91c5c2d3b6 Break dependency circuit between deleter and queuer 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
d35cb3b211 gofmt fixes 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
1be1a8ce63 Rename SchedulerLoop -> Controller 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
8af8aa4710 Fix rebase error 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
72aa1bdd25 Make queue private again in Queuer 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
6f5d40e5de Rename ReconcilerAction -> Action 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
06a975e5ad Move podschedulers below components/algorithm 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
ba797e0dcb Fix comment 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
ddcdf6a798 Remove Offers() dependency from ErrorHandler by moving out BreakChan factory 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
4d99ee7e54 Rename NewScheduler -> New 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
7adfabecda Shorten component constructor names 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
e04bfd0a3e Remove merrors package alias where possible 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
cca110a280 Fix duplicate import 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
a727188c19 Fix broadcaster duplicate 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
182f49dac5 gofmt fixes 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
3208100375 Move slave registry into framework package 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
d8edcacbe3 Move driver mock into framework component 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
bb53cc26d3 Reorder scheduler packages
- Scheduler implemenation -> components
- types -> toplevel scheduler package
- integration_test.go -> integration
2015-11-12 01:33:50 +01:00