Random-Liu
3cbdf79f8c
Change original PodStatus to APIPodStatus, and start using kubelet internal PodStatus in dockertools
2015-12-04 17:37:39 -08:00
James DeFelice
02a11f7a2e
Merge pull request #53 from mesosphere/jdef_fix_executor_state_locks
...
MESOS: avoid mutex locking around blocking calls in kubelet-executor
Conflicts:
contrib/mesos/pkg/executor/service/service.go
2015-12-02 22:45:52 +00: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
k8s-merge-robot
643cb7a1c7
Merge pull request #17891 from zhengguoyong/consistent_kubelet_package
...
Auto commit by PR queue bot
2015-12-01 08:37:01 -08: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
zhengguoyong
bff8334db9
Consistent import kubelet app package name
2015-11-28 08:51:39 +08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
Sergiusz Urbaniak
9eae47c6e6
scheduler: implement role awareness
2015-11-23 17:27:14 +01:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05: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
k8s-merge-robot
e88593d788
Merge pull request #14542 from vishh/kubelet-refactor
...
Auto commit by PR queue bot
2015-11-12 15:24:22 -08:00
Dr. Stefan Schimanski
ec582e736e
Rename KubernetesMesosExecutor -> Executor
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
d4675f1dc3
Rename mesos_{scheduler ->}.go, {mesos ->}framework.go
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
866a17d6d8
Rename KubernetesExecutor -> KubernetesMesosExecutor
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
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
eulerzgy
31c09bdcb8
Del capatical local packagename for cadvisorApi
2015-10-16 11:03:50 +08: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
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
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
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
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
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
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