Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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