From the course: Learning Kubernetes
Unlock the full course today
Join today to access over 24,100 courses taught by industry experts.
Check that your application is working with BusyBox - Kubernetes Tutorial
From the course: Learning Kubernetes
Check that your application is working with BusyBox
- [Instructor] Once you deploy something in your Kubernetes cluster, you want to verify that the application is working as expected. But how can you check? One way is to use a tool called BusyBox. BusyBox is known as the Swiss Army Knife of embedded Linux, and it's a binary that contains many well-known Unix tools like Awk, Date, Who am I and Wget? It's a good tool for debugging and troubleshooting issues in a Linux environment and Kubernetes runs on Linux. Let's create a pod running BusyBox. First, find and open the BusyBox dot YAML file. Like we did with our application, we're going to use a deployment to create the BusyBox pod. Unlike our other deployment, we're going to deploy this in our default namespace and run only one replica. Let's create the BusyBox pod with kubectl apply -f busybox.yaml. Let's check and see that the BusyBox Pod is up and running with the command kubectl get pods, looks good. Notice in that…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Reading and writing YAML5m 1s
-
(Locked)
Create a namespace2m 34s
-
(Locked)
Deploy an application4m 11s
-
(Locked)
Check the health of a pod by looking at the event logs1m 41s
-
(Locked)
Check that your application is working with BusyBox5m 48s
-
(Locked)
View your application logs1m 16s
-
(Locked)
Challenge1m 5s
-
(Locked)
Solution5m 44s
-
-
-
-
-