Skip to content

Instantly share code, notes, and snippets.

@alena1108
Created March 30, 2017 18:20
Show Gist options
  • Select an option

  • Save alena1108/d6e3279f75a1a672b7e6099645e7f8d8 to your computer and use it in GitHub Desktop.

Select an option

Save alena1108/d6e3279f75a1a672b7e6099645e7f8d8 to your computer and use it in GitHub Desktop.
pod describe
> kubectl describe pod nginx-rmwc3
Name: nginx-rmwc3
Namespace: default
Node: hussein-143-10acre-2.c.rancher-qa.internal/
Labels: name=nginx
Status: Pending
IP:
Controllers: ReplicationController/nginx
Containers:
nginx:
Image: husseingalal/nginx-curl
Port: 80/TCP
Volume Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-gb0ps (ro)
Environment Variables: <none>
Conditions:
Type Status
PodScheduled True
Volumes:
default-token-gb0ps:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-gb0ps
QoS Class: BestEffort
Tolerations: <none>
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
49m 49m 1 {default-scheduler } Normal Scheduled Successf
ully assigned nginx-rmwc3 to hussein-143-10acre-2.c.rancher-qa.internal
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment