The primary focus of Kubernetes is running containers. This lab will allow you get hands-on with the core functionality of Kubernetes. You will use Kubernetes Pods to run containers in an existing Kubernetes cluster. This will allow you to practice your basic Kubernetes skills.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an Nginx Pod to Function as a Simple Web Server
- Create a Pod running a container with the
nginx
image - Expose port 80 in order to communicate with Nginx once it is running
- Create a Pod running a container with the
- Run a Redis Instance Using a Kubernetes Pod
- Create a Pod running a container with the
redis
image
- Create a Pod running a container with the
- Check Nginx Container Logs
- View the logs from the Nginx container