k3s/pkg/kubelet/kuberuntime
Yu-Ju Hong 152d8b9d96 Re-run init containers if the pod sandbox needs to be recreated
Whenever pod sandbox needs to be recreated, all containers associated
with it will be killed by kubelet. This change ensures that the init
containers will be rerun in such cases.

The change also refactors the compute logic so that the control flow of
init containers act is more aligned with the regular containers. Unit
tests are added to verify the logic.
2017-08-16 15:27:18 -07:00
..
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
doc.go
fake_kuberuntime_manager.go run hack/update-all 2017-06-22 11:31:03 -07:00
helpers.go Rename runtime/default to docker default 2017-08-13 15:42:15 +08:00
helpers_test.go follow our go code style: error->err 2017-07-07 09:34:38 +08:00
instrumented_services.go add UpdateContainerResources function to CRI 2017-07-31 20:47:56 -05:00
instrumented_services_test.go Improving test coverage for kubelet/kuberuntime. 2017-06-01 09:43:15 +02:00
kuberuntime_container.go Re-run init containers if the pod sandbox needs to be recreated 2017-08-16 15:27:18 -07:00
kuberuntime_container_test.go Do not try run preStop hook when the gracePeriod is 0 2017-08-03 07:57:21 +05:30
kuberuntime_gc.go Update CRI references 2017-06-09 10:16:40 +08:00
kuberuntime_gc_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
kuberuntime_image.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_image_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_logs.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
kuberuntime_logs_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
kuberuntime_manager.go Re-run init containers if the pod sandbox needs to be recreated 2017-08-16 15:27:18 -07:00
kuberuntime_manager_test.go Re-run init containers if the pod sandbox needs to be recreated 2017-08-16 15:27:18 -07:00
kuberuntime_sandbox.go Support seccomp profile from container's security context 2017-08-13 15:42:15 +08:00
kuberuntime_sandbox_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
labels.go run hack/update-all 2017-06-22 11:31:03 -07:00
labels_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
legacy.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
legacy_test.go Move legacy log symlink to kuberuntime 2017-05-05 11:48:08 -07:00
security_context.go Support seccomp profile from container's security context 2017-08-13 15:42:15 +08:00
security_context_test.go run hack/update-all 2017-06-22 11:31:03 -07:00