Skip to content

Instantly share code, notes, and snippets.

View thospfuller's full-sized avatar
🎯
Focusing

Thomas P. Fuller thospfuller

🎯
Focusing
View GitHub Profile
@thospfuller
thospfuller / q1_dot_2_configuration.yaml
Last active July 15, 2022 13:04
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 "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
@thospfuller
thospfuller / q1_dot_2_pod-b_configuration.yaml
Last active July 15, 2022 13:04
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
@thospfuller
thospfuller / question-two-pod.yaml
Last active November 17, 2020 15:56
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 2 Configuration Yaml
# See question 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
@thospfuller
thospfuller / app-config.yaml
Last active June 12, 2022 00:37
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 2 ConfigMap Yaml
# See question 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
data:
@thospfuller
thospfuller / question-three-pod.yaml
Last active June 12, 2022 00:38
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 3 Pod Yaml
# See question 3 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
@thospfuller
thospfuller / question-four-pod.yaml
Last active August 8, 2022 22:21
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
@thospfuller
thospfuller / question-five-deployment.yaml
Last active July 15, 2022 13:03
Practice Exam for Certified Kubernetes Application Developer (CKAD) Certification Question 5 Deployment Yaml
# See question 5 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: apps/v1
kind: Deployment
@thospfuller
thospfuller / components.yaml
Last active November 30, 2020 02:55
An example components.yaml required for installing the Kubernetes Metrics Server on Minikube running in Ubuntu.
#
# Jump to line ~ 141 to ~ 215 for the command that pertains to this change.
#
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
k8s-app: metrics-server
name: metrics-server
namespace: kube-system
@thospfuller
thospfuller / minikube-restart.sh
Created December 9, 2020 21:37
Minikube start
minikube stop
minikube start --hyperv-virtual-switch "My Virtual Switch" --v=4 --mount --mount-string="/etc/minimount/:/etc/minimount"
@thospfuller
thospfuller / nginx-with-minimount-directory-mounted.yaml
Last active December 11, 2020 02:03
An Nginx pod with the local /etc/minimount directory mounted as /etc/minimount to be run in Minikube (you must start Minikube with --mount and --mount-string set for this to work).
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx-minimounted
name: nginx-minimounted
namespace: myns
spec:
volumes: