kubernetes/pkg/kubelet/kuberuntime
Tim Hockin 11a25bfeb6
De-share the Handler struct in core API (#105979)
* De-share the Handler struct in core API

An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.

This never should have been shared.  Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.

In the future I can also see adding lifecycle hooks that don't make
sense as probes.  E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.

* Run update scripts
2021-10-29 13:15:11 -07:00
..
logs Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
convert_test.go kubelet - adding pod annotations to various image calls to get runtime-handler info to CRI 2020-04-17 23:57:09 +00:00
convert.go Make toKubeContainerImageSpec deterministic 2020-07-31 14:41:11 -04:00
doc.go
fake_kuberuntime_manager.go kubelet: fix sandbox creation error suppression when pods are quickly deleted 2021-08-10 08:55:25 -05:00
helpers_linux_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
helpers_linux.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
helpers_test.go Remove deprecated --seccomp-profile-root/seccompProfileRoot configuration 2021-08-31 09:55:28 +02:00
helpers_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
helpers.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00
instrumented_services_test.go test(kuberuntime): deflake TestRecordOperation 2020-09-05 13:36:26 +08:00
instrumented_services.go kubelet: update remote runtimes for cri stat changes 2021-07-08 13:17:04 -04:00
kuberuntime_container_linux_test.go kuberuntime: refactor linux resources for better reuse 2021-10-20 11:30:23 -07:00
kuberuntime_container_linux.go kuberuntime: refactor linux resources for better reuse 2021-10-20 11:30:23 -07:00
kuberuntime_container_test.go De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
kuberuntime_container_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kuberuntime_container_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kuberuntime_container.go Move feature flag to beta (but leave as false) and remove the feature flag from Kubelet 2021-07-13 14:25:44 -05:00
kuberuntime_gc_test.go Keep pod worker running until pod is truly complete 2021-07-06 15:55:22 -04:00
kuberuntime_gc.go Keep pod worker running until pod is truly complete 2021-07-06 15:55:22 -04:00
kuberuntime_image_test.go Merge pull request #90061 from marosset/runtimehandler-image-spec-annotations 2020-05-18 16:29:36 -07:00
kuberuntime_image.go Migrate pkg/kubelet/kuberuntime to structured logging 2021-03-17 01:53:44 +01:00
kuberuntime_logs.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
kuberuntime_manager_test.go Merge pull request #102344 from smarterclayton/keep_pod_worker 2021-07-08 16:48:53 -07:00
kuberuntime_manager.go remove StartedPodsErrorsTotal metrice message 2021-09-23 22:18:56 +08:00
kuberuntime_sandbox_linux_test.go kuberuntime: populate sandbox resources, overhead 2021-10-20 11:30:23 -07:00
kuberuntime_sandbox_linux.go kuberuntime: populate sandbox resources, overhead 2021-10-20 11:30:23 -07:00
kuberuntime_sandbox_test.go Kubelet updates for Windows HostProcess Containers 2021-05-19 16:24:14 -07:00
kuberuntime_sandbox_unsupported.go kuberuntime: populate sandbox resources, overhead 2021-10-20 11:30:23 -07:00
kuberuntime_sandbox_windows.go kuberuntime: populate sandbox resources, overhead 2021-10-20 11:30:23 -07:00
kuberuntime_sandbox.go kuberuntime: populate sandbox resources, overhead 2021-10-20 11:30:23 -07:00
labels_test.go De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
labels.go De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
legacy_test.go fix golint failures - /pkg/kubelet/images 2018-09-17 10:52:25 +08:00
legacy.go Remove unhealthy symlink only for dead containers 2020-04-21 12:30:51 -07:00
security_context_others_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
security_context_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
security_context_windows_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
security_context_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
security_context.go Add SeccompDefault feature 2021-06-23 10:22:57 +02:00