ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 2 - CKAD discussion

Report
Export

Context

You are tasked to create a secret and consume the secret in a pod using environment variables as follow:

Task

• Create a secret named another-secret with a key/value pair; key1/value4

• Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key 1, using COOL_VARIABLE as the name for the environment variable inside the pod

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

Explanation:

Solution:

asked 18/09/2024
Derek Steven Schulte
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first