Commit Graph

1140 Commits (5b43a127750abee1730bfeb3f3f7f0c522986b80)

Author SHA1 Message Date
k8s-merge-robot dd81bf9f9d Merge pull request #19412 from mesosphere/jdef_sync_controllermanager
Auto commit by PR queue bot
2016-01-11 00:16:27 -08:00
James DeFelice 7feb664087 fix #19186 2016-01-10 14:51:20 +00:00
k8s-merge-robot ce9b117a19 Merge pull request #16698 from mml/issue3885
Auto commit by PR queue bot
2016-01-09 13:38:41 -08:00
James DeFelice 7ee5ef06d2 resync the k8s controller manager with the k8sm variant 2016-01-08 16:53:59 +00: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
k8s-merge-robot ab6edd8170 Merge pull request #19093 from smarterclayton/split_proxy_and_scheduler
Auto commit by PR queue bot
2016-01-06 19:26:41 -08:00
k8s-merge-robot e1cb14cce1 Merge pull request #19092 from smarterclayton/split_api_server
Auto commit by PR queue bot
2016-01-06 19:09:38 -08:00
Clayton Coleman 715b77cbcd Split proxy and scheduler arguments
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -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
Clayton Coleman c0c707d92d Split apiserver flags and initialization
Make it easier to keep defaults and flags clearly identified.
2016-01-06 21:14:30 -05:00
Matt Liggett c6e9ad066e Initial node drain implementation for #3885.
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period.  It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.

Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00
k8s-merge-robot a11d1bdc90 Merge pull request #19303 from mesosphere/jdef-expose-conntrack-flags-to-framework
Auto commit by PR queue bot
2016-01-06 16:21:18 -08:00
k8s-merge-robot 2a1e51cb5a Merge pull request #18906 from MikeSpreitzer/issue/18721
Auto commit by PR queue bot
2016-01-06 14:09:36 -08:00
James DeFelice 58407ca8a2 avoid updating nf_conntrack-related settings, by default, when running k8s on mesos 2016-01-06 21:57:25 +00:00
Mike Spreitzer b35aec769b Issue #18721: introduce longer period for lost pod polling 2016-01-06 13:58:29 -05:00
James DeFelice 5ae56ce554 disable conntrack behavior mods that are possibly causing smoke tests to bomb 2016-01-05 02:06:18 +00:00
k8s-merge-robot cd097e3f86 Merge pull request #19088 from smarterclayton/separate_service_account
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
k8s-merge-robot 356487c951 Merge pull request #18101 from brendandburns/kubectl6
Auto commit by PR queue bot
2015-12-29 12:43:42 -08:00
Dr. Stefan Schimanski 7a2c33e323 contrib/mesos/scheduler: make debug handler for kubelet configurable 2015-12-29 14:39:59 +01:00
Clayton Coleman 9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
Chao Xu 2b5b708b70 Refactor the API registration and installation 2015-12-23 22:44:25 -08:00
Brendan Burns 4123a61df7 Add the client side bits of kubectl export 2015-12-22 10:41:59 -08:00
Dr. Stefan Schimanski 5ebc1f0d79 contrib/mesos/kubelet: don't disable debug handler by default 2015-12-21 14:31:28 +01:00
Timothy St. Clair c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
k8s-merge-robot 5a579a2555 Merge pull request #16028 from derekwaynecarr/make_cmd
Auto commit by PR queue bot
2015-12-16 08:41:59 -08:00
k8s-merge-robot e309583ff1 Merge pull request #18473 from smarterclayton/change_runtime_object
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
k8s-merge-robot 0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Clayton Coleman 8f203a28f1 Change runtime.Object signature 2015-12-15 13:36:25 -05:00
Sergiusz Urbaniak 1fd3bc087b pod_task: use annotations rather than labels for roles
Roles support in Kubernetes-Mesos was done using pod labels. This
commits moves this to pod annotations. Pod label yaml files don't
support '*' characters, furthermore roles are consumed by the scheduler
only and are not meant for querying/filtering.
2015-12-15 12:45:54 +01:00
k8s-merge-robot b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
derekwaynecarr 5e0948586c Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
Sergiusz Urbaniak 7bf86d61ee mesos/docs: update docs for roles support
The scheduler documentation was updated to:

1. Reflect the `--mesos-framework-roles` and `--mesos-default-pod-roles`
configuration options.

2. Reflect pod roles configuration via annotations rather than labels.

3. The section describing more than two roles was modified to describe
only two roles because that is what is currently supported in Mesos.
2015-12-14 16:49:19 +01: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
feihujiang 9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08: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 26593f1a6a use WithoutCancel interface w/ Pop(nil) 2015-12-12 15:33:48 +00:00
k8s-merge-robot 4f67b0b211 Merge pull request #18349 from mesosphere/sttts-workaround-kube-ui-condition-order-assumption
Auto commit by PR queue bot
2015-12-12 02:26:49 -08:00
k8s-merge-robot 5ff88a4eb6 Merge pull request #18575 from jay-lau/master
Auto commit by PR queue bot
2015-12-11 17:11:40 -08:00
k8s-merge-robot a1f6cc3f63 Merge pull request #18574 from jay-lau/master
Auto commit by PR queue bot
2015-12-11 17:11:38 -08:00
Jeff Lowdermilk c103825ef4 Merge pull request #14537 from markturansky/pv_provisioner
PersistentVolume Provisioner Controller
2015-12-11 13:09:33 -08:00
Jeff Lowdermilk e53acfe19c Merge pull request #17111 from munnerz/multi-rolling-update
Allow rolling-update of a single container in multi-container pods
2015-12-11 13:08:13 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
k8s-merge-robot d3243b8778 Merge pull request #18383 from timothysc/tools_removal
Auto commit by PR queue bot
2015-12-11 07:17:14 -08:00
Jay Lau 69439149ed Correct typo for two parameters in mesos scheduler. 2015-12-11 10:02:27 -05:00
Jay Lau 85a9303bd6 Removed code confilict symbols from mesos scheduler document. 2015-12-11 22:32:52 +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
k8s-merge-robot 940f5d4447 Merge pull request #18434 from mesosphere/sur-680-kubelet-events
Auto commit by PR queue bot
2015-12-10 02:35:24 -08:00
Sergiusz Urbaniak 9176e93ba8 service: initialize EventClient
Kubelet events are not being tracked. This commit fixes it by
initializing the event client.

fixes https://github.com/mesosphere/kubernetes-mesos/issues/680
2015-12-09 20:43:11 +01:00
Timothy St. Clair 413d8d18fe Futher storage isolation and removal of the tools interface. 2015-12-09 11:04:14 -06:00