Create a redis pod and expose it on port 6379

Create a redis pod and expose it on port 6379
A . Solution:
kubectl run redis –image=redis –restart=Never –port=6379 YAML File :
apiVersion: v1
kind: Pod
metadata:
labels:
run: redis
name: redis
spec:
containers:
– image: redis
name: redis ports:
– containerPort: 6379
Rt restartPolicy: Always

Answer: A

Latest CKA Dumps Valid Version with 122 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments