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 4 Pod Yaml
# See question 4 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-13-pod
namespace: ggckad-s4
labels:
role: myrole
spec:
containers:
- name: question-thirteen
image: kubegoldenguide/question-thirteen
ports:
- name: web
containerPort: 8000
protocol: TCP
readinessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 60
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8000
initialDelaySeconds: 75
periodSeconds: 10
timeoutSeconds: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment