Skip to content

Instantly share code, notes, and snippets.

@ibenrodriguez
Last active October 6, 2019 20:19
Show Gist options
  • Save ibenrodriguez/27dce9d77f9be99e6b584ccae9f84121 to your computer and use it in GitHub Desktop.
Save ibenrodriguez/27dce9d77f9be99e6b584ccae9f84121 to your computer and use it in GitHub Desktop.
kubectl_output.log
$ gcloud container clusters get-credentials k8s1a-vl7h --region asia-northeast1-a
Fetching cluster endpoint and auth data.
kubeconfig entry generated for k8s1a-vl7h.
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 Ready <none> 154m v1.14.6-gke.2
gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-sgq0 Ready <none> 154m v1.14.6-gke.2
gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-wn5c Ready <none> 113m v1.14.6-gke.2
gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-xt9l Ready <none> 154m v1.14.6-gke.2
$ kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
adservice ClusterIP 10.35.255.208 <none> 9555/TCP 113m
cartservice ClusterIP 10.35.249.76 <none> 7070/TCP 114m
checkoutservice ClusterIP 10.35.246.196 <none> 5050/TCP 114m
currencyservice ClusterIP 10.35.248.24 <none> 7000/TCP 114m
emailservice ClusterIP 10.35.248.192 <none> 5000/TCP 114m
frontend ClusterIP 10.35.247.62 <none> 80/TCP 114m
frontend-external LoadBalancer 10.35.247.21 34.84.127.56 80:30305/TCP 114m
frontend-external-private NodePort 10.35.250.186 <none> 80:31873/TCP 114m
kubernetes ClusterIP 10.35.240.1 <none> 443/TCP 155m
paymentservice ClusterIP 10.35.244.113 <none> 50051/TCP 114m
productcatalogservice ClusterIP 10.35.242.134 <none> 3550/TCP 114m
recommendationservice ClusterIP 10.35.248.82 <none> 8080/TCP 114m
redis-cart ClusterIP 10.35.240.50 <none> 6379/TCP 113m
shippingservice ClusterIP 10.35.254.137 <none> 50051/TCP 113m
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
adservice-f79574c97-982ks 1/1 Running 0 114m
cartservice-666876c7bd-mgz8m 1/1 Running 1 114m
checkoutservice-695dc9499c-q5gkj 1/1 Running 0 114m
currencyservice-d686d68f-rm8kf 1/1 Running 0 114m
emailservice-854cc7dbf9-vj4fb 1/1 Running 0 114m
frontend-b64f4c9bb-dkwf8 1/1 Running 0 114m
linuxbox 1/1 Running 0 112m
loadgenerator-6c6f6798b9-cnwvg 1/1 Running 0 114m
paymentservice-59995db56c-pcv4v 1/1 Running 0 114m
productcatalogservice-7c7dfbc88f-h6rjc 1/1 Running 0 114m
recommendationservice-7d997bbbdf-ffrvx 1/1 Running 0 114m
redis-cart-6448dcbdcc-9t58r 1/1 Running 0 114m
shippingservice-58fbc595c-q62t9 1/1 Running 0 114m
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
adservice-f79574c97-982ks 1/1 Running 0 166m 10.32.4.2 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-wn5c <none> <none>
cartservice-666876c7bd-mgz8m 1/1 Running 1 167m 10.32.3.8 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 <none> <none>
checkoutservice-695dc9499c-q5gkj 1/1 Running 0 167m 10.32.1.4 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-xt9l <none> <none>
currencyservice-d686d68f-rm8kf 1/1 Running 0 167m 10.32.3.10 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 <none> <none>
emailservice-854cc7dbf9-vj4fb 1/1 Running 0 167m 10.32.3.7 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 <none> <none>
frontend-b64f4c9bb-dkwf8 1/1 Running 0 167m 10.32.1.6 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-xt9l <none> <none>
linuxbox 1/1 Running 0 165m 10.32.4.3 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-wn5c <none> <none>
linuxbox2-859c974786-8tmks 1/1 Running 1 20m 10.32.4.4 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-wn5c <none> <none>
loadgenerator-6c6f6798b9-24vn9 1/1 Running 0 4m30s 10.32.4.5 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-wn5c <none> <none>
loadgenerator-6c6f6798b9-cnwvg 1/1 Running 0 167m 10.32.0.11 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-sgq0 <none> <none>
paymentservice-59995db56c-pcv4v 1/1 Running 0 167m 10.32.3.9 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 <none> <none>
productcatalogservice-7c7dfbc88f-h6rjc 1/1 Running 0 167m 10.32.0.10 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-sgq0 <none> <none>
recommendationservice-7d997bbbdf-ffrvx 1/1 Running 0 167m 10.32.1.5 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-xt9l <none> <none>
redis-cart-6448dcbdcc-9t58r 1/1 Running 0 167m 10.32.3.11 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-2qv6 <none> <none>
shippingservice-58fbc595c-q62t9 1/1 Running 0 167m 10.32.1.7 gke-k8s1a-vl7h-k8s1a-node-pool-vl7h-817a4e41-xt9l <none> <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment