Creating a Pod and Inspecting it
- Create the namespace
ckad-prep
. - In the namespace
ckad-prep
create a new Pod namedmypod
with the imagenginx:2.3.5
. Expose the port80
. - Identify the issue with creating the container. Write down the root cause of issue in a file named
pod-error.txt
. - Change the image of the Pod to
nginx:1.15.12
. - List the Pod and ensure that the container is running.
- Log into the container and run the
ls
command. Write down the output. Log out of the container. - Retrieve the IP address of the Pod
mypod
. - Run a temporary Pod using the image
busybox
, shell into it and run awget
command against the nginx Pod using port 80.<