Difference between revisions of "Init:0/1"
Jump to navigation
Jump to search
(Created page with " kubectl get pods -n kube-system | grep aws-node aws-node-7wqrv 2/2 Running 0 72d aws-node-rfld6...") |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
[[kubectl get pods -n kube-system]] | grep [[aws-node]] | [[kubectl get pods -n kube-system]] | grep [[aws-node]] | ||
aws-node-7wqrv 2/2 Running 0 72d | aws-node-7wqrv 2/2 Running 0 72d | ||
aws-node-rfld6 2/2 Running 0 26h | aws-node-rfld6 2/2 Running 0 26h | ||
− | aws-node-w75dq 0/2 [[Init:0/1 | + | aws-node-w75dq 0/2 [[Init:]]0/1 0 26h |
+ | |||
+ | [[kubectl get pods]] | ||
+ | NAME READY STATUS RESTARTS AGE | ||
+ | elasticsearch-master-0 0/1 [[Init:0/1]] 0 8m42s | ||
+ | elasticsearch-master-1 0/1 Init:0/1 0 8m42s | ||
+ | elasticsearch-master-2 0/1 [[Pending]] 0 8m42s | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl logs]]</code> | ||
+ | * <code>[[kubectl events]]</code> | ||
+ | * <code>Error from server ([[BadRequest]]): container "[[aws-node]]" in pod "aws-node-12345" is waiting to start: [[CreateContainerError]]</code> | ||
+ | * <code>[[DaemonSet]]</code> | ||
== See also == | == See also == | ||
+ | * {{kubectl init containers}} | ||
+ | * {{k get pods}} | ||
* {{aws-node}} | * {{aws-node}} | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 09:08, 29 February 2024
kubectl get pods -n kube-system | grep aws-node aws-node-7wqrv 2/2 Running 0 72d aws-node-rfld6 2/2 Running 0 26h aws-node-w75dq 0/2 Init:0/1 0 26h
kubectl get pods NAME READY STATUS RESTARTS AGE elasticsearch-master-0 0/1 Init:0/1 0 8m42s elasticsearch-master-1 0/1 Init:0/1 0 8m42s elasticsearch-master-2 0/1 Pending 0 8m42s
Related[edit]
kubectl logs
kubectl events
Error from server (BadRequest): container "aws-node" in pod "aws-node-12345" is waiting to start: CreateContainerError
DaemonSet
See also[edit]
- Kubernetes init containers:
kubectl get pods, Init: (Init:ErrImagePull, Init:CrashLoopBackOff, Init:ImagePullBackOff), initContainers:
kubectl get pods, -l, -n
,Running, Pending, Init
, ContainerCreating, ImagePullBackOff,Init:ImagePullBackOff, Terminating, ErrImagePull, Completed, InvalidImageName,kube-system
,ls_containers.sh
aws-node, ipamd, kubectl logs -n kube-system aws-node
,aws-vpc-cni-init, aws-node, aws-eks-nodeagent
Advertising: