Commit Graph

487 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
Clayton Coleman 38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
k8s-merge-robot 2286bd3a38 Merge pull request #19961 from mamikonyana/newrepo
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
k8s-merge-robot d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
k8s-merge-robot cc1eeeb7ca Merge pull request #19959 from mesosphere/jdef_fix_k8s_19954_scheduler_integration_test
Auto commit by PR queue bot
2016-01-25 06:05:54 -08:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman 33085c0cf2 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
Arsen Mamikonyan 8b5e9e2885 Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05:00
James DeFelice 0b50f6c513 store and return deep copies of pod objects to avoid data races 2016-01-21 22:52:02 +00:00
Alex Mohr 6b1830841e Merge pull request #19877 from mesosphere/jdef_fix_k8sm_735_scheduler_event_broadcaster_config
MESOS: conformance fix: scheduler name should match api.DefaultSchedulerName
2016-01-21 14:15:56 -08:00
Alex Mohr 8f0ab67819 Merge pull request #19241 from mesosphere/karlkfi-docker-cluster
Extract keygen image
2016-01-21 10:29:39 -08:00
James DeFelice 227ac385e9 use the default scheduler name from the API when generating events; also start logging events to Infof 2016-01-21 16:57:15 +00:00
k8s-merge-robot b02285cd0c Merge pull request #19632 from mesosphere/jdef_unified_pod_watch
Auto commit by PR queue bot
2016-01-20 16:26:49 -08:00
James DeFelice b2013cb1ba replace pod-observer and check-for-lost-pod polling with a single pod watcher and task registry 2016-01-20 18:53:34 +00:00
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
David Oppenheimer 8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
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
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
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
Karl Isenberg acef0404e5 Simplify docker run execution in a way that still handles SIGINT & SIGTERM 2016-01-05 17:55:52 -08: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
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
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
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
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
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
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