Kubernetes Tutorial
Sep 13, 2020 | 829 views
Additional Concepts:
- Kubernetes Networking Guide for Beginners
- Kubernetes Networking
- Node affinity and Inter-pod affinity and anti-affinity
- PodDisruptionBudgets
Install a Kubernetes Cluster
- Using kube-router as Pod Network
kubeadm init --pod-network-cidr 10.5.0.0/16
kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
- Kubernetes Command Line Bash Completion
- Install k8s Minikube on top of KVM on Debian 9
- --
- [Flannel as Pod Network seems not working] How To Install A Kubernetes Cluster On CentOS 7 with flannel as Pod Network and official
Troubleshooting
- Kubernetes Troubleshooting Walkthrough - Pending Pods (issues like not enough CPU, memory)
- Debugging DNS Resolution
PersistentVolume and PersistentVolumeClaim
- Configure a Pod to Use a PersistentVolume for Storage
- Troubleshooting: Change PV status from Released to Available: check stackoverflow
kubectl patch pv pv-name -p '{"spec":{"claimRef": null}}'
- Troubleshooting: PV is stuck at terminating after PVC is deleted (This happens when persistent volume is protected.)
kubectl patch pvc PVC_NAME -p '{"metadata":{"finalizers": []}}' --type=merge
Using GlusterFS with Kubernetes
- Complete Example Using GlusterFS and Persistent Volume and Claim in OpenShift and Kubernetes using GlusterFS Volume Plugin