Skip to content

Instantly share code, notes, and snippets.

@thospfuller
Last active July 15, 2022 13:04
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/e376d1969eebf716bcbf674751a13316 to your computer and use it in GitHub Desktop.
Save thospfuller/e376d1969eebf716bcbf674751a13316 to your computer and use it in GitHub Desktop.
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 1.2 Configuration Yaml
# See question 1.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 "Practical Kubernetes CKAD Tuition #1 (2020)" here:
#
# https://thospfuller.com/2020/11/08/practical_kubernetes_ckad_tuition_number_1_2020/
#
apiVersion: v1
kind: Pod
metadata:
name: pod-b
labels:
role: myrole
spec:
containers:
- name: alpine-spin-container
image: kubegoldenguide/alpine-spin:1.0.0
ports:
- name: web
containerPort: 80
protocol: TCP
- name: nginx-container
image: nginx:1.7.9
ports:
- name: web
containerPort: 80
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment