Exam CKA Topic 3 Question 27 Discussion
Actual exam question for Linux Foundation's CKA exam
Question #: 27
Topic #: 3
Question #: 27
Topic #: 3
Create the service as type NodePort with the port 32767 for the nginx pod with the pod selector app: my-nginx
Suggested Answer:
kubectl run nginx --image=nginx --restart=Never -- labels=app=nginx --port=80 --dry-run -o yaml > nginx-pod.yaml
by Belinda at Aug 17, 2024, 11:13 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).