Last active
December 10, 2018 09:26
-
-
Save bertzzie/97a7a32cfe0e5778e902c810c1526862 to your computer and use it in GitHub Desktop.
describe kubectl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl describe pods/flash-poll-6487c94d7d-26m5n | |
Name: flash-poll-6487c94d7d-26m5n | |
Namespace: default | |
Node: docker-for-desktop/192.168.65.3 | |
Start Time: Mon, 10 Dec 2018 15:58:22 +0700 | |
Labels: app=flash-poll | |
pod-template-hash=2043750838 | |
Annotations: <none> | |
Status: Running | |
IP: 10.1.0.40 | |
Controlled By: ReplicaSet/flash-poll-6487c94d7d | |
Containers: | |
flash-poll: | |
Container ID: docker://f6f6e2f485c0414ed1fa6bb86a0556c1759a7639e02c5a5df846d335659fb1b7 | |
Image: localhost:5000/flash-poll:1.0.1-SNAPSHOT | |
Image ID: docker-pullable://localhost:5000/flash-poll@sha256:9884e66a2104f64a9811e1a31b20d816d822f4b07203986c26c31dfa10e132f3 | |
Port: 8080/TCP | |
Host Port: 0/TCP | |
State: Running | |
Started: Mon, 10 Dec 2018 15:58:24 +0700 | |
Ready: True | |
Restart Count: 0 | |
Environment: <none> | |
Mounts: | |
/var/run/secrets/kubernetes.io/serviceaccount from default-token-hjvcj (ro) | |
Conditions: | |
Type Status | |
Initialized True | |
Ready True | |
PodScheduled True | |
Volumes: | |
default-token-hjvcj: | |
Type: Secret (a volume populated by a Secret) | |
SecretName: default-token-hjvcj | |
Optional: false | |
QoS Class: BestEffort | |
Node-Selectors: <none> | |
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s | |
node.kubernetes.io/unreachable:NoExecute for 300s | |
Events: | |
Type Reason Age From Message | |
---- ------ ---- ---- ------- | |
Normal Scheduled 25m default-scheduler Successfully assigned flash-poll-6487c94d7d-26m5n to docker-for-desktop | |
Normal SuccessfulMountVolume 25m kubelet, docker-for-desktop MountVolume.SetUp succeeded for volume "default-token-hjvcj" | |
Normal Pulled 25m kubelet, docker-for-desktop Container image "localhost:5000/flash-poll:1.0.1-SNAPSHOT" already present on machine | |
Normal Created 25m kubelet, docker-for-desktop Created container | |
Normal Started 25m kubelet, docker-for-desktop Started container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl describe services/flash-poll | |
Name: flash-poll | |
Namespace: default | |
Labels: <none> | |
Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"flash-poll","namespace":"default"},"spec":{"ports":[{"name":"http","port":8080... | |
Selector: app=flash-poll | |
Type: LoadBalancer | |
IP: 10.100.27.12 | |
LoadBalancer Ingress: localhost | |
Port: http 8080/TCP | |
TargetPort: 8080/TCP | |
NodePort: http 31679/TCP | |
Endpoints: 10.1.0.40:8080 | |
Session Affinity: None | |
External Traffic Policy: Cluster | |
Events: <none> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment