kubectl get pods --namespace=default -l app=elasticsearch-master

From wikieduonline
Jump to navigation Jump to search

kubectl get pods --namespace=default -l app=elasticsearch-master
NAME                     READY   STATUS                  RESTARTS   AGE
elasticsearch-master-0   0/1     Init:ImagePullBackOff   0          3m40s
elasticsearch-master-1   0/1     Pending                 0          3m40s
elasticsearch-master-2   0/1     Pending                 0          3m40s


NAME                     READY   STATUS              RESTARTS   AGE
elasticsearch-master-0   0/1     Init:ErrImagePull   0          4m27s
elasticsearch-master-1   0/1     Pending             0          4m27s
elasticsearch-master-2   0/1     Pending             0          4m27s


NAME                     READY   STATUS    RESTARTS   AGE
elasticsearch-master-0   0/1     Pending   0          3m3s
elasticsearch-master-1   0/1     Pending   0          3m3s
elasticsearch-master-2   0/1     Pending   0          3m3s
Minikube (1 node cluster)
kubectl get pods --namespace=default -l app=elasticsearch-master -w
NAME                     READY   STATUS    RESTARTS   AGE
elasticsearch-master-0   0/1     Running   0          6m32s
elasticsearch-master-1   0/1     Pending   0          6m32s
elasticsearch-master-2   0/1     Pending   0          6m32s
Failed to load logs: container "elasticsearch" in pod "elasticsearch-master-0" is waiting to start: PodInitializing
Reason: BadRequest (400)

Solution: If you are using macOS verify that your architecture is supported.

Related[edit]

kubectl get events -A
helm install elasticsearch

See also[edit]

Advertising: