ExamGecko
Question list
Search
Search

Question 28 - 5V0-23.20 discussion

Report
Export

Which command provides valid syntax to deploy a vSphere Pod?

A.
tkg apply -c containerName
Answers
A.
tkg apply -c containerName
B.
docker run containerName
Answers
B.
docker run containerName
C.
kubectl apply -f deployment.yaml
Answers
C.
kubectl apply -f deployment.yaml
D.
kubectl apply -t deployment.yaml
Answers
D.
kubectl apply -t deployment.yaml
Suggested answer: C

Explanation:

You can deploy an application on a namespace on a Supervisor Cluster. Once the application is deployed, the respective number of vSphere Pods are created on the Supervisor Cluster within the namespace.

Common kubectl commands include the apply, get, describe, and delete commands:

• The kubectl apply command applies the contents of a YAML file. Typically, this command is used to create a pod or deployment: — kubectl apply -f /path/to/my.yaml

• The kubectl get command returns basic information about an object: — kubectl get pod

<pod_name_name>

asked 16/09/2024
manuele groppi
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first