CKAD Exercise 1 Create Inspect Pod

CKAD Exercise 1 Create Inspect Pod

cybersecnerd

54 года назад

255 Просмотров

Minikube Setup : https://youtu.be/ZTO1doC8SOc

Creating a pod and Inspecting it :

• Create the namespace ckad-prep.
• In the namespace ckad-prep, create a new Pod named mypod with the image nginx:2.3.5.
• Expose the port 80. 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 in the namespace ckad-prep using the image busybox, shell into it and run a wget command against the nginx Pod using port 80. Render the logs of Pod mypod.
• Delete the Pod and the namespace.

Тэги:

##cncf ##k8s ##ckad ##devops ##sre ##devsecops
Ссылки и html тэги не поддерживаются


Комментарии: