Refer to Exhibit.

Set Configuration Context:
[student@node-1] $ | kubectl
Config use-context k8s
Context
A web application requires a specific version of redis to be used as a cache.
Task
Create a pod with the following characteristics, and leave it running when complete:
* The pod must run in the web namespace.
The namespace has already been created
* The name of the pod should be cache
* Use the Ifccncf/redis image with the 3.2 tag
* Expose port 6379
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
29 comments · newest first
SH
Sherill
7 months ago
Port 6379 is crucial for Redis.
AN
Angella
7 months ago
Don't forget to set the namespace!
MY
Myong
7 months ago
Using the right image is key!
SH
Shad
7 months ago
I think I can nail the pod creation.
DE
Delisa
8 months ago
I feel confident about it.
JA
Janey
8 months ago
This question is tricky.
EU
Eun
8 months ago
Seems straightforward, but I hope the namespace is set up correctly.
WI
Winfred
8 months ago
Don't forget to expose port 6379 for Redis!
MO
Mona
9 months ago
Wait, are we sure the image is still maintained?
TO
Tora
9 months ago
The namespace part seems straightforward, but I'm still a bit fuzzy on how to properly expose the port.
DA
Dalene
9 months ago
Haha, I bet the exam proctors are getting tired of all these redis questions!
CH
Charlena
9 months ago
Looks good, but I would use the full image name instead of just the tag.
EM
Emiko
9 months ago
I remember we need to expose the port, but I can't recall if that should be done in the same command or separately.
RU
Ruby
10 months ago
I'm a bit confused about the image tag; is it `Ifccncf/redis:3.2` or something else? I hope I don't mix that up.
RO
Rosalind
10 months ago
I practiced a similar question where we had to create a pod with a specific image, so I think I can use the `kubectl run` command for this.
RE
Ressie
10 months ago
I think I remember that we need to specify the namespace when creating the pod, but I'm not entirely sure how to do that in the command.
MI
Micaela
10 months ago
This looks pretty straightforward. I'll just create a pod in the web namespace with the specified image, name, and port. Shouldn't take more than a couple commands.
SO
Soledad
10 months ago
Wait, do I need to use a deployment or just a plain pod? And what about resource limits or requests? I want to make sure I cover all the bases here.
LU
Luke
10 months ago
Totally agree, that's the right version for caching!
AN
Andra
11 months ago
You need to use the Ifccncf/redis image with the 3.2 tag.
PA
Paris
11 months ago
Shouldn't we also set the environment variables for the redis configuration?
GE
Georgene
11 months ago
Okay, I got this. First, I'll switch to the web namespace, then use the kubectl run command to create the pod with the right image, name, and port. Should be straightforward.
EV
Evangelina
11 months ago
Hmm, I'm a bit unsure about the namespace part. I'll need to double-check the syntax for that. And I'm not totally familiar with the image and tag, so I'll have to look that up.
JA
Jamey
12 months ago
I think I can handle this. I'll start by creating the namespace, then use the correct image and tag to create the pod with the specified name and port.
JO
Johnson
6 months ago
You got this! Just follow the steps carefully.
MA
Maybelle
6 months ago
Exposing the port is crucial too.
LE
Lenna
6 months ago
Don't forget to specify the namespace!
HI
Hildred
7 months ago
Make sure to check the image version.
FL
Floyd
11 months ago
Sounds like a solid plan!