kubernetes/cmd
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
..
clicheck hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
cloud-controller-manager command lines: always show flags with hyphens 2021-09-30 13:46:49 +02:00
dependencycheck OWNERS: Dan Mangum is now Emeritus 2021-08-25 16:20:15 -04:00
dependencyverifier use reference as we cannot distinguishing direct/indirect with go mod graph 2021-09-20 22:14:34 +08:00
gendocs gendocs: using bytes.NewReader(nil)/ioutil.Discard instead of os input/output to generate command 2021-06-08 11:55:32 +08:00
genkubedocs gendocs: using bytes.NewReader(nil)/ioutil.Discard instead of os input/output to generate command 2021-06-08 11:55:32 +08:00
genman gendocs: using bytes.NewReader(nil)/ioutil.Discard instead of os input/output to generate command 2021-06-08 11:55:32 +08:00
genswaggertypedocs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genutils hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
genyaml hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
importverifier Make importverifier package-compatible 2021-09-21 12:46:29 -04:00
kube-apiserver rename to muxAndDiscoveryComplete 2021-10-19 13:26:59 +02:00
kube-controller-manager Merge pull request #105609 from pohly/generic-ephemeral-volume-ga 2021-10-28 17:36:50 -07:00
kube-proxy Migrated server.go, ipvs/proxier.go(partial) to structured logging (#105769) 2021-10-20 02:54:11 -07:00
kube-scheduler Revert "sched: ensure --leader-elect* CLI args are honored" 2021-10-26 15:18:13 -07:00
kubeadm De-share the Handler struct in core API (#105979) 2021-10-29 13:15:11 -07:00
kubectl command lines: always show flags with hyphens 2021-09-30 13:46:49 +02:00
kubectl-convert command lines: always show flags with hyphens 2021-09-30 13:46:49 +02:00
kubelet Updated kubelet server references about 4h hardcoded timeout (#104735) 2021-10-20 09:23:57 -07:00
kubemark fix kubemark flushlogs not working together with os.Exit() 2021-10-08 18:54:31 +08:00
linkcheck hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
preferredimports Fixup golang.org/x/term staticcheck warnings 2021-03-02 01:08:21 -05:00
OWNERS Sign up dims for additional review roles 2020-08-08 19:08:38 -04:00