Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 2 Question 91 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 91
Topic #: 2
[All CKA Questions]

SIMULATION

Configure the kubelet systemd- managed service, on the node labelled with name=wk8s-node-1, to launch a pod containing a single container of Image httpd named webtool automatically. Any spec files required should be placed in the /etc/kubernetes/manifests directory on the node.

You can ssh to the appropriate node using:

[student@node-1] $ ssh wk8s-node-1

You can assume elevated privileges on the node with the following command:

[student@wk8s-node-1] $ | sudo --i

Show Suggested Answer Hide Answer
Suggested Answer: A

solution


Contribute your Thoughts:

0/2000 characters
Willard
9 hours ago
Yup, it does! Super convenient for auto-launching pods.
upvoted 0 times
...
Avery
5 days ago
Wait, does the kubelet automatically pick up changes in that directory?
upvoted 0 times
...
Antonio
24 days ago
Totally agree, that's the standard way to set it up!
upvoted 0 times
...
Odelia
29 days ago
Just need to create a manifest file for the pod in /etc/kubernetes/manifests.
upvoted 0 times
...
Blossom
1 month ago
Haha, "elevated privileges" - sounds like a job for the Kubernator!
upvoted 0 times
...
Salome
1 month ago
Wait, did they say we can use sudo? Awesome, this will be easy!
upvoted 0 times
...
Floyd
1 month ago
This should be a piece of cake! Time to get to work.
upvoted 0 times
...
Rosalyn
2 months ago
Placing the spec files in the right directory is key here.
upvoted 0 times
...
Dewitt
2 months ago
Hmm, need to make sure the kubelet service is configured correctly.
upvoted 0 times
...
Percy
2 months ago
Looks straightforward. I'll give it a try.
upvoted 0 times
...
Virgie
2 months ago
I feel like I need to double-check how to specify the image in the pod spec. Was it under "containers" or something else?
upvoted 0 times
...
Trevor
2 months ago
I think we did a similar question where we had to set up a pod with nginx. The steps should be somewhat similar, right?
upvoted 0 times
...
Paris
3 months ago
I think I've got a good handle on this. I'll start by SSHing into the node and then work through the steps to configure the kubelet service.
upvoted 0 times
...
Emeline
3 months ago
No problem, I've done this kind of task before. I'll create the pod spec file and place it in the /etc/kubernetes/manifests directory.
upvoted 0 times
...
Fidelia
3 months ago
I remember we practiced configuring kubelet, but I'm not sure about the exact syntax for the manifest file.
upvoted 0 times
...
Dean
4 months ago
I recall that the manifest needs to be in YAML format, but I can't remember if there are specific indentation rules we need to follow.
upvoted 0 times
...
Christoper
4 months ago
Wait, do I need to do anything special with the node label? I want to make sure I target the right node.
upvoted 0 times
...
Carlton
4 months ago
Hmm, I'm not too familiar with kubelet and systemd services. I'll need to review the documentation carefully.
upvoted 0 times
...
Reiko
4 months ago
Okay, this looks straightforward. I'll need to configure the kubelet service to launch the pod automatically.
upvoted 0 times
Ernie
3 months ago
Just follow the steps carefully.
upvoted 0 times
...
Kara
3 months ago
Sounds easy enough!
upvoted 0 times
...
...

Save Cancel