ExamGecko
Question list
Search
Search

List of questions

Search

Question 57 - CKA discussion

Report
Export

Score: 4%

Task

Schedule a pod as follows:

• Name: nginx-kusc00401

• Image: nginx

• Node selector: disk=ssd

A.
See the solution below.
Answers
A.
See the solution below.
Suggested answer: A

Explanation:

Solution:

#yaml

apiVersion: v1

kind: Pod

metadata:

name: nginx-kusc00401

spec:

containers:

- name: nginx

image: nginx

imagePullPolicy: IfNotPresent

nodeSelector:

disk: spinning

# kubectl create -

f

node-select.yaml

asked 18/09/2024
Daniel Ramos
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first