Explore your cluster


This procedure is part of a lab that teaches you how to monitor your Kubernetes cluster with Pixie.

Each procedure in the lab builds upon the last, so make sure you've completed the last procedure, Set up your TinyHat environment, before starting this one.

Your website, TinyHat.me, runs in Kubernetes. While Pixie helps you monitor your cluster and find the source of problems that arise within it, it's helpful to know about your cluster's structure and the components that make it up before learning how to use Pixie.

Step 1 of 4

View your pods:

kubectl get pods
add-service-5487c78c86-rsx2n 1/1 Running 0 10m
admin-service-7cdcb754c9-blwpf 1/1 Running 0 10m
fetch-service-68d9876b8b-2tb45 1/1 Running 5 10m
frontend-service-649f75984b-xdgtg 1/1 Running 0 10m
gateway-service-6bcb8bc8d5-hwxcl 1/1 Running 0 10m
manipulation-service-75c4454b5d-687tf 1/1 Running 0 10m
moderate-service-55985878d-td2tl 1/1 Running 0 10m
mysql-576f9d87d9-45cc4 1/1 Running 0 10m
simulator-554c8577-5nn52 1/1 Running 0 10m
upload-service-7f68c55ddc-d5kd5 1/1 Running 0 10m


Every pod should be running by now, but if one isn't, give it few more minutes.

Here, you see nine containerized services and one simulator, each with their own pod. Instead of going into detail about the services now, you'll learn about them in context as you walk through this lab's scenarios. The simulator generates load to your website so you don't have to.

Step 2 of 4

View your services next:

kubectl get services
add-service ClusterIP <none> 80/TCP 13m
admin-service ClusterIP <none> 80/TCP 13m
fetch-service ClusterIP <none> 80/TCP 13m
frontend-service LoadBalancer 80:32327/TCP 13m
gateway-service LoadBalancer 80:30691/TCP 13m
kubernetes ClusterIP <none> 443/TCP 15m
manipulation-service ClusterIP <none> 80/TCP 13m
moderate-service ClusterIP <none> 80/TCP 13m
mysql ClusterIP <none> 3306/TCP 13m
upload-service ClusterIP <none> 80/TCP 13m

Here, you see your Kubernetes services. Notice that most of your app services have a corresponding Kubernetes service. One of these services is particularly important: frontend-service. This is a LoadBalancer that you connect to when you view your site.

Step 3 of 4

Speaking of viewing your site, do that now by opening the EXTERNAL-IP that you see for frontend-service in your browser:



If the frontend service's External-IP is pending, you probably forgot to minikube tunnel -p minikube-pixie-lab in another window.

Step 4 of 4

Select a number of hats to display and a hat type. Then, select Hat Me:

TinyHat.me showing a picture of Bob Ross with cat ears

Now Bob Ross is wearing the hat(s) that you selected. Cool, right?

With a better understanding of your cluster's resources and your website, you're better prepared to install Pixie and use it to monitor and debug your application when problems arise.


This procedure is part of a course that teaches you how to monitor your Kubernetes cluster with Pixie. Now that you've explored your cluster, instrument it with Pixie.