Skip to content

Instantly share code, notes, and snippets.

@thospfuller
Last active November 17, 2020 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thospfuller/187574b5be039a86cab8e5e2e1ad3ace to your computer and use it in GitHub Desktop.
Save thospfuller/187574b5be039a86cab8e5e2e1ad3ace to your computer and use it in GitHub Desktop.
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 2 Configuration Yaml
# See question 2 from the article entitled "Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification".
#
# https://matthewpalmer.net/kubernetes-app-developer/articles/ckad-practice-exam.html
#
# Answered in the article entitled "Answers to Five Kubernetes CKAD Questions (2020)" here:
#
# https://thospfuller.com/2020/11/09/answers_to_five_kubernetes_ckad_questions_2020/
#
apiVersion: v1
kind: Pod
metadata:
name: question-two-pod
labels:
role: myrole
spec:
containers:
- name: web
image: kubegoldenguide/alpine-spin:1.0.0
ports:
- name: web
containerPort: 80
protocol: TCP
envFrom:
- configMapRef:
name: app-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment