Linux_Foundation
CKA · Question #50
Schedule a Pod as follows: Name: kucc1 App Containers : 2 Container Name/Images : redis Memcached
Create a Pod manifest (e.g., in a file named kucc1-multi.yaml) that defines two containers, one with the redis image and another with the memcached image, within a Pod named kucc1: ``yaml apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: kucc1 name: kucc1…
Submitted by suresh_in· May 4, 2026Workloads and Scheduling
Question
Schedule a Pod as follows: Name: kucc1 App Containers : 2 Container Name/Images : redis Memcached
Exhibits
Explanation
Create a Pod manifest (e.g., in a file named kucc1-multi.yaml) that defines two containers, one with the redis image and another with the memcached image, within a Pod named kucc1:
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: kucc1
name: kucc1
spec:
containers:
- image: redis
name: redis
- image: memcached
name: memcached
Then, apply this manifest using kubectl create -f kucc1-multi.yaml.
Topics
#Pod Definition#Multi-Container Pods#Workloads
Community Discussion
No community discussion yet for this question.

