Difference between revisions of "Is waiting to start: PodInitializing"
Jump to navigation
Jump to search
(Created page with " Error from server (BadRequest): container "elasticsearch" in pod "elasticsearch-master-0" is waiting to start: PodInitializing {{Pods}}") |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | [[kubectl get pods]] --namespace=default -l [[app.kubernetes.io]]/component=opensearch-cluster-master -w | ||
− | {{Pods}} | + | |
+ | [[kubectl logs --previous]] elasticsearch-master-5 -n prod | ||
+ | Error from server (BadRequest): container "elasticsearch" in pod "elasticsearch-master-5" [[is waiting to start]]: PodInitializing | ||
+ | |||
+ | [[kubectl logs --previous]] elasticsearch-master-5 -n prod | ||
+ | Error from server (BadRequest): [[previous terminated container]] "elasticsearch" in pod "elasticsearch-master-5" [[not found]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl exec]]</code> | ||
+ | * <code>[[kubectl logs]]</code> | ||
+ | * <code>[[kubectl get pods]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{Pods}} | ||
+ | * {{K8s troubleshooting}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 12:46, 22 February 2024
kubectl get pods --namespace=default -l app.kubernetes.io/component=opensearch-cluster-master -w
kubectl logs --previous elasticsearch-master-5 -n prod Error from server (BadRequest): container "elasticsearch" in pod "elasticsearch-master-5" is waiting to start: PodInitializing
kubectl logs --previous elasticsearch-master-5 -n prod Error from server (BadRequest): previous terminated container "elasticsearch" in pod "elasticsearch-master-5" not found
Related[edit]
See also[edit]
- Pods:
kubectl apply
,kubectl [ pod get | top | delete | describe pods ]
,InitContainers, PodInitializing, CrashLoopBackOff, ImagePullPolicy:, NodeAffinity, NodeSelector, Terminated
- K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: