100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CKAD Exam Questions & Answers - Readiness Probes, Pods & Namespaces Questions and Answers Fully Solved $12.49   Add to cart

Exam (elaborations)

CKAD Exam Questions & Answers - Readiness Probes, Pods & Namespaces Questions and Answers Fully Solved

 9 views  0 purchase
  • Course
  • CKAD
  • Institution
  • CKAD

CKAD Exam Questions & Answers - Readiness Probes, Pods & Namespaces

Preview 1 out of 2  pages

  • August 7, 2024
  • 2
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CKAD
  • CKAD
avatar-seller
Dreamer252
CKAD Exam Questions & Answers -
Readiness Probes, Pods & Namespaces

Create a single Pod named pod6 in Namespace default of image busybox:1.31.0.

The Pod should run the command touch /tmp/ready && sleep 1d, which will create the
necessary file to be ready and then idles. Create the Pod and confirm it starts. -
answerk run pod6 --image=busybox:1.31.0 $do --command -- sh -c "touch /tmp/ready
&& sleep 1d" > 6.yaml
vim 6.yaml

Create a single Pod named pod6 in Namespace default of image busybox:1.31.0. The
Pod should have a readiness-probe executing cat /tmp/ready. It should initially wait 5
and periodically wait 10 seconds. This will set the container ready only if the file
/tmp/ready exists. - answerSearch for a readiness-probe example on
https://kubernetes.io/docs, then copy and alter the relevant section for the task:
...
spec:
containers:
- image: busybox
name: pod6
resources: {}
readinessProbe: # add
exec: # add
command: # add
- cat
- /tmp/ready # add
initialDelaySeconds: 5 # add
periodSeconds: 10 # add
dnsPolicy: ClusterFirst
restartPolicy: Always

The board of Team Neptune decided to take over control of one e-commerce webserver
from Team Saturn. The administrator who once setup this webserver is not part of the
organisation any longer. All information you could get was that the e-commerce system
is called my-happy-shop.
Search for the correct Pod in Namespace saturn and move it to Namespace neptune. It
doesn't matter if you shut it down and spin it up again, it probably hasn't any customers
anyways.

Find the relevant pod - answer➜ k -n saturn get pod

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Dreamer252. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart