Last active
July 15, 2022 13:04
-
-
Save thospfuller/c95d3637d2dd531cb27e2acd12cd34d7 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 "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: 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