curl --location --request GET '/api/v1/namespaces//pods//ephemeralcontainers'
"ClusterFirst"
indicates that the pod should use cluster DNS first unless hostNetwork is true, if it is available, then fall back on the default (as determined by kubelet) DNS settings."ClusterFirstWithHostNet"
indicates that the pod should use cluster DNS first, if it is available, then fall back on the default (as determined by kubelet) DNS settings."Default"
indicates that the pod should use the default (as determined by kubelet) DNS settings."None"
indicates that the pod should use empty DNS settings. DNS parameters such as nameservers and search paths should be defined via DNSConfig."Always"
"Never"
"OnFailure"
If specified, the fully qualified Pod hostname will be "...svc.". If not specified, the pod will not have a domainname at all.
docker inspect
. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status"Failed"
means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system)."Pending"
means the pod has been accepted by the system, but one or more of the containers has not been started. This includes time before being bound to a node, as well as time spent pulling images onto the host."Running"
means the pod has been bound to a node and all of the containers have been started. At least one container is still running or is in the process of being restarted."Succeeded"
means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers."Unknown"
means that for some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. Deprecated: It isn't being set since 2015 (74da3b14b0c0f658b3bb8d2def5094686d0e9095)"BestEffort"
is the BestEffort qos class."Burstable"
is the Burstable qos class."Guaranteed"
is the Guaranteed qos class.