ExamGecko
Question list
Search
Search

List of questions

Search

Question 31 - CKA discussion

Report
Export

Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed

A.
See the solution below.
Answers
A.
See the solution below.
Suggested answer: A

Explanation:

kubectl run busybox --image=busybox -it --rm --restart=Never --

/bin/sh -c 'echo hello world'

kubectl get po # You shouldn't see pod with the name "busybox"

asked 18/09/2024
Sushil Karki
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first