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
Dr. Stefan Schimanski
10f9a9752d
Use KubeletConfig.Builder in Mesos executor
2015-10-02 19:39:24 +02: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
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
gmarek
fc79ce347e
Allow usining FakeOOMAdjuster in Kubelet
2015-10-01 10:55:08 +02:00
Dr. Stefan Schimanski
74e57e85f1
Pass all changes of DeletionTimestamp and DeletionGracePeriodSeconds to kubelet
2015-10-01 06:50:07 +02: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
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
liguangbo
12299087da
Change Oom to OOM
2015-09-28 18:18:04 +08: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
9c24131b4e
Remove unused Watch code in executor
2015-09-25 17:55:22 +02:00
Dr. Stefan Schimanski
61b7e682ce
Fix zero MaxOpenFiles in Mesos executor
2015-09-24 11:59:16 +02: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
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
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