Last active
July 15, 2022 13:04
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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