Kubernetes Basics :: Learning slides

Introduction

Kubernetes is an open-source platform that automates the deployment, scaling, networking, and management of containerized applications across a cluster.

  1. Kubernetes Foundations: Containers vs Kubernetes, cluster concepts, control plane vs worker nodes

Useful commands:

kubectl version, kubectl cluster-info, kubectl get nodes

2. Kubernetes Architecture: API Server, Scheduler, Controller Manager, etcd, kubelet, kube-proxy

Useful commands:

kubectl get pods -A, kubectl describe node

3. Cluster Installation: kubeadm, kubelet, kubectl, container runtime, cluster bootstrap

Useful commands:

kubeadm init, kubeadm join, kubectl get nodes

4. Pods & API Objects: Pods, YAML, namespaces, labels, annotations

Useful commands:

kubectl run, kubectl get pod, kubectl describe, kubectl apply -f

5. Deployments & Workloads: ReplicaSets, Deployments, scaling, rolling updates, rollback

Useful commands:

kubectl create deployment, kubectl scale, kubectl rollout

6. Services & Networking: ClusterIP, NodePort, service discovery, DNS, pod networking

Useful commands:

kubectl expose, kubectl get svc, kubectl get endpoints

7. Ingress & Gateway: Ingress Controller, HTTP routing, Gateway API

Useful commands:

Create an Ingress and route traffic to two Services

8. Kubernetes Storage: Volumes, PV, PVC, StorageClass, CSI, Ceph integration

Useful commands:

kubectl get pv,pvc,sc, create PVC and mount into a Pod

9. Helm & Kustomize: Package management, Helm charts, templating, overlays

Useful commands:

helm install, helm list, helm upgrade, kubectl apply -k

10. Scheduling & Security: Scheduler, affinity, taints/tolerations, RBAC, ServiceAccounts

Useful commands:

kubectl taint, kubectl auth can-i, kubectl create role

11. Troubleshooting & Logging: Logs, events, failed Pods, networking, resource problems

Useful commands:

12. HA + CKA Review: HA control plane, etcd, CRDs, backup/recovery, exam-style troubleshooting

Useful commands:

Mixed troubleshooting lab + CKA-style exercises

Conclusion

Kubernetes simplifies the deployment, scaling, management, and operation of containerized applications reliably and efficiently.

Leave a Reply

Your email address will not be published. Required fields are marked *