kubernetes/pkg/kubelet
k8s-merge-robot 4c7abddc1c Merge pull request #24567 from yifan-gu/post_start_hook
Automatic merge from submit-queue

rkt: Add post-start hook support.

This adds a poll-and-timeout procedure after the pod is
started, to make sure the post-start hooks execute when the
container is actually running.

This is a temporal workaround for implementing post-hooks,
a long term solution is to use lifecycle event to trigger
those hooks, see https://github.com/kubernetes/kubernetes/issues/23084.

Also this fixes a bug of getting container ID for a non-running
container when running pre-stop hook.


cc @sjpotter @euank @kubernetes/sig-node
2016-04-27 11:14:35 -07:00
..
api/v1alpha1/stats Track image storage usage for docker containers 2016-04-25 16:00:34 -07:00
cadvisor Update cadvisor linux module to work with the cadvisor v0.22.2 2016-03-15 16:02:05 -07:00
client Move restclient to its own package 2016-02-29 12:05:13 -08:00
cm Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
config kubelet: send all recevied pods in one update 2016-03-17 14:24:35 -07:00
container Track image storage usage for docker containers 2016-04-25 16:00:34 -07:00
custommetrics Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
dockertools Merge pull request #23632 from stefwalter/parse-repository-tag-removed 2016-04-26 09:49:25 -07:00
envvars rewrite go imports 2015-08-05 17:30:03 -07:00
leaky Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
lifecycle rkt: Add pre-stop lifecycle hooks for rkt. 2016-04-12 13:10:51 -07:00
metrics Spread pod volume metrics calc across calc period. Metrics are calculated independently. 2016-02-22 09:54:47 -08:00
network Merge pull request #23740 from dcbw/kubenet-shaper 2016-04-25 22:15:42 -07:00
pleg Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
pod Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
prober Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
qos hardcode supportedComputeResources 2015-11-19 13:20:02 +08:00
rkt Merge pull request #24567 from yifan-gu/post_start_hook 2016-04-27 11:14:35 -07:00
server Track image storage usage for docker containers 2016-04-25 16:00:34 -07:00
status use fully qualified resource in fake clients actions 2016-04-20 19:44:40 -07:00
types Make kubelet use an arch-specific pause image depending on GOARCH 2016-03-25 23:45:59 +02:00
util Enable vet 2016-04-20 09:48:24 -07:00
container_bridge.go Improve go report card by fixing typos in comments 2016-03-04 18:30:59 -08:00
disk_manager.go Treat first-seen, non-pending pods as updates 2016-01-08 17:21:43 -08:00
disk_manager_test.go Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
flannel_helper.go Turn flannel off by default 2015-11-25 09:43:48 +01:00
image_manager.go move minGCAge to ImageGCPolicy and make it configurable 2016-02-15 22:54:54 +08:00
image_manager_test.go Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
kubelet.go Merge pull request #24545 from swagiaal/rename-cleaner-tuple 2016-04-27 09:51:26 -07:00
kubelet_test.go Merge pull request #23740 from dcbw/kubenet-shaper 2016-04-25 22:15:42 -07:00
networks.go rename release_1_2 to internalclientset 2016-02-05 14:02:28 -08:00
oom_watcher.go Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
oom_watcher_test.go Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
pod_workers.go Jittering periods of some kubelet's sync loops: 2016-02-09 15:22:22 +01:00
pod_workers_test.go Move test-only files to test-only packages 2016-03-01 09:11:32 -08:00
reason_cache.go Add reason cache 2016-01-30 00:25:50 -08:00
reason_cache_test.go Add unit test for reason cache 2016-01-30 00:25:50 -08:00
root_context_linux.go Bump cadvisor to fix interface stats bugs & improve performance 2015-12-21 17:07:21 +00:00
root_context_unsupported.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
runonce.go Remove GetAPIPodStatus usage 2016-02-02 23:41:55 +00:00
runonce_test.go move predicates into library (address #12744) 2016-04-11 00:57:03 +08:00
runtime.go Add Status in runtime interface and use it for runtime health check. 2016-03-04 21:26:41 -08:00
util.go Move container manager into a separate package. 2015-11-11 15:00:37 -08:00
volume_manager.go rewrite go imports 2015-08-05 17:30:03 -07:00
volumes.go Rename cleanerTuple to cleaner 2016-04-20 14:38:40 -04:00