Commit Graph

1402 Commits

Author SHA1 Message Date
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
ec582e736e Rename KubernetesMesosExecutor -> Executor 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
68179524ba Fix podschedulers doc.go 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
11f9198941 Add scheduler monopic architecture diagram 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
Dr. Stefan Schimanski
835961ac43 Make scheduler implementation private 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
ef0a512c15 Move framework into components directory 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
be57bd63e5 Introduce interfaces for all scheduler components 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
29e58bab68 Move scheduler components into their own packages
- rename scheduler.{operations -> components}
- move each component into its own directory with doc.go file, for proper
  access isolation
2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
3601292cff Split MesosScheduler from actual Scheduler code holding the task registry
- rename types.Framework -> types.Scheduler
- rename MesosScheduler -> Framework
- transform MesosFramework into independent Scheduler glueing all scheduler
  components, implementing types.Scheduler and owning the task registry
2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
60cc93fff8 Remove ExecutorInfo from podtask.T and create it with the TaskInfo 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
f793ddffbb Remove FIFO dependency from SchedulerLoop 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
ae4673e86e Split binder, deleter, podScheduler initialion from NewSchedulerLoop 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
5f070c11a7 Get rid of unecessary SchedulerLoopConfig detour to create a SchedulerLoop 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
c3cab5230b Remove unused members of SchedulerLoop struct 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
0ebfc02d16 Separate SchedulerLoop instantiation from MesosScheduler 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
2c4142494a Turn plugin into a SchedulerLoop and move to operations directory 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
e5ce6eccf9 Rename schedulerApiAlgorithmAdapter -> mesosSchedulerAlgorithm, move to algorithm.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
18fbc1fe57 Make scheduler service variables private 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
0bd1666d9b Move reconciler.go into operations 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
23fa56adb1 Move etcd code from MesosScheduler into service 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
d4675f1dc3 Rename mesos_{scheduler ->}.go, {mesos ->}framework.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
eea8accfd5 Move Reconciler into reconciler.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
2c00037883 Rename mesosSchedulerApiAdapter -> mesosFramework, move to mesosframework.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
f4e1de55d6 Rename api.Scheduler -> types.Framework 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
de8b958b2f Get rid of redundant parseSelectorOrDie 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
9e7ce8ddb3 Remove redundant createAllPodsLW 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
f24f475bfe Move podStoreAdapter into podstoreadapter.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
4fa219d16d Fixup Algorithm -> PodScheduler 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
bf61ec7a0d Move ErrorHandler into operations 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
4b715cfcc5 Rename SchedulerApi -> Scheduler, api -> scheduler 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
5f8e0a60bf Rename SchedulerApi.{Algorithm -> PodScheduler} 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
c8edeb0f57 Make PodScheduler in MesosScheduler explicit 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
de5f0f73e7 Move PluginInterface to plugin.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
47e2f1fba8 Rename scheduler.{algorithm -> podschedulers} 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
a9f80d7383 Move mesosScheduler.NewPluginConfig from plugin.go to mesos_scheduler.go 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
85b64391df Rename schedulingPlugin -> schedulerPlugin 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
518a7d5f3b Rename KubernetesMesosScheduler -> MesosScheduler 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
98e48a2680 Rename kubeScheduler -> schedulerApiAlgorithmAdapter and k8smScheduler -> mesosSchedulerApiAdapter 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
30b5faff53 Pull apart plugin, PodSchedulers, Deleter and Binder 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
b9538dd70c Add doc.go for scheduler.{algorithm,queuer} 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
8e3c648ca0 Rename schedcfg -> schedulerConfig 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
beaaf81ee3 Move fcfs and types to scheduler.algorithm module 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
985ebecd8c Rename queuer.NewQueue -> queuer.New 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
ce7cda603d Move queuer into its own module 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
26338dcd4d Move independent concepts out of scheduler plugin in their own files 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
b600e6c497 Rename KubernetesMesosScheduler.{Scheduler -> PodScheduler} 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
5db45baa8f Rename scheduler -> mesosScheduler in plugin_test 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
01a97ebc14 Rename KubernetesScheduler -> KubernetesMesosScheduler 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
866a17d6d8 Rename KubernetesExecutor -> KubernetesMesosExecutor 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
12165cd6e0 Rename variable to ei for ExecutorInfo 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
4f13ba1af6 Revert "Merge pull request #15976 from mesosphere/sur-k8sm-475-error-checking"
The given merge will be rebased manually and appended to the scheduler refactoring.

This reverts commit 8d923afe23, reversing
changes made to d7458ddd4c.
2015-11-12 01:33:50 +01:00
Vishnu kannan
4ad3d6f5fe Move container manager into a separate package.
Inject container manager into Kubelet. This lets us stub out container
manager during integration testing.
2015-11-11 15:00:37 -08:00
Ravi L R
fe8658b041 Fix ports mapping in case of discontinuous port ranges in mesos offer
update elements in wildports directly instead of copy of the value
from wildports.
2015-11-11 12:28:26 -08:00
Sergiusz Urbaniak
9b7e40570e scheduler: fix shadowing in doSchedule 2015-11-10 20:54:58 +01:00
Sergiusz Urbaniak
6a16fe314f scheduler: remove err param from Register 2015-11-10 14:39:57 +01:00
Sergiusz Urbaniak
6fced095ce scheduler: simplify if-then-else handling in doSchedule 2015-11-10 14:39:57 +01:00
Sergiusz Urbaniak
c3311744c5 scheduler: correct doc in doSchedule 2015-11-10 14:39:56 +01:00
Sergiusz Urbaniak
71bd54adc6 scheduler: remove shadowed offer var in doSchedule
The variable `offer` is shadowed in the if block causing the `then`
branch to be non-effective.
2015-11-10 14:39:56 +01:00
Sergiusz Urbaniak
d53b716e97 scheduler: add newlines for readibility in doSchedule 2015-11-10 14:39:56 +01:00
Sergiusz Urbaniak
0ad0c1f2b1 scheduler: remove error param from doSchedule func
doSchedule currently accepts err values from previous invocation delegating
error handling in a location different from the caller which can be hard
to debug and is not a good practice.

We still maintain the same invariants after the refactoring. If an err
happened in a previous invocation to Register, the returned task object
was nil causing task.AcceptedOffer() to return false.

By not invoking doSchedule in case of an error we can eliminate the
first `err == nil` check in doScheduler.
2015-11-10 14:34:53 +01:00
Sergiusz Urbaniak
9bbfc35fa9 scheduler: add err check for procurement 2015-11-10 14:12:05 +01:00
k8s-merge-robot
afe121669b Merge pull request #16852 from feiskyer/kubectl-desc-ep
Auto commit by PR queue bot
2015-11-09 05:21:12 -08:00
feisky
3adb929eb9 Add kubectl describe for endpoints 2015-11-07 14:58:12 +08:00
Janet Kuo
a6a64820d7 Make generation of the apply annotation optional 2015-11-06 15:08:50 -08:00
Dr. Stefan Schimanski
9b00b7ef35 Avoid MockPodsListWatch deadlock of blocked channel while lock is hold 2015-11-05 13:20:29 +01:00
Daniel Smith
241551e36e set-gen example 2015-11-03 15:14:51 -08:00
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
aac55d4795 Unify List() signature in clients 2015-10-30 15:43:40 +01:00
Fabiano Franz
d9161cb3b5 stdin is not a valid file extension for bash completions 2015-10-29 00:00:34 -02:00
Daniel Smith
19c1064293 Merge pull request #16099 from jsafrane/devel/move-ceph-image
Move CephFS test container to test/images.
2015-10-27 15:47:16 -07:00
Daniel Smith
6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
Wojciech Tyczynski
d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
kargakis
73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
Jan Safranek
e0e482e4c8 Move CephFS test container to test/images. 2015-10-22 15:20:20 +02:00
Jeff Lowdermilk
d4de35e177 Merge pull request #15921 from brendandburns/fix2
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
k8s-merge-robot
a5a917603c Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Brendan Burns
54fd60727e add a --expose flag to kubectl run 2015-10-20 20:21:09 -07:00
Steve Milner
8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
Janet Kuo
8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
feihujiang
a456b4c424 Remove useless codes about Minion kind 2015-10-19 19:29:45 +08:00
k8s-merge-robot
09a3871506 Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
Auto commit by PR queue bot
2015-10-18 04:04:11 -07: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
k8s-merge-robot
1bba475a9d Merge pull request #15735 from mesosphere/jdef-fix-tasks-and-profiling
Auto commit by PR queue bot
2015-10-17 02:20:18 -07:00
Clayton Coleman
e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
eulerzgy
31c09bdcb8 Del capatical local packagename for cadvisorApi 2015-10-16 11:03:50 +08:00
James DeFelice
b28333ca43 enable profiling for the kubelet/executor when turned on at the scheduler 2015-10-15 21:22:41 +00:00
James DeFelice
df246991e0 avoid blocking on full-pipe conditions for procs that write to stdout, which we continue to ignore 2015-10-15 21:20:23 +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
k8s-merge-robot
a3f2ba2e34 Merge pull request #11694 from ncdc/add-spdy-proxy-support
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
Brendan Burns
0c730f4ea7 update 2015-10-14 18:22:19 -07:00
Wojciech Tyczynski
647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
eulerzgy
4ed5f9d240 adjust package name for pkg/controller directory 2015-10-12 09:51:27 +08:00
k8s-merge-robot
f051cb71b1 Merge pull request #14260 from mesosphere/sttts-kubelet-capacity
Auto commit by PR queue bot
2015-10-10 13:09:06 -07:00
k8s-merge-robot
40b5d0583f Merge pull request #15376 from mesosphere/sttts-fix-default-limits-in-predicate
Auto commit by PR queue bot
2015-10-10 12:20:27 -07:00
Dr. Stefan Schimanski
1435077820 Set executor cpu resources to an integer to avoid rounding errors
This avoid that we either waste cpu resources due to rounding or that we report
to much to the kubelet such that the e2e tests think they can schedule more than
resources are available.

This fixes https://github.com/mesosphere/kubernetes-mesos/issues/437
2015-10-10 21:19:08 +02:00
Dr. Stefan Schimanski
ae7830b4be Pass Mesos cpu and mem values to cadvisor 2015-10-10 21:19:08 +02:00
k8s-merge-robot
71e9565815 Merge pull request #15163 from thockin/gcloud-preview
Auto commit by PR queue bot
2015-10-10 12:04:55 -07:00
Dr. Stefan Schimanski
aea7985b85 Take default limits for cpu and mem into account in FitPredicate 2015-10-10 12:29:52 +02:00
Dr. Stefan Schimanski
0d8384c820 Replace all executor_test timeouts by util.ForeverTestTimeout 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
b629278d7d Set static pods dir to 0750 instead of world readible 0755 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
d74950cfb9 Re-use CreateAndInitKubelet 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
4ec703174b Simplify executorKubelet decorator and move to kubelet.go
- simplify
- rename kubeletExecutor -> executorKubelet
- move executorKubelet code into kubelet.go
- remove duplicated executorKubelet.ListenAndServe
- fix executorKubelet.Run comment
2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
0feb1bceb5 Re-use KubeletServer.KubeletConfig and KubeletServer.Run 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
dd5bafdba5 Decouple startup of executor and kubelet 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
a60df400fd Decouple executor initialization from kubelet
This patch reduces the dependencies of the executor from the kubelet. This
makes it possible launch the kubelet after the executor.

This considerably reduces the complexity of the startup code.

Moreover, this work is a requirement to use a standalone kubelet some day.
2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
93ae257af4 Consolidate executor driver initialization code 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
efdd726027 Un-knot static pods creation in executor 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
686b767f28 Remove redundant kubelet dependency of executor 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
6af86cbaad Avoid panics during executor shutdown due to write to closed channel 2015-10-10 11:54:27 +02:00
Dr. Stefan Schimanski
9366ac4143 Pass PodLW to executor in tests 2015-10-10 11:54:27 +02:00
Mike Danese
392f33e417 Merge pull request #14054 from mikedanese/register-master
register master kubelet with the apiserver
2015-10-09 17:12:37 -07: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
k8s-merge-robot
2f90f660c1 Merge pull request #11368 from hurf/ctl_convert
Auto commit by PR queue bot
2015-10-09 08:57:30 -07:00
k8s-merge-robot
b793c3edf1 Merge pull request #14700 from liggitt/kubelet_authz
Auto commit by PR queue bot
2015-10-09 03:01:43 -07:00
k8s-merge-robot
538cf72208 Merge pull request #15051 from feiskyer/kubelet/garbage-collection
Auto commit by PR queue bot
2015-10-09 02:11:47 -07:00
k8s-merge-robot
7b68ff5778 Merge pull request #15023 from mesosphere/jdef-fix14898-miniontestflake2
Auto commit by PR queue bot
2015-10-09 01:16:21 -07:00
Jordan Liggitt
9d6b52881d Add authentication/authorization interfaces to kubelet, always include /metrics with /stats 2015-10-09 03:10:00 -04:00
Mike Danese
fa60bbe8e6 add flag to kubelet to ignore the cidr passed down by the apiserver on the master 2015-10-08 21:21:19 -07:00
hurf
e1b88c6942 Integrate convertion tool to kubectl
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
feisky
43a654ed7b Refacotor gcPolicy in contrib/mesos 2015-10-09 06:57:10 +08: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
Robert Bailey
49d6c86eb7 Merge pull request #14621 from jackgr/kubectl_apply
Add the kubectl apply command
2015-10-08 12:44:32 -07:00
Tim Hockin
b25069d084 Stop using gcloud preview - it is obsolete
Switch to supported APIs. Update docs.
2015-10-08 11:05:49 -07:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
jackgr
703a3e19aa Add the kubectl apply command. 2015-10-07 17:14:51 -07:00
Alex Robinson
c18d872f1a Merge pull request #15034 from mesosphere/jdef-fix-broken-master
MESOS: bugfix, configure oomAdjuster so that it gets passed on to the kubelet
2015-10-05 17:00:29 -07:00
Alex Robinson
fe185f5ea7 Merge pull request #14415 from mesosphere/sttts-code-dedup-kubelet-init
Preparation for Mesos kubelet code-deduplication
2015-10-05 14:43:06 -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
Steve Milner
e5b85194aa netexec: Multiple fixes and enhancements to netexec
* Added upload functionality
* More logging
* Moved to test/images
* Image file fixes
2015-10-05 16:05:36 -04:00
James DeFelice
6229c336e5 fix test flake due to dependency on time.Timer 2015-10-05 18:41:27 +00:00
k8s-merge-robot
02f878cf5b Merge pull request #14553 from mesosphere/sttts-fix-daemonsets-on-mesos
Auto commit by PR queue bot
2015-10-02 19:16:08 -07:00
James DeFelice
e00a1b8e9e added missing forwarding of flags to KubeletConfig 2015-10-02 23:36:22 +00:00
James DeFelice
54e99d9f52 bugfix: configure oomAdjuster so that it gets passed on to the kubelet 2015-10-02 22:49:52 +00:00
k8s-merge-robot
6f4bcd5fe2 Merge pull request #14892 from mesosphere/sttts-fix-status-hostname-logic
Auto commit by PR queue bot
2015-10-02 13:45:33 -07:00
Dr. Stefan Schimanski
10f9a9752d Use KubeletConfig.Builder in Mesos executor 2015-10-02 19:39:24 +02:00
k8s-merge-robot
e330b1197e Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
k8s-merge-robot
7f9c18d646 Merge pull request #14819 from mesosphere/sttts-add-kubectl-bind-address
Auto commit by PR queue bot
2015-10-02 08:05:57 -07:00
k8s-merge-robot
6ca515c312 Merge pull request #14820 from gmarek/playground
Auto commit by PR queue bot
2015-10-02 07:37:45 -07:00
k8s-merge-robot
b42942c8f4 Merge pull request #14660 from mesosphere/sttts-fix-broken-km-after-kubeproxy-refactoring
Auto commit by PR queue bot
2015-10-02 03:48:21 -07:00
Sergiusz Urbaniak
42c84954fd executor,scheduler: make launchGracePeriod configurable 2015-10-02 07:43:49 +02:00
k8s-merge-robot
719cf5617e Merge pull request #14731 from mesosphere/sttts-remove-redirfd
Auto commit by PR queue bot
2015-10-01 19:34:13 -07:00
k8s-merge-robot
4e63cafde1 Merge pull request #14748 from gmarek/nodecontroller
Auto commit by PR queue bot
2015-10-01 17:38:53 -07:00
gmarek
fc79ce347e Allow usining FakeOOMAdjuster in Kubelet 2015-10-01 10:55:08 +02:00
Dr. Stefan Schimanski
39942952cd Fix hostname check logic in scheduler 2015-10-01 06:50:43 +02:00
Dr. Stefan Schimanski
74e57e85f1 Pass all changes of DeletionTimestamp and DeletionGracePeriodSeconds to kubelet 2015-10-01 06:50:07 +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
Brendan Burns
2a6c7a1e79 Merge pull request #14715 from zhengguoyong/capital
set capital in some glog files
2015-09-30 11:28:05 -07:00
Sergiusz Urbaniak
56fc0f5900 scheduler: reenable TestPlugin_LifeCycle, increase timeouts 2015-09-30 16:14:13 +02:00
Dr. Stefan Schimanski
687e2d8c8e Update docs 2015-09-30 15:54:01 +02:00
gmarek
a3723e2045 Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go 2015-09-30 09:42:01 +02:00
David Oppenheimer
f86b119242 Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
eulerzgy
71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Dr. Stefan Schimanski
67d5b8a258 Remove redirfd executable and support in the executor 2015-09-30 06:51:39 +02:00
Brendan Burns
e827934d78 Merge pull request #12677 from andronat/kubectl_doc_cmd
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
Brendan Burns
fe9d8f50c1 Merge pull request #14593 from mesosphere/jdef-fix511-flaky-proc-test
MESOS: fix test flake in TestProcWithExceededActionQueueDepth
2015-09-29 19:29:05 -07:00
k8s-merge-robot
b661cfd21e Merge pull request #14643 from liguangbo/change_Oom_to_OOM
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
Prashanth Balasubramanian
99b0e051fc Kubectl printer 2015-09-29 18:51:24 -07: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
2d8b0049e1 Improve daemonset e2e test
- Don't mess with non-test node labels in daemonset e2e test

  Other e2e tests will expect labels on the nodes. The daemonset test should only
  add and remove its own labels.

- Refactor node updating in deamonset e2e test
2015-09-28 19:20:39 +02:00
Dr. Stefan Schimanski
d5f725add7 Fix broken Mesos km due to too early proxy intitialization
This was introduced in 1c25c2cd99.
2015-09-28 18:54:28 +02:00
liguangbo
12299087da Change Oom to OOM 2015-09-28 18:18:04 +08: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
Anastasis Andronidis
e8b9dde623 new kubectl explain command 2015-09-26 14:25:53 +03: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
a496e8dd20 Expose HistoricalFIFO's pop with cancel channel 2015-09-26 09:46:55 +02:00
James DeFelice
f75a4d914a clean up DATA RACE from Fatalf; avoid returning too early, actually wait for deeply nested actions to complete (flake) 2015-09-25 23:07:49 +00:00
Brian Grant
e122b4199a Merge pull request #14489 from mesosphere/jdef-fix505-zombies-after-sigterm
MESOS: try not to leave dangling zombie procs when minion controller exits
2015-09-25 13:29:55 -07:00
Brian Grant
a0872fbdaa Merge pull request #14287 from gmarek/mock-proxy
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-25 13:28:44 -07:00
Dr. Stefan Schimanski
9c24131b4e Remove unused Watch code in executor 2015-09-25 17:55:22 +02:00
James DeFelice
ec2605a758 wait for some grace period for kill proc to die, upgrading from SIGTERM to SIGKILL if needed
- refactor kill signal escalation into separate func for easier unit testing
- added unit test for signal escalation
2015-09-24 18:53:23 +00:00
Dr. Stefan Schimanski
61b7e682ce Fix zero MaxOpenFiles in Mesos executor 2015-09-24 11:59:16 +02:00
gmarek
1c25c2cd99 Refactor KubeProxy to allow mocking of all moving parts. 2015-09-23 18:47:05 +02:00
Marek Grabowski
28585bc699 Merge pull request #13966 from mesosphere/mesos-graceful-termination
MESOS: Send graceful termination update from executor to kubelet
2015-09-23 09:51:29 +02:00
Mike Danese
2313c9ada0 move daemonset describe to experimental 2015-09-22 09:13:42 -07:00
Dr. Stefan Schimanski
be57b2871e Watch pods in executor and tell kubelet about graceful terminations
- instantiate framework.Controller for pods in the executor using framework.NewInformer,
  in order to watch pod updates for pods on that host
- forwards updates like graceful termination to the kubelet.

  This might also be the preparation for other updates which are supported by the
  kubelet.
2015-09-22 16:41:43 +02:00
Dr. Stefan Schimanski
e4dcd97ac3 Dequeue pods in scheduler which are terminating 2015-09-22 16:41:43 +02:00
k8s-merge-robot
c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Abhi Shah
fec15efef9 Merge pull request #14317 from ArtfulCoder/netexec1.1
netexec shellCommand endpoint returns the error if shell command fail…
2015-09-21 16:47:35 -07:00
Abhishek Shah
e40f1533f9 netexec shellCommand endpoint returns the error if shell command fails, instead of killing netexec 2015-09-21 16:32:51 -07:00
k8s-merge-robot
3713cbc912 Merge pull request #14169 from mesosphere/sttts-fix-kubelet-writer-npe
Auto commit by PR queue bot
2015-09-21 13:04:25 -07:00
Clayton Coleman
c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
1ad9aad8ab Merge pull request #14259 from mesosphere/sttts-cleanup-task-lost
Auto commit by PR queue bot
2015-09-21 07:11:48 -07:00
k8s-merge-robot
0525e6e1e6 Merge pull request #14121 from mesosphere/sttts-extract-suicide-code
Auto commit by PR queue bot
2015-09-21 01:14:00 -07:00
Dr. Stefan Schimanski
132f8892ed Move task-lost message prefix into messages module 2015-09-21 09:51:05 +02:00
Dr. Stefan Schimanski
9d8d0ed075 Fix missing volume writer in executor kubelet instantiation 2015-09-21 09:23:47 +02:00
Dr. Stefan Schimanski
a9d7acea39 Move suicide logic into its own file 2015-09-18 16:54:56 +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
c1eb1a1b2f Merge pull request #13791 from fgrzadkowski/fix_secrets_in_docker
Auto commit by PR queue bot
2015-09-17 15:13:29 -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
Filip Grzadkowski
7fe34f2050 Introduce nsenter writer for volume plugins 2015-09-17 16:40:29 +02:00
k8s-merge-robot
b342591032 Merge pull request #13604 from JanetKuo/kubectl-edit
Auto commit by PR queue bot
2015-09-17 03:00:33 -07: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
Mike Danese
77a06cbf05 Merge pull request #13183 from mikedanese/daemon_kubectl
Add daemonset support to kubectl
2015-09-16 19:02:36 -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
Mike Danese
19421c52e2 Merge pull request #13963 from zhengguoyong/fix-minior-doc
fix the change of minions to nodes
2015-09-16 15:14:10 -07:00
Abhi Shah
c2ffe68d0f Merge pull request #13982 from ArtfulCoder/netexec
Created netexec docker image
2015-09-16 10:00:37 -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
Janet Kuo
5a608446ba pull "kubectl edit" from openshift upstream 2015-09-15 19:16:23 -07:00
Abhishek Shah
65fbf5a5fb Created netexec docker image 2015-09-15 19:05:03 -07:00
Mike Danese
54b0faf39a rebase onto head 2015-09-15 18:13:28 -07:00
Jeff Lowdermilk
9ed2d842bc Merge pull request #12655 from gmarek/api_ports
Add information about ports opened by Kubelet to API
2015-09-15 17:54:31 -07:00
Jeff Lowdermilk
f00e0b4b18 Merge pull request #13971 from mesosphere/limits
MESOS: reduce log verbosity for pods w/o limits
2015-09-15 17:45:52 -07:00
Jeff Lowdermilk
b2c74a7297 Merge pull request #13254 from soltysh/job_controller_kubectl
Job resource - kubectl part
2015-09-15 17:45:14 -07:00
Jeff Lowdermilk
ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
eulerzgy
4d3d3a5e22 fix the change of minions to nodes 2015-09-16 02:30:42 +08:00
gmarek
4b8ddf3d7e Add information about ports opened by Kubelet to API 2015-09-15 14:24:55 -04:00
Sergiusz Urbaniak
0f0b87600e podtask: reduce log verbosity for pods w/o limits 2015-09-15 16:48:17 +02:00
Maciej Szulik
1b46bc010a Job clients, printer and describer 2015-09-15 13:54:51 +02:00
k8s-merge-robot
bf641078eb Merge pull request #13785 from wojtek-t/minion_to_node_2
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
James DeFelice
a5307305f1 avoid recovery for mirrored pods on failover 2015-09-14 20:21:19 +00:00
Dr. Stefan Schimanski
857e1ac1ea Remove endpoints of terminating tasks
This change was added to the upstream endpoint controller in 2aaf8bd.
2015-09-14 15:40:11 +02:00
Wojciech Tyczynski
53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot
96df310729 Merge pull request #13783 from feihujiang/changeExposePortOperationToNoRequired
Auto commit by PR queue bot
2015-09-12 18:54:34 -07:00
Mike Danese
214f740f03 Merge pull request #13182 from mikedanese/daemon_manager
Add daemon controller
2015-09-11 19:12:21 -07:00
k8s-merge-robot
04837579ad Merge pull request #13460 from derekwaynecarr/run_requests
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
k8s-merge-robot
cb481b4a00 Merge pull request #13837 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Mike Danese
1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Eric Paris
58d6b29e97 Rework doc generation to simplify and centralize
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Brendan Burns
9ba13ff361 Address comments 2015-09-11 13:55:16 -07:00
derekwaynecarr
295b8cdf16 Add requests and limits to kubectl run 2015-09-11 10:57:21 -04:00
Brendan Burns
d9e1a00a14 Add caching for swagger schemas 2015-09-10 21:18:52 -07:00
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
feihujiang
714a042ce4 Change Expose Command's port operation to no required 2015-09-11 11:37:55 +08:00
k8s-merge-robot
bfc60709b1 Merge pull request #13468 from yifan-gu/rkt_doc
Auto commit by PR queue bot
2015-09-10 20:32:08 -07: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
Yifan Gu
e7b9c50ba1 kubelet/rkt: add support for different stage1 image.
Also enable grace stop for service files.
2015-09-10 14:58:03 -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
k8s-merge-robot
c993cf6509 Merge pull request #13192 from jiangyaoguo/rate-limit-events-in-kubelet
Auto commit by PR queue bot
2015-09-09 14:58:28 -07:00
Jerzy Szczepkowski
6998247e1b Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735.
2015-09-09 10:59:43 +02:00
jiangyaoguo
1460a1fb9e Rate limit events in kubelet
1. Add EvnetRecordQps and EventBurst parameter in kubelet.
2. If  EvnetRecordQps and EventBurst was set, rate limit events in kubelet
with a independent ratelimiter as setted.
2015-09-09 16:57:21 +08:00
feihujiang
84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
James DeFelice
cf908df89c add flags for initial executor cpu and memory resources 2015-09-06 02:16:09 +00:00
k8s-merge-robot
2e2def36a9 Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Eric Paris
bf7646bd9e Update docs based on new spf13/cobra 2015-09-04 19:20:03 -04:00
Quinton Hoole
be19554bae Merge pull request #13383 from hurf/label_drun
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
Quinton Hoole
fbee3cde22 Merge pull request #13596 from mesosphere/mac-compile-fix
MESOS: Fix compilation of Mesos minion on Mac
2015-09-04 12:37:36 -07:00
Dr. Stefan Schimanski
ada14a524d Fix compilation of Mesos minion on Mac 2015-09-04 16:59:44 +00:00
Quinton Hoole
ded8569524 Merge pull request #12908 from mwielgus/kubectl_get_hpa
HorizontalPodAutoscaler in kubectl get
2015-09-04 09:07:08 -07:00
Piotr Szczesniak
de92c9bac2 Merge pull request #13482 from jlowdermilk/resource-builder-err-msg
Print recognized file extensions in resource builder error
2015-09-04 13:45:41 +02: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
c28b68d254 Merge pull request #13295 from mesosphere/minion-signals
MESOS: refactor process management in the minion controller
2015-09-03 16:37:46 -07:00
Abhi Shah
c9f2d3151b Merge pull request #13155 from derekwaynecarr/enforce_limits
Map cpu limits to cpu-quota in docker run
2015-09-03 16:28:04 -07: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
James DeFelice
124929e373 refactoring of child process handling code
- tasks subpackage responsible for managing system process lifecycle
- minion propagates SIGTERM to child procs
- child procs will be SIGKILL'd upon parent process death
2015-09-03 21:52:08 +00:00
Abhi Shah
9e59ceaa06 Merge pull request #13549 from mesosphere/incremental-pod-updates
MESOS: Switch to incremental pod config notification
2015-09-03 14:24:38 -07:00
Dr. Stefan Schimanski
216865b80a Switch to incremental pod config notification
This fixes https://github.com/mesosphere/kubernetes-mesos/issues/463, i.e.
https://github.com/kubernetes/kubernetes/pull/13003 which broke contrib/mesos.
2015-09-03 22:49:02 +02:00
k8s-merge-robot
5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
James DeFelice
d1589b9571 task reconciliation must look at NamespaceAll, not NamespaceDefault 2015-09-03 18:01:45 +00:00
Jeff Lowdermilk
cb65cfa746 Print recognized file extensions in resource builder error 2015-09-03 11:01:13 -07:00
derekwaynecarr
5dc74e8dbf Add support for CFS quota in kubelet 2015-09-03 13:44:28 -04:00
hurf
46e7f5684c Add --dry-run option for label command
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
Marcin Wielgus
3f21071064 HorizontalPodAutoscaler in kubectl get 2015-09-03 13:49:06 +02:00
Brendan Burns
395bbc4b1b Fix the build. 2015-09-02 15:45:44 -07:00
Abhi Shah
13784bf9ca Merge pull request #13047 from JanetKuo/kubectl-label-bash-completion
Enable kubectl label resource type bash completion
2015-09-02 15:16:54 -07:00
Abhi Shah
b6aac3633d Merge pull request #13415 from JanetKuo/kubectl-rolling-bash-completion
Enable kubectl rolling-update rc name bash completion
2015-09-02 15:14:21 -07:00
k8s-merge-robot
e8cda9dc92 Merge pull request #13310 from markturansky/volume_config
Auto commit by PR queue bot
2015-09-02 14:05:30 -07:00
Brendan Burns
74ef517097 Merge pull request #6649 from rootfs/wip-cephfs
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
James DeFelice
7fbd290167 moved cgroup-root detection to minion service; kube proxy now configured to run in mesos container 2015-09-02 06:13:26 +00:00
Daniel Smith
f7123ac8c6 Merge pull request #10457 from mesosphere/proc_rewrite
MESOS: rewrite Process implementation from scratch, unskip previously failing test
2015-09-01 15:25:12 -07:00
k8s-merge-robot
51d7f85636 Merge pull request #13406 from nikhiljindal/kubectlDeployment
Auto commit by PR queue bot
2015-09-01 13:33:23 -07:00
Huamin Chen
fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Janet Kuo
b673920ccf Get printer from factory to retrieve handled resources 2015-09-01 10:20:51 -07:00
Janet Kuo
23740d9080 Enable kubectl label resource type bash completion 2015-09-01 10:19:51 -07:00
Brendan Burns
9c37fe29c8 Merge pull request #12227 from freeformz/remove_code_google_com
s:code.google.com/p:github.com/scalingdata:
2015-09-01 10:07:44 -07:00
markturansky
68358fd308 Added VolumeConfig to volumes 2015-09-01 12:04:26 -04:00
k8s-merge-robot
a4d953f4b3 Merge pull request #13131 from hurf/anno_unused
Auto commit by PR queue bot
2015-09-01 04:32:13 -07:00
Janet Kuo
94b4659b7b Enable kubectl rolling-update rc name bash completion 2015-08-31 16:37:44 -07:00
nikhiljindal
ac0b060e62 Adding a kubectl resource printer for deployments 2015-08-31 14:57:02 -07:00
Edward Muller
69da77c6b0 s:code.google.com/p:github.com/scalingdata:
Because code.google.com is going away. Probably #1 of several.
2015-08-31 11:29:33 -07:00
Wojciech Tyczynski
e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
James DeFelice
a5fa5673e2 rewrite Process implementation from scratch, unskip previously failing test:
- fix races in unit tests
- fix flaky singleActionEndsProcess test; further simplify Process impl
- fix flakey error handling in processAdapter
- eliminate time-based test assertions
2015-08-31 06:05:51 +00:00
k8s-merge-robot
de60651cc0 Merge pull request #12858 from MatMaul/master
Auto commit by PR queue bot
2015-08-30 21:46:50 -07:00
k8s-merge-robot
4a7115d272 Merge pull request #11955 from pedro-r-marques/flag_resolv_conf
Auto commit by PR queue bot
2015-08-30 21:03:54 -07:00
Dr. Stefan Schimanski
cac58f6db7 Add --path-override to minion to change the PATH env var of subprocesses;
pass hostname-override through to kube-proxy (if defined)
2015-08-27 22:57:04 +00:00
hurf
961d7f995a Remove unused parameters and flags
Some params and flags are set but not used, remove them.
2015-08-27 10:40:40 +08:00
Pedro Roque Marques
99b1da848d Add kubelet '--resolv-conf' flag.
Allow the user to specify the resolver configuration file that is used
to determine the default DNS parameters. This defaults to the system's
/etc/resolv.conf.
2015-08-26 15:41:36 -07:00
Yu-Ju Hong
c237ac4c84 Merge pull request #13003 from yujuhong/decouple_workers
kubelet: trigger pod workers independently
2015-08-26 09:53:25 -07:00
Mathieu Velten
57f18a0e04 Add a dockercfg_path parameter to the Mesos scheduler (the main purpose is to handle private repos auth).
This is implemented by copying the dockercfg file in the executor work directory.
2015-08-26 11:21:08 +02:00
Yu-Ju Hong
b906e34576 kubelet: trigger pod workers independently
Currently, whenever there is any update, kubelet would force all pod workers to
sync again, causing resource contention and hence performance degradation.

This commit flips kubelet to use incremental updates (as opposed to snapshots).
This allows us to know what pods have changed and send updates to those pod
workers only. The `SyncPods` function has been replaced with individual
handlers, each handling an operation (ADD, REMOVE, UPDATE). Pod workers are
still triggered periodically, and kubelet performs periodic cleanup as well.

This commit also spawns a new goroutine solely responsible for killing pods.
This is necessary because pod killing could hold up the sync loop for
indefinitely long amount of time now user can define the graceful termination
period in the container spec.
2015-08-25 17:52:01 -07:00
Clayton Coleman
8a62f1828d Evict terminating pods 2015-08-25 14:17:39 -03:00
Yu-Ju Hong
9f508e9422 Merge pull request #13076 from invenfantasy/master
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Janet Kuo
5823ef771b Make --validate default on and shows how to turn if off 2015-08-25 03:18:32 -07:00
Karl Isenberg
158c42f4be Log Mesos task message on status update
- Log error when task state is unknown
2015-08-24 15:31:31 -07:00
Dr. Stefan Schimanski
f9635d5778 [mesos] Handle TASK_ERROR
- The TASK_ERROR task status was introduced with Mesos 0.21 and is actually used since 0.22.
  It was not handled at all before this patch, leaving errored task in the registry in phase
  "Pending". This will lead to task status updates from the Mesos Master on reconciliation with empty
  slaveId fields, leading to scheduler crashes eventually.
- Handle terminal task with empty slaveId.
  The slave id can be empty for TASK_ERROR.
  The modified code path does not use the slaveId.
2015-08-24 15:31:31 -07:00
Janet Kuo
46eb607677 Enable kubectl exec pod name bash completion 2015-08-24 05:25:48 -07:00
Marcin Wielgus
66309325f8 Merge pull request #13015 from feihujiang/kubectlAnnotationAcceptFileNameParam
Kubectl annotate command accepts a filename param
2015-08-24 10:57:30 +02:00
caogaojin
60cb4406e9 Cleanup deprecated Forever function
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
Brendan Burns
5d664892f2 Add a storage implementation for thirdpartyresources. 2015-08-21 17:21:40 -07:00
Jerzy Szczepkowski
b6f18c7ce0 Merge pull request #12943 from mesosphere/node-selector-support
Add NodeSelector support to Mesos scheduler
2015-08-21 10:32:24 +02:00
feihujiang
7291bde309 Kubectl annotate command accepts a filename param 2015-08-21 15:08:29 +08:00
Abhishek Shah
b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Saad Ali
9b01580946 Merge pull request #12872 from runningwild/master
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Eric Paris
6d7986993a Update docs 2015-08-20 15:01:34 -07:00
Eric Paris
bcf912667b Use pflag functions instead of ours. 2015-08-20 15:00:55 -07:00
Dr. Stefan Schimanski
10bb0424c4 Add NodeSelector support to scheduler 2015-08-20 20:59:10 +02:00
Wojciech Tyczynski
e794e36a32 Merge pull request #12861 from mesosphere/empty-kubelet-container-vars
MESOS: Stop the kubelet from taking control over cgroups and other processes
2015-08-20 09:02:19 +02:00
Saad Ali
8a43bd621e Merge pull request #12745 from eparis/even-less-dash-false-positive
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Saad Ali
14eadcccac Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Saad Ali
d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
Dr. Stefan Schimanski
d6feca1885 Set the kubelet cgroup to <executor-cgroup>/kubelet
In contrast to the docker and system containers (= cgroup path) this has no
undesired consequence, only that the kubelet itself will be in its own cgroup
below the executor cgroup.
2015-08-19 20:36:21 +02:00
Jonathan Wills
80e799fc0c Allow configuring the rkt binary in a kubelet with a flag.
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Janet Kuo
44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey
d78525a83b Merge pull request #12750 from mikedanese/submit-queue
remove contrib/submit-queue as it is moving to the contrib repo
2015-08-18 09:15:22 -07:00
Dr. Stefan Schimanski
8ddcb222e9 Stop the kubelet from taking control over cgroups and other processes 2015-08-18 17:42:58 +02:00
Clayton Coleman
266e6226e5 Move slow-* items to test/images/network-tester 2015-08-18 09:08:46 -04:00
Clayton Coleman
edb108802d Handle gracefully terminated pods in node controller
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Robert Bailey
17c005bb6a Merge pull request #12730 from eparis/bash-completions-delete-label
bashcompletions: suggest resources to delete in kubectl delete
2015-08-17 13:52:53 -07:00
Eric Paris
c560f41a4b Update docs which were incorrectly using _ in flag names
Each of these was verified that the actual flag declaration correctly
used -
2015-08-17 11:18:43 -07:00
Robert Bailey
5584d85574 Merge pull request #12752 from mikedanese/move-service-lb
remove service-loadbalancer since it lives in contrib/ now
2015-08-17 10:59:08 -07:00
Marek Grabowski
e9dd3c5543 Merge pull request #12678 from mesosphere/scheduler-log-struct-fields
Improve readability of scheduling failure logs
2015-08-17 13:06:47 +02:00
Karl Isenberg
61c9dd876e Improve readability of scheduling failure logs 2015-08-17 12:17:48 +02:00
Mike Danese
fa40ced8f8 move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Brendan Burns
8e05da1316 Merge pull request #12696 from eparis/less-dash-false-positive
Fewer false positives in verify-flag-underscore.sh
2015-08-14 16:27:08 -07:00
Mike Danese
37bb279fae remove service-loadbalancer since it lives in contrib/ now 2015-08-14 15:16:47 -07:00
Brendan Burns
eed655a6e6 Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Mike Danese
83ae12f0c3 remove contrib/submit-queue as it is moving to the contrib repo 2015-08-14 13:54:04 -07:00
Eric Paris
9b2ac7538d bashcompletions: suggest resources to delete in kubectl delete
Before this patch if you type `kubectl delete [tab][tab]` you would get
nothing.  `kubectl delete pod [tab][tab]` would show the list of pods.
This patch causes `kubectl delete [tab][tab]` to show the list of
resources like pod, service, podtemplate, serviceaccount, etc
2015-08-14 10:35:26 -04:00
Jerzy Szczepkowski
f29d52114b Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
Eric Paris
30d34d0e59 Reduce false positives with verify-flag-underscore.sh by updating regex
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'.  It there is an alphanumeric character then
this is obviously not actually the flag we care about.  For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match.  Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Mike Danese
00cf4c9c94 remove most of contrib as it's moving to a seperate repo 2015-08-13 17:56:01 -07:00
Mike Danese
d9555aed67 add readme to redirect people to new repo 2015-08-13 17:53:12 -07:00
Brendan Burns
b50330d851 Merge pull request #12539 from jiangyaoguo/keep-event-reason-consistent-in-scheduler-controller
Keep event reason consistent in scheduler and controller
2015-08-13 14:08:52 -07:00
Brendan Burns
22a2a76ab8 Merge pull request #12571 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns
15281a5e01 Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Brendan Burns
586931fe16 Add optional arguments to kubectl run ... 2015-08-13 09:41:51 -07:00
Wojciech Tyczynski
c367d3c2e5 Merge pull request #12637 from piosz/rc-make
Fixed Makefile for Resource Consumer to handle deps
2015-08-13 15:22:32 +02:00
Wojciech Tyczynski
1470b3245d Merge pull request #12618 from mikedanese/rewrite-godoc
rewrite links pointing to godoc
2015-08-13 14:10:33 +02:00
Piotr Szczesniak
3489c01143 Fixed Makefile for Resource Consumer to handle deps 2015-08-13 11:46:50 +02:00
feihujiang
1e10a7cc59 Kubectl scale command accepts a filename param 2015-08-13 14:26:25 +08:00
feihujiang
18a1400928 Kubectl get command accepts a filename param 2015-08-13 14:12:29 +08:00
jiangyaoguo
5d3522dc7a Keep event reason consistant in scheduler and controller 2015-08-13 11:33:32 +08:00
feihujiang
0110f3176b Kubectl patch command accepts a filename param 2015-08-13 11:13:31 +08:00
feihujiang
4b9afc516e Kubectl label command accepts a filename param 2015-08-13 10:21:38 +08:00
Brendan Burns
99b8df1812 Add field based sorting to the kubectl command line. 2015-08-12 16:51:36 -07:00
CJ Cullen
353d3b0168 Merge pull request #12616 from mesosphere/mesos-service-port-name-issue
Remove outdated documented Mesos issue that service ports must be named
2015-08-12 16:08:52 -07:00
CJ Cullen
811b93ef2f Merge pull request #12604 from krousey/clientauth
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Dr. Stefan Schimanski
f8dd75091d Remove outdated documented Mesos issue that service ports must be named
The described behavior cannot be reproduced in current master anymore.

Compare mesosphere/kubernetes-mesos#322
2015-08-13 00:45:46 +02:00
Mike Danese
1cd9478346 rewrite links pointing to godoc 2015-08-12 15:27:36 -07:00
Kris Rousey
2a17dbff13 Moving clientauth package to be under client 2015-08-12 14:43:17 -07:00
Timothy St. Clair
bc7ca3bf32 Modified version of etcd installation from openshift-ansible with fixes and
cleanup.
2015-08-12 15:40:23 -05:00
CJ Cullen
4163d1a5d2 Merge pull request #12535 from mesosphere/persist-assigned-slave
Make slave assignment before binding persistent
2015-08-12 10:14:38 -07:00
Piotr Szczesniak
7837cf1ae3 Merge pull request #12578 from socaa/post-request
Handling http POST requests added to Resource Consumer
2015-08-12 12:06:56 +02:00
Piotr Szczesniak
50a5c5761b Merge pull request #12517 from socaa/consume-cpu
Added consume cpu function to Resource Consumer
2015-08-12 12:01:16 +02:00
Ewa Socala
b629dffb0f Handling http POST requests added to Resource Consumer 2015-08-12 11:19:51 +02:00
Ewa Socala
e9b6b00ade Added consume cpu function to Resource Consumer 2015-08-12 11:01:54 +02:00
feihujiang
c0b2098844 Kubectl expose command accepts a filename param 2015-08-12 16:16:37 +08:00
Dr. Stefan Schimanski
fb0d4dbc13 Address review comments 2015-08-12 08:03:37 +02:00
Dr. Stefan Schimanski
f1a560718c Make slave assignment before binding persistent
- move assigned slave to T.Spec.AssignedSlave
- only create the BindingHost annoation in prepareTaskForLaunch
- recover the assigned slave from annotation and write it back to the T.Spec field

Before this patch the annotation were used to store the assign slave. But due
to the cloning of tasks in the registry, this value was never persisted in the
registry.

This patch adds it to the Spec of a task and only creates the annotation
last-minute before launching.

Without this patch pods which fail before binding will stay in the registry,
but they are never rescheduled again. The reason: the BindingHost annotation does
not exist in the registry and not on the apiserver (compare reconcilePod function).
2015-08-12 08:03:36 +02:00
Bryan Stenson
9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Filip Grzadkowski
44c91b1a39 Merge pull request #12508 from markturansky/refactor_pv_controllers
Refactored persistent volume controllers to new packaging structure
2015-08-11 12:35:23 +02:00
Filip Grzadkowski
2148fb78db Merge pull request #12223 from thockin/srv-hostname
Update serve_hostname
2015-08-11 10:59:15 +02:00
markturansky
8e0d391b1e Refactored persistent volume controllers to new packaging structure 2015-08-10 23:18:48 -04:00
Alex Robinson
42e12f1c5f Merge pull request #12340 from wojtek-t/rewrite_service_etcd
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Alex Robinson
5836d455b8 Merge pull request #12239 from eparis/bash-completions-rolling-update
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson
9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
11fcd3bb39 Merge pull request #12478 from eparis/use-pflag-network
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Prashanth Balasubramanian
e27806d79d Multi-cluster services documentation, take II 2015-08-10 10:18:03 -07:00
Alex Robinson
1ad9015566 Merge pull request #12410 from mesosphere/non-unique-endpoint-ip-no-port-names
Fix e2e endpoints tests on Mesos
2015-08-10 09:49:55 -07:00
Marek Grabowski
daf4ff4acf Revert "Add multi cluster services documentation " 2015-08-10 16:43:21 +02:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
f187588072 Merge pull request #11054 from jsafrane/devel/iscsi-test
Add e2e RBD and iSCSI volume tests.
2015-08-10 16:32:13 +02:00
Marek Grabowski
4858f2a722 Merge pull request #12309 from bprashanth/haproxy_gcr
Add multi cluster services documentation
2015-08-10 16:31:51 +02:00
Eric Paris
9de64328a5 Bash completion annotations for rollingupdates 2015-08-10 10:26:18 -04:00
Eric Paris
fe6b633e2a Convert for util.IP to just use a net.IP
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Marek Grabowski
e27787c9d3 Merge pull request #12292 from brendandburns/stdin3
Add support for `--restart`
2015-08-10 14:54:54 +02:00
Wojciech Tyczynski
79125f460c Services using standard REST storage 2015-08-10 13:27:44 +02:00
Ed Costello
35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
991775e77b Merge pull request #10724 from eparis/convert-underscore-to-dash
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Satnam Singh
b071857c0f Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam
Kubectl describe command accepts a filename param
2015-08-07 15:23:57 -07:00
Satnam Singh
950ec96db0 Merge pull request #12182 from AnanyaKumar/qos-node
Add QoS support on node
2015-08-07 14:27:02 -07:00
Brendan Burns
e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Ananya Kumar
6ef3de1d5f Add QoS support on node 2015-08-07 11:18:16 -07:00
Dr. Stefan Schimanski
c55e7bf731 Annotate endpoints in mesos endpoint controller with container ports
The EndpointPort struct only stores one port: the port which is used
to connect to the container from outside. In the case of the Mesos
endpoint controller this is the host port. The container port is not part
of the endpoint structure at all.

A number of e2e tests need the container port information to validate correct
endpoint creation. Therefore this patch annotates the Endpoint struct with a
number of annotations mapping "<HostIP>:<HostPort>" to "<ContainerPort>". In a
follow-up commit these annotations are used to validate endpoints in a Mesos
setup.
2015-08-07 20:13:19 +02:00
Eric Paris
f9d4a0a34d Convert contrib/ from --flag_name= to --flag-name=
All binaries in kubenretes show `-` for help and seem to expect `-`. Although
`_` also works. The inconsistencies across the codebase using - and _
result in difficultly using things like grep to find things that need to
be changed.
2015-08-07 10:58:25 -04:00
Jan Safranek
9c7a1c7f96 Add Ceph RBD e2e test.
The test assumes that all nodes have Ceph client utilities installed.
Ceph RBD container is hand crafted to be really minimal. It creates a new RBD
on startup, which can take up to several minutes on busy machines.
2015-08-07 13:43:03 +02:00
Jan Safranek
adba474ffa Add e2e iSCSI volume test.
The test container needs to run with --privileged, therefore it's disabled by
default.
2015-08-07 13:43:03 +02:00
Jerzy Szczepkowski
372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
feihujiang
90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
feihjiang
2ca200f087 Kubectl describe command accepts a filename param 2015-08-07 16:28:51 +08:00
Jan Safranek
ebcc558734 Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.

This reverts commit 118004c166.
2015-08-07 10:24:29 +02:00
Tim Hockin
384bcbb21b Update serve_hostname
1) FROM busybox
2) Log source IP
3) bump to v1.2
2015-08-06 21:48:26 -07:00
Brendan Burns
9ac50b4980 Add interactive run that combines run and attach. 2015-08-06 20:20:14 -07:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Prashanth Balasubramanian
efbeba58f2 Add a sharing clusters example 2015-08-06 18:02:01 -07:00
Eric Paris
7cbb52ce04 Use the pflag StringSlice instead of implementing it ourselves
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Dawn Chen
2abf5dfb1f Merge pull request #10498 from thockin/hostport-to-service
Fix leaking process in hostport proxy
2015-08-06 10:50:44 -07:00
Stef Walter
f6da3fdbe1 kubectl: Add proxy --unix-socket=/file/path option
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.

We make sure the socket starts its life only accessible by the
current user using Umask.

This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Prashanth Balasubramanian
461d1b7909 Add a script to help convert kubeconfig to a secret to share clusters. 2015-08-05 14:34:24 -07:00
Prashanth Balasubramanian
6c6b359099 Add multi cluster services documentation to loadbalancer README 2015-08-05 14:29:38 -07:00
Piotr Szczesniak
28b9ebed47 Merge pull request #12257 from socaa/dockerfile
Add docker file to Resource Consumer
2015-08-05 11:07:53 +02:00
Ewa Socala
140610c1bb Add docker file to Resource Consumer 2015-08-05 10:07:23 +02:00
Alex Mohr
159ba48932 Merge pull request #12238 from eparis/godeps
Auto commit by PR queue bot
2015-08-05 01:06:11 -07:00
Brendan Burns
c5643c3c03 Fix submit queue when there are multiple LGTMs 2015-08-04 21:52:21 -07:00
Alex Mohr
0e8020f9bb Merge pull request #11779 from JanetKuo/add-kubectl-annotation
Auto commit by PR queue bot
2015-08-04 18:28:12 -07:00
Alex Mohr
e528d2d948 Merge pull request #12198 from mesosphere/default-mem-and-cpu-limit
MESOS: Set the cpu+mem default limit in the SchedulerServer
2015-08-04 17:42:51 -07:00
Eric Paris
a29789d60e Switch from to code.google.com/p/go-uuid/uuid to github.com/pborman/uuid 2015-08-04 20:13:07 -04:00
Alex Mohr
8d31a576a0 Merge pull request #12076 from socaa/skeleton
Auto commit by PR queue bot
2015-08-04 16:59:34 -07:00
Alex Mohr
e17aafa7dd Merge pull request #11679 from bprashanth/haproxy
Auto commit by PR queue bot
2015-08-04 15:35:44 -07:00
Dr. Stefan Schimanski
191f2def5f Add test to check that NewSchedulerServer sets resource defaults 2015-08-04 22:01:23 +02:00
Alex Mohr
4271f28548 Merge pull request #12185 from brendandburns/queue
Fix a mis-undersanding about the github API, add more tests
2015-08-04 09:54:51 -07:00
gmarek
2201e75666 NodeController small cleanup 2015-08-04 14:44:14 +02:00
Dr. Stefan Schimanski
3fced6f07b Set the cpu+mem default limit in the SchedulerServer 2015-08-04 12:15:17 +02:00
Ewa Socala
01798bae0c Added http API skeleton server.
Part of #11570
2015-08-04 11:51:28 +02:00
Prashanth Balasubramanian
81d91b1f05 Bare metal loadblancers 2015-08-03 21:35:24 -07:00
Brendan Burns
f50f0b26f1 Fix a mis-undersanding about the github API, add more tests 2015-08-03 20:52:06 -07:00
Alex Mohr
b280549930 Merge pull request #12180 from brendandburns/queue
Fix a small bug in contrib/submit-queue, add a unit test.
2015-08-03 18:00:26 -07:00
Alex Mohr
7ac6c50b9d Merge pull request #12094 from brendandburns/kubectl
Auto commit by PR queue bot
2015-08-03 17:09:06 -07:00
Brendan Burns
0287d6eb32 Fix a small bug, add a unit test. 2015-08-03 17:01:43 -07:00
Alex Mohr
6d16c18d6f Merge pull request #12078 from gmarek/move_nodecontroller
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Janet Kuo
7e63213478 Implement kubectl annotation update command. Refactor kubectl annotate to decouple command framework from business logic. 2015-08-03 14:35:56 -07:00
Brendan Burns
c2f3cd941f Add LGTM timestamp checking. 2015-08-03 13:53:35 -07:00
gmarek
d27ad5b714 Controller codebase refactoring 2015-08-03 17:06:25 +02:00
Muhammed Uluyol
4b334a90ba Add a simple diurnal controller.
The diurnal controller changes the number of replicas of a replication controller based on a list of times and replica counts. It is meant to be run under a replication controller.
2015-07-31 17:27:09 -07:00