Difficulty: Beginner
Estimated Time: 10 minutes

BoxBoat Logo

Welcome to the BoxBoat "Kubernetes Training" Basics series. This is Module 3, Kubernetes Pods. This lab will show you how to launch a pod from the kubectl command line, create a pod manifest file and then launch a new pod into Kubernetes. We will then test internal cluster access to this system.

If you have not already, please check out Module 2 of the series here:

Kubernetes Basic Training: Module 3 - Kubernetes Pods

Step 1 of 4

Step 1

Welcome to the BoxBoat "Kubernetes Training" Basics series. This is Module 3, Kubernetes Pods. This lab will show you how to launch a pod from the kubectl command line, create a pod manifest file and then launch a new pod into Kubernetes. We will then test internal cluster access to this system.

Lets deploy the Kubernetes UI (Dashboard) and so you can have a UI to explore what we are deploying.

  • To deploy the dashboard, run the following command. kubectl apply -f https://gist.githubusercontent.com/mjboxboat/d1d51560c485cdeb500fa1343a211469/raw/0fc3290dfb1fd66d1d2bbd957982999b37d52b6b/kube-dash.yaml
  • Now we can check to see if the Dashboard pod is running. kubectl get pods -n kube-system
  • And we can also check to see what port the Dashboard is exposed on. kubectl get svc -n kube-system
  • Once the dashboard is up and running, we can visit the external URL on port 30000 by clicking this link: https://[[HOST_SUBDOMAIN]]-30000-[[KATACODA_HOST]].environments.katacoda.com/

In the next step, we will deploy a single pod using the kubectl CLI.

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]