Pod hook (hook) is managed by the Kubernetes kubelet initiated when running before the process starts before the container or containers in the process of termination, which is included in the life cycle of the container. Pod simultaneously for all containers are arranged in a hook
Hook types include two types:
exec: execute some commands
HTTP: HTTP request