Kubernetes and Cloud Native Associate (KCNA) — Question 87
How do you deploy a workload to Kubernetes without additional tools?
Answer options
- A. Create a Bash script and run it on a worker node.
- B. Create a Helm Chart and install it with helm.
- C. Create a manifest and apply it with kubectl.
- D. Create a Python script and run it with kubectl.
Correct answer: C
Explanation
The correct answer is C because applying a manifest with kubectl is the standard method for deploying workloads directly in Kubernetes. Options A and D involve scripting, which requires additional setup and is not the native approach. Option B requires Helm, which is an additional tool outside of the basic Kubernetes functionalities.