nerdexam
Linux_Foundation

CKA · Question #48

Schedule a Pod as follows: . Name: kucc1 . App Containers : 2 . Container Name/Images : redis Memcached

Assuming kubectl context is already set to 'k8s' Create a YAML file, e.g., 'kucc1-redis-memcached.yaml', with the following content: apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: kucc1 name: kucc1 spec: containers: - image: redis name: redis - image: mem

Submitted by marco_it· May 4, 2026Workloads and Scheduling

Question

Schedule a Pod as follows: . Name: kucc1 . App Containers : 2 . Container Name/Images : redis Memcached

Exhibit

CKA question #48 exhibit

Explanation

Assuming kubectl context is already set to 'k8s'

Create a YAML file, e.g., 'kucc1-redis-memcached.yaml', with the following content:

apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: kucc1 name: kucc1 spec: containers:

  • image: redis name: redis
  • image: memcached name: memcached

Then apply the manifest:

kubectl apply -f kucc1-redis-memcached.yaml

Topics

#Pods#Multi-container#kubectl

Community Discussion

No community discussion yet for this question.

Full CKA Practice