Skip to content

Instantly share code, notes, and snippets.

@chrislovecnm
Created May 14, 2016 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislovecnm/22ace1559dcb0ba7af64f74123b1fff8 to your computer and use it in GitHub Desktop.
Save chrislovecnm/22ace1559dcb0ba7af64f74123b1fff8 to your computer and use it in GitHub Desktop.
kubectl get po
bash-3.2$ kubectl get po
NAME          READY     STATUS             RESTARTS   AGE
cassandra-0   0/1       ImagePullBackOff   0          24m
bash-3.2$ kubectl describe po cassandra-0
Name:		cassandra-0
Namespace:	default
Node:		192.168.64.2/192.168.64.2
Start Time:	Sat, 14 May 2016 09:48:29 -0600
Labels:		app=cassandra
Status:		Pending
IP:		10.244.81.6
Controllers:	PetSet/cassandra
Containers:
  cassandra:
    Container ID:
    Image:		gcr.io/google-samples/cassandra:v9
    Image ID:
    Ports:		7000/TCP, 7001/TCP, 7199/TCP, 9042/TCP
    Command:
      /run.sh
    QoS Tier:
      cpu:		BestEffort
      memory:		BestEffort
    State:		Waiting
      Reason:		ErrImagePull
    Ready:		False
    Restart Count:	0
    Environment Variables:
      MAX_HEAP_SIZE:	512M
      HEAP_NEWSIZE:	100M
      POD_NAMESPACE:	default (v1:metadata.namespace)
      POD_IP:		 (v1:status.podIP)
Conditions:
  Type		Status
  Ready 	False
  PodScheduled 	True
Volumes:
  data:
    Type:	EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
  default-token-tmcr8:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	default-token-tmcr8
Events:
  FirstSeen	LastSeen	Count	From			SubobjectPath			Type		Reason		Message
  ---------	--------	-----	----			-------------			--------	------		-------
  24m		24m		1	{default-scheduler }					Normal		Scheduled	Successfully assigned cassandra-0 to 192.168.64.2
  24m		3m		9	{kubelet 192.168.64.2}	spec.containers{cassandra}	Normal		Pulling		pulling image "gcr.io/google-samples/cassandra:v9"
  24m		3m		9	{kubelet 192.168.64.2}	spec.containers{cassandra}	Warning		Failed		Failed to pull image "gcr.io/google-samples/cassandra:v9": image pull failed for gcr.io/google-samples/cassandra:v9, this may be because there are no credentials on this request.  details: (Tag v9 not found in repository gcr.io/google-samples/cassandra)
  24m		3m		9	{kubelet 192.168.64.2}					Warning		FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "cassandra" with ErrImagePull: "image pull failed for gcr.io/google-samples/cassandra:v9, this may be because there are no credentials on this request.  details: (Tag v9 not found in repository gcr.io/google-samples/cassandra)"

  24m	2m	93	{kubelet 192.168.64.2}	spec.containers{cassandra}	Normal	BackOff		Back-off pulling image "gcr.io/google-samples/cassandra:v9"
  24m	2m	93	{kubelet 192.168.64.2}					Warning	FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "cassandra" with ImagePullBackOff: "Back-off pulling image \"gcr.io/google-samples/cassandra:v9\""

  2m	27s	4	{kubelet 192.168.64.2}	spec.containers{cassandra}	Normal	Pulling		pulling image "gcr.io/google-samples/cassandra:v9"
  2m	26s	4	{kubelet 192.168.64.2}	spec.containers{cassandra}	Warning	Failed		Failed to pull image "gcr.io/google-samples/cassandra:v9": image pull failed for gcr.io/google-samples/cassandra:v9, this may be because there are no credentials on this request.  details: (Tag v9 not found in repository gcr.io/google-samples/cassandra)
  2m	26s	4	{kubelet 192.168.64.2}					Warning	FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "cassandra" with ErrImagePull: "image pull failed for gcr.io/google-samples/cassandra:v9, this may be because there are no credentials on this request.  details: (Tag v9 not found in repository gcr.io/google-samples/cassandra)"

  1m	11s	6	{kubelet 192.168.64.2}	spec.containers{cassandra}	Normal	BackOff		Back-off pulling image "gcr.io/google-samples/cassandra:v9"
  1m	11s	6	{kubelet 192.168.64.2}					Warning	FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "cassandra" with ImagePullBackOff: "Back-off pulling image \"gcr.io/google-samples/cassandra:v9\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment