Kubernetes CKAD Exam Question - Create Namespace, Pod and check status using Kubectl and Jsonpath

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024
  • In this video, we will solve a practice CKAD exam question.
    The question has following 2 parts:
    Part 1) Create a single Pod of image httpd:2.4-alpine3.20 in Namespace application (The namespace may not exist) . The Pod should be named webserver1 and the container should be named webserver1-container.
    Part 2) Create a Shell Script webserver1-status.sh, that uses kubectl to output the status of the Pod you created.
    I will show how you can use imperative (CLI) way to create yaml files quickly. Then change the yaml file(s) as needed.
    #kubernetes #ckad #cka #docker #tutorial #tutorials

ความคิดเห็น •