Containers Flashcards
What are the types of imagePullPolicy and which is the default?
IfNotPresent, Always, Never the default is IfNotPresent and is configured on resource files.
What are container lifecycle hooks what are their types?
Container lifecycle hooks are trigger points that can execute custom logic which is executed by handlers. The two types are PostStart and PreStop.
What are hook handlers and what are their types and what executes them?
Hook handlers implement logic to be run by container lifecycle hooks and are of type exec which runs a shell command or script and is executed on the container directly and http which executes a request on a specific endpoint on the Container and is executed by the kubelet