1. Kubernetes Basic
  2. Installing Kubernetes with Kubeadm
  3. Kubernetes Basic Apps Deployment
  4. Understanding K8S Ingress in Simple Way
  5. Understanding K8S Ingress in Simple Way Part 2
  6. Kubernetes Volumes with PV and PVC
  7. Kubernetes Using Your Own NFS Server for Dynamic PVC
  8. Avoid Hitting Docker Rate Limit

Notes: nfs konfig for this

cat /etc/exports
/mnt/k8sdata  10.2.4.0/24(rw,sync,no_root_squash)

Handling container error/crashloopback after rebooting master node

https://stackoverflow.com/questions/57816255/kubernetes-cluster-does-not-run-after-reboot

Kubeadm reset (clean up messed up k8s preparation)

kubeadm reset
rm -rf /etc/cni /etc/kubernetes /var/lib/dockershim /var/lib/etcd /var/lib/kubelet /var/run/kubernetes ~/.kube/*
iptables -F && iptables -X
iptables -t nat -F && iptables -t nat -X
iptables -t raw -F && iptables -t raw -X
iptables -t mangle -F && iptables -t mangle -X
systemctl restart docker

Kubernetes missing config

sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config

Cat ~/.zshrc

alias k='kubectl'
alias kgp='kubectl get pod'
alias klogs='kubectl logs'
alias kgd='kubectl get deployment'
alias kg='kubectl get'
alias k-pod-status='while true; do kgp -A; sleep 10; done'
alias aws-check-id='aws sts get-caller-identity'
alias ekskonfig='aws eks --region us-west-2 update-kubeconfig --name'