Yu-Ju Hong
c646255579
Replace podFullName with format.Pod() in logging messages
2015-12-07 13:41:52 -08:00
k8s-merge-robot
810181fb7b
Merge pull request #17278 from ZJU-SEL/fix-nil-tag
...
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
k8s-merge-robot
e1230eb57e
Merge pull request #17420 from Random-Liu/use-raw-pod-status-in-docker
...
Auto commit by PR queue bot
2015-12-05 12:16:04 -08:00
k8s-merge-robot
2f4d4d9e94
Merge pull request #17968 from dgonyeo/rkt_api_list_images
...
Auto commit by PR queue bot
2015-12-05 05:50:06 -08:00
Random-Liu
3cbdf79f8c
Change original PodStatus to APIPodStatus, and start using kubelet internal PodStatus in dockertools
2015-12-04 17:37:39 -08:00
Derek Gonyeo
7ae6bf9d39
rkt: rewrote ListImages to use rkt's API service
2015-12-04 11:25:56 -08:00
Yu-Ju Hong
a4816b3bcb
Make kublet/util/format.go a separate package
...
The formatting function is used often in logging. This improves the readability
by shortening the length of the call. Also change the fomartted string to
include the pod UID.
2015-12-03 12:47:36 -08:00
harry zhang
121c7046aa
Move parsers into util
2015-11-29 22:15:11 -08:00
k8s-merge-robot
7cc83b347e
Merge pull request #17607 from yifan-gu/rm_rkt_image_manager
...
Auto commit by PR queue bot
2015-11-27 01:49:00 -08:00
k8s-merge-robot
27c2f5fb52
Merge pull request #17526 from yifan-gu/rkt_api_service
...
Auto commit by PR queue bot
2015-11-25 06:24:55 -08:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Yifan Gu
5b423dd458
rkt: Refactor version check with api-service.
...
Also mocked systemd interfaces for testing purpose.
2015-11-23 16:30:51 -08:00
Yifan Gu
28e78f4fb8
rkt: remove rkt image manager.
...
This removes the dead code of rkt image manager as the generic
image manager is being used.
2015-11-20 16:30:51 -08:00
Daniel Smith
874b4f85d9
Merge pull request #17259 from yujuhong/raw_pod_status
...
kubelet: add RawPodStatus and related functions
2015-11-20 14:23:19 -08:00
Yu-Ju Hong
759795592d
rkt: correctly copy container status in GetPods()
2015-11-18 18:18:53 -08:00
Yu-Ju Hong
760309f349
kubelet: add RawPodStatus and related functions
...
RawPodStatus will be the internal status of the pod that kubelet relies on for
syncing.
2015-11-17 17:04:05 -08:00
Yu-Ju Hong
3beae6b70b
Add Status in the runtime Container type
...
This is necessary for the generic PLEG to distinguish container events.
2015-11-13 09:55:36 -08:00
jiangyaoguo
b0f0c294d9
make reasons constants with clarity
2015-11-09 23:42:14 +08:00
Dawn Chen
a39e1e96dc
Mark NodeNotReady for docker version below 1.6.2
2015-10-30 13:48:51 -07:00
Sami Wagiaalla
1d352a16b8
Support volume relabling for pods which specify an SELinux label
2015-10-28 09:26:58 -04:00
Vishnu kannan
0df4b46d4c
Adding a kubelet flag to optionally enable parallel image pulls.
2015-10-22 17:19:51 -07:00
Vishnu kannan
94b45830c3
make kubelet image pulls serialized by default.
2015-10-20 14:50:44 -07:00
k8s-merge-robot
59fdccd122
Merge pull request #15868 from yifan-gu/fix_gc
...
Auto commit by PR queue bot
2015-10-20 07:47:16 -07:00
Tim St. Clair
a263c77b65
Refactor liveness probing
...
This commit builds on previous work and creates an independent
worker for every liveness probe. Liveness probes behave largely the same
as readiness probes, so much of the code is shared by introducing a
probeType paramater to distinguish the type when it matters. The
circular dependency between the runtime and the prober is broken by
exposing a shared liveness ResultsManager, owned by the
kubelet. Finally, an Updates channel is introduced to the ResultsManager
so the kubelet can react to unhealthy containers immediately.
2015-10-19 15:15:59 -07:00
Yifan Gu
c4de5b7451
kubelet/rkt: do not remove other systemd service.
2015-10-19 11:23:54 -07:00
Yifan Gu
22467d9d33
kubelet/rkt: Fix a typo in container gc.
2015-10-16 15:07:43 -07:00
k8s-merge-robot
6341e1d3e2
Merge pull request #15658 from yifan-gu/rkt_cli
...
Auto commit by PR queue bot
2015-10-16 14:52:14 -07:00
k8s-merge-robot
0a5299cd63
Merge pull request #15114 from yifan-gu/rkt_log
...
Auto commit by PR queue bot
2015-10-16 14:00:39 -07:00
k8s-merge-robot
dc685dfee6
Merge pull request #15260 from yifan-gu/rkt_gc_systemd_service
...
Auto commit by PR queue bot
2015-10-15 22:16:11 -07:00
Yifan Gu
9d01933e94
kubelet/rkt: garbage collect systemd service files in GarbageCollect().
2015-10-15 18:21:26 -07:00
Yifan Gu
0ef6af25c1
kubelet/rkt: update rkt version.
2015-10-15 18:04:07 -07:00
eulerzgy
ea86e66fbe
Del capatical local packagename for kubeletUtil
2015-10-15 09:58:10 +08:00
Yifan Gu
0a81443056
kubelet/rkt: fetch journal logs in json format.
...
This enables more fine-grained control over the things we want to
output. Also by closing the stdout/stderr of the journalctl process
when user hits `Ctrl-C` after `kubectl logs $POD -f`, this enables
the journalctl process to exit.
2015-10-14 12:02:52 -07:00
Yifan Gu
ba68b095a9
kubelet/rkt: enable getting logs for exited pods.
2015-10-09 12:01:34 -07:00
k8s-merge-robot
96a2a95dee
Merge pull request #15276 from yifan-gu/rkt_probe
...
Auto commit by PR queue bot
2015-10-09 10:28:08 -07:00
k8s-merge-robot
273c9ce503
Merge pull request #15177 from timstclair/restart-policy
...
Auto commit by PR queue bot
2015-10-09 09:41:22 -07:00
feisky
fb04edea3a
Replace rkt --grace-period and --expire-prepared with gcPolicy.MinAge
2015-10-09 06:57:10 +08:00
feisky
d624c7de51
Pass the ContainerGCPolicy in Runtime.GarbageCollect
2015-10-09 06:57:10 +08:00
feisky
4c8a836260
Move original container gc to docker runtime
2015-10-09 06:57:09 +08:00
Yifan Gu
2c318bfee2
kubelet/rkt: return util/exec.ExitError if exec probing fails.
...
This enables the prober to return probe.Failure instead of
probe.Unknown.
2015-10-08 14:14:01 -07:00
Piotr Szczesniak
726f1e17c4
Merge pull request #14173 from runningwild/PR0
...
If an isolator's request is nil, populate it with the limit and vice versa
2015-10-08 13:07:08 +02:00
Piotr Szczesniak
95b293c615
Merge pull request #13516 from samsabed/backoff-image-reason
...
backoff image pulling on failure
2015-10-08 13:05:32 +02:00
Tim St. Clair
551eff63b8
Use strong type for container ID
...
Change all references to the container ID in pkg/kubelet/... to the
strong type defined in pkg/kubelet/container: ContainerID
The motivation for this change is to make the format of the ID
unambiguous, specifically whether or not it includes the runtime
prefix (e.g. "docker://").
2015-10-07 10:58:05 -07:00
Derek Carr
87fe1f4af8
Merge pull request #13939 from pmorie/pod-sc-minimal
...
Add PodSecurityContext and backward compatibility tests
2015-10-07 09:56:58 -04:00
Sam Abed
fdf712cd84
back-off image pull on failure
...
Signed-off-by: Sam Abed <samabed@gmail.com >
2015-10-07 21:12:42 +11:00
Tim St. Clair
f67879eac7
Check pod RestartPolicy before restarting unhealthy containers
2015-10-06 13:17:45 -07:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Yifan Gu
b42d2311c3
kubelet/rkt: add container/image gc for rkt.
2015-10-05 14:22:19 -07:00
Alex Robinson
d8120f5425
Merge pull request #14221 from timstclair/readiness-workers
...
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Tim St. Clair
52ece0c34e
Refactor readiness probing
...
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00