Container
Images/镜像
from Images
- The default pull policy is
IfNotPresent
which causes the Kubelet to skip pulling an image if it already exists. - Docker Manifests: 不同平台下加载不同的镜像。详细说明: docker的manifest特性
Container Environment Variables
from Container Environment Variables
- Container environment
- The Kubernetes Container environment provides several important resources to Containers:
- A filesystem
- Information about the Container itself.
- Information about other objects in the cluster.
- The
hostname
of a Container is the name of the Pod in which the Container is running.
- The Kubernetes Container environment provides several important resources to Containers:
Runtime Class
from Runtime Class
RuntimeClass is a feature for selecting the container runtime configuration. The container runtime configuration is used to run a Pod’s containers.
Container Lifecycle Hooks
from Container Lifecycle Hooks
Analogous to many programming language frameworks that have component lifecycle hooks, such as Angular, Kubernetes provides Containers with lifecycle hooks. The hooks enable Containers to be aware of events in their management lifecycle and run code implemented in a handler when the corresponding lifecycle hook is executed.