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 5 Question 46 Discussion

Posted by Suzi on Aug 05, 2024 at 02:05 AM

Refer to Exhibit.

Task

Create a new deployment for running.nginx with the following parameters;

* Run the deployment in the kdpd00201 namespace. The namespace has already been created

* Name the deployment frontend and configure with 4 replicas

* Configure the pod with a container image of lfccncf/nginx:1.13.7

* Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above

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
35 comments · newest first
JA
Jade 11 months ago
I thought we were supposed to use the latest image, not an older one.
TA
Tawny 11 months ago
Setting NGINX__PORT=8080 is a smart move!
LE
Leota 12 months ago
Wait, why are we using nginx 1.13.7? Isn’t that kinda old?
GL
Glory 12 months ago
Totally agree, 4 replicas is a solid choice!
ME
Melina 1 year ago
The deployment should be in the kdpd00201 namespace.
DE
Denae 1 year ago
I remember we had to expose a port in a previous exercise, but I can't quite recall if it was done in the same section as the environment variables.
KR
Kristofer 1 year ago
I feel a bit uncertain about the namespace part. Did we cover how to specify that in the deployment YAML?
JU
Justine 1 year ago
This question seems similar to one we practiced where we had to set up a service. I hope I can recall the right commands for the deployment.
CH
Cherrie 1 year ago
I think I remember how to create a deployment, but I'm not entirely sure about the exact syntax for setting the environment variable.
BR
Brittni 1 year ago
No problem, I've done similar tasks before. I'll just need to pay close attention to the details, like the namespace, replica count, and container image version.
EL
Ellsworth 1 year ago
Hmm, I'm a bit unsure about the environment variable and port exposure. Let me double-check the requirements to make sure I have that part right.
TH
Thurman 1 year ago
This looks like a straightforward deployment task. I'll start by creating the namespace, then define the deployment with the required parameters.
JE
Jeannine 1 year ago
Okay, I think I've got this. I'll create the deployment in the specified namespace, set the replica count to 4, and use the provided container image. The environment variable and port exposure should be easy to add.
EL
Elli 1 year ago
Okay, let me think this through. The question is asking about assignment blocks that are part of the cross catalog mapping in SAP S/4HANA Service: SOM. I'll need to recall what I know about those concepts.
GE
German 2 years ago
Wait, is that the correct image tag? 1.13.7? I thought Nginx was up to version 1.19 by now. *scratches head in confusion*
ER
Ernie 1 year ago
↳ replying to German
User1: That makes sense, better safe than sorry.
SH
Shawn 1 year ago
↳ replying to German
User2: Yeah, sometimes it's better to stick with a known version for stability.
YE
Yesenia 1 year ago
↳ replying to German
User1: Maybe they are using a specific version for compatibility.
JE
Jerry 2 years ago
This is a piece of cake! I could do this with my eyes closed. *winks dramatically*
JA
Jamey 1 year ago
↳ replying to Jerry
User 4: I'm confident we can all handle this deployment.
CE
Cecil 1 year ago
↳ replying to Jerry
User 3: Just follow the steps and you'll have it up and running in no time.
KA
Kathrine 1 year ago
↳ replying to Jerry
User 2: Yeah, it looks pretty straightforward.
EL
Elinore 1 year ago
↳ replying to Jerry
User 1: This is a piece of cake! I could do this with my eyes closed. *winks dramatically*
KE
Kenneth 2 years ago
Whoa, 4 replicas? That's a lot of Nginx pods. I hope my cluster can handle the load. *sweats nervously*
MI
Micaela 2 years ago
Hmm, the environment variable name seems a bit unusual. But I guess that's what they're looking for. Time to copy and paste!
KA
Katheryn 1 year ago
↳ replying to Micaela
Ressie: Alright, time to copy and paste the configuration.
AS
Ashleigh 1 year ago
↳ replying to Micaela
User 2: Just follow the instructions and copy-paste it.
TR
Tricia 1 year ago
↳ replying to Micaela
User 1: Yeah, the environment variable name is a bit strange.
GL
Glen 2 years ago
↳ replying to Micaela
User 3: Just follow the instructions and set it as specified.
RE
Ressie 2 years ago
↳ replying to Micaela
User 2: Yeah, it does look odd, but that's what the task requires.
EL
Elroy 2 years ago
↳ replying to Micaela
User 1: The environment variable name is a bit strange, NGINX__PORT=8080.
TY
Ty 2 years ago
Looks good! Exactly what the question is asking for. I'd better double-check my work, though, just to be sure.
CO
Corrie 2 years ago
We also need to configure the pod with the lfccncf/nginx:1.13.7 image and set NGINX_PORT=8080.
FR
Franklyn 2 years ago
Yes, we need to run it in the kdpd00201 namespace with 4 replicas named frontend.
CO
Corrie 2 years ago
I think the question is asking us to create a new deployment for nginx.
0/2000 characters

Save Cancel