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 CKAD Exam - Topic 1 Question 39 Discussion

Posted by Ryan on May 07, 2024 at 11:41 PM

Refer to Exhibit.

Task:

1) First update the Deployment cka00017-deployment in the ckad00017 namespace:

*To run 2 replicas of the pod

*Add the following label on the pod:

Role userUI

2) Next, Create a NodePort Service named cherry in the ckad00017 nmespace exposing the ckad00017-deployment Deployment on TCP port 8888

Suggested Answer: A

Get Premium CKAD Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
WI
Willie 11 months ago
I thought NodePort was only for external access, not sure about this.
MI
Miesha 11 months ago
Yup, exposing on TCP port 8888 is spot on!
FI
Filiberto 12 months ago
Wait, do we really need a NodePort service for this? Seems overkill.
CE
Ceola 12 months ago
Totally agree, that’s the way to go!
JO
Jolene 1 year ago
Just update the replicas to 2 and add the label "Role: userUI".
GA
Gabriele 1 year ago
I feel confident about updating the replicas, but I might mix up the namespace names if I'm not careful.
KA
Karl 1 year ago
I’m a bit confused about the NodePort service part. I know it exposes the deployment, but I can't remember how to specify the port correctly.
LI
Lindsey 1 year ago
This question seems similar to one we practiced where we had to scale a deployment. I hope I can recall the right steps for that.
VI
Vinnie 1 year ago
I think I remember how to update the deployment, but I'm not entirely sure about the exact command syntax for adding labels.
MA
Maybelle 1 year ago
No problem, I've got this. I'll start by using 'kubectl edit deployment' to update the Deployment, then 'kubectl expose' to create the NodePort Service. Shouldn't take more than a few minutes to knock this out.
LE
Leslee 1 year ago
Wait, I'm a bit confused. Do I need to create the Deployment first, or can I just update the existing one? And what's the syntax for setting the label on the pods? I better review my Kubernetes commands before jumping in.
MA
Marva 1 year ago
Okay, I've got this. Updating the Deployment is easy - just use the 'kubectl set' command to set the replicas and add the label. For the Service, I'll use 'kubectl expose' to create the NodePort Service and specify the port. Should be a quick one!
DA
Danilo 1 year ago
Hmm, this looks like a tricky one. I'll need to carefully read through the instructions and make sure I don't miss any details. Updating the Deployment and creating the Service seem straightforward, but I'll double-check my work to ensure I've met all the requirements.
AR
Ardella 1 year ago
Okay, let's break this down step-by-step. First, I'll need to update the Deployment to run 2 replicas and add the 'Role userUI' label to the pods. Then, I'll create a NodePort Service named 'cherry' in the 'ckad00017' namespace, exposing the 'ckad00017-deployment' Deployment on TCP port 8888.
KA
Katie 1 year ago
I've got a good strategy for this. I'll start by eliminating any options that clearly don't require the 'syskm' privilege, then focus in on the remaining ones that might.
MA
Man 1 year ago
I remember that we practiced a similar scenario where cookie forwarding was necessary to maintain session state, so I wonder if that applies here too.
EL
Elvera 1 year ago
I recall AWS Kinesis Data Analytics being powerful, and option D seems to align well with running SQL queries in real-time. But is Parquet the best format for analytics?
BU
Bulah 1 year ago
Okay, I think I've got this. The question is saying that the Block field component can organize the content, and the default value is hidden. So the answer must be TRUE.
CH
Chantay 1 year ago
I'm a bit confused about whether we should go with the value in use or the fair value for the asset. I think it depends on which one is higher?
WI
Willard 2 years ago
This is like a Kubernetes scavenger hunt! Where's the 'Find the hidden Kubernetes resource' bonus question?
AR
Art 1 year ago
↳ replying to Willard
User4: Let's focus on updating the Deployment and creating the NodePort Service first.
BR
Brande 1 year ago
↳ replying to Willard
User3: I wonder where the hidden Kubernetes resource is.
CO
Cory 1 year ago
↳ replying to Willard
User2: Yeah, it's like a scavenger hunt in Kubernetes.
SH
Shizue 2 years ago
↳ replying to Willard
User1: This task looks challenging!
MA
Marge 2 years ago
I agree. It's important to follow the instructions carefully to ensure we complete the task correctly.
AI
Aileen 2 years ago
Wait, is that a unicorn in the background? I'm getting distracted by the beautiful artwork here.
CE
Cecily 1 year ago
↳ replying to Aileen
I agree, the artwork is nice, but let's stay on track with the task at hand.
JA
Jaime 2 years ago
↳ replying to Aileen
Yes, it does look like a unicorn! But let's focus on updating the Deployment first.
VI
Virgilio 2 years ago
Alright, let's do this! Time to show off my Kubernetes skills.
RO
Rolande 2 years ago
Okay, so I need to update the Deployment to have 2 replicas and add the 'Role userUI' label. Then create a NodePort Service exposing the Deployment on port 8888. Simple enough.
MI
Miesha 2 years ago
Yes, we need to run 2 replicas of the pod and add a label to it. Then create a NodePort Service exposing the Deployment on port 8888.
AI
Aileen 2 years ago
Hmm, this seems straightforward. Let me double-check the instructions.
DI
Diego 1 year ago
↳ replying to Aileen
Got it. Let's follow the steps in the instructions carefully.
KA
Kattie 2 years ago
↳ replying to Aileen
After that, we create a NodePort Service named cherry on TCP port 8888.
DA
Dacia 2 years ago
↳ replying to Aileen
Yes, we need to set the replicas to 2 and add the label 'Role: userUI'.
BE
Becky 2 years ago
↳ replying to Aileen
I think we need to update the Deployment first.
MA
Marge 2 years ago
I think the question is asking us to update a Deployment and create a NodePort Service.
0/2000 characters

Save Cancel