Commit Graph

101 Commits

Author SHA1 Message Date
Klaus Ma
b361f40009 Enable km to use local km in agent. 2016-07-07 23:39:11 +08:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Chao Xu
49559a3332 Generate the typed clients under the clientset folder 2016-03-31 15:28:45 -07:00
goltermann
32d569d6c7 Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
James DeFelice
622a28c021 forward globally declared cadvisor housekeeping flags 2016-03-15 04:55:37 +00:00
HAI HUANG
b08e2b7201 added proxy-kubeconfig flag 2016-03-10 20:35:49 -05:00
k8s-merge-robot
679e27c157 Merge pull request #22500 from mesosphere/jdef_multi_bugfix
Auto commit by PR queue bot
2016-03-04 00:32:28 -08:00
James DeFelice
954e25465d fix several bugs:
- properly remove the leading non-flag args from the command line before passing the rest to the executor
  - fix missed "add" after "delete" in merge() when objects are identical
  - properly test for tombstone instead of *api.Node in delete handler
  - basic tests for node registrator
2016-03-04 07:35:13 +00:00
k8s-merge-robot
3af6566ab3 Merge pull request #22463 from huang195/add_kubelet_kubeconfig_flag
Auto commit by PR queue bot
2016-03-03 20:19:05 -08:00
HAI HUANG
ee095e755a adding kubelet-kubeconfig flag to km scheduler 2016-03-03 16:33:31 -05:00
HAI HUANG
15ffe5746d added kubelet-api-servers flag to km scheduler 2016-03-02 08:18:58 -05:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
James DeFelice
7900f1dda6 fix argv[0] of executor args; move conntrack args to minion block 2016-02-24 03:41:59 +00:00
HAI HUANG
625e0d0944 Adding more info to error msgs 2016-02-23 16:19:41 -05:00
James DeFelice
250a511a78 fix k8sm-787 scheduler failover regression 2016-02-23 17:43:00 +00:00
James DeFelice
d367eff8c9 derive drivers published address from LIBPROCESS_IP, if present 2016-02-20 07:55:33 +00:00
k8s-merge-robot
8081956be3 Merge pull request #21325 from caesarxuchao/coding-conventions
Auto commit by PR queue bot
2016-02-16 13:00:13 -08:00
Chao Xu
97aecd002a remove underscore in imported pkg names 2016-02-16 10:54:51 -08: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
22d3cb9ea9 scheduler API integration fixes:
- fix unreported event problems
- add support for APIQPS and APIBurst
- eliminate authPath in favor of kubeconfig
- further refactor deps on autogenerated client API
2016-02-07 22:43:01 +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
James DeFelice
e01b5560ca swappable storage backends for frameworkID 2016-02-01 06:03:25 +00:00
k8s-merge-robot
d3fdc61ff7 Merge pull request #19696 from mesosphere/jdef_mesos_pod_discovery
Auto commit by PR queue bot
2016-01-28 01:15:40 -08:00
James DeFelice
70a5cc462b updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat 2016-01-27 17:13:07 +00:00
James DeFelice
1748f028d5 experimental support for task discovery-info generation 2016-01-25 16:25:03 +00:00
Arsen Mamikonyan
8b5e9e2885 Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05: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
James DeFelice
58407ca8a2 avoid updating nf_conntrack-related settings, by default, when running k8s on mesos 2016-01-06 21:57:25 +00:00
Dr. Stefan Schimanski
7a2c33e323 contrib/mesos/scheduler: make debug handler for kubelet configurable 2015-12-29 14:39:59 +01: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
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
Timothy St. Clair
413d8d18fe Futher storage isolation and removal of the tools interface. 2015-12-09 11:04:14 -06: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
Tim St. Clair
20ead45af9 Move etcd_util.go to separate package 2015-11-23 11:32:50 -08:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
k8s-merge-robot
1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
James DeFelice
f855ac39d3 added proxy-mode flag to scheduler and minion 2015-11-18 20:32:44 +00:00
Dr. Stefan Schimanski
2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
k8s-merge-robot
a999c0fbe4 Merge pull request #13943 from mesosphere/static-pods
Auto commit by PR queue bot
2015-11-16 13:53:23 -08:00
Dr. Stefan Schimanski
2f45d5706b Add node status update controller 2015-11-16 11:48:04 +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
Dr. Stefan Schimanski
a3f02cda17 Add resource requests support 2015-11-12 16:56:07 +01:00
Dr. Stefan Schimanski
1be1a8ce63 Rename SchedulerLoop -> Controller 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
adfc63e749 Clean up error handling for the sandbox overlay 2015-11-12 01:33:50 +01:00