Day 4
Kubernetes
- o Introduction to Container Orchestration
- o Architecture
- o On premises considerations
- o Annotations
- o Install a three-node cluster (one master and two worker)
- o Scheduling, eviction, affinity, taints and tolerations
- § Lab on scheduling a Pod on a Node.
- o Advantages of Kubernetes
- o Pods
- § Labs: Creating our own Pods
- o Understanding Pods
- o How was the Pod created?
- § Hands on Deep dive into Pods
Kubernetes Objects
- Namespaces
- Lab on Namespaces
- Labels
- Lab on Labels
- Selectors
- Lab on selectors
- Annotations
- Lab on annotations
Kubernetes Pods (Deep Dive)
- Pod architecture
- Pod lifecycle
- Multi-container Pods
- Sidecar container pattern
Init Containers
Static Pods
- Running pods directly via kubelet
Lab
- Create pods
- Multi-container pods
- Init containers
Replicas
- o Replication Controller
- o Replica Set
- o Desired state
- o Self-healing
- o Scaling
- § Lab:
- Ø Hands on impact of Replica Set
Day 5
Deployment
- o Deployment strategies
- o Rolling updates
- o Rollbacks
- o Deployment history
- o Lab:
- § Create a deployment
- § Scale out and scale in
- § Update and rollback
- StatefulSet
- Daemonset
- Kubernetes Jobs
- Lab:
- o Kubernetes jobs
- Secretes
- Lab:
- o Kubernetes Secrets
Kubernetes Volumes
- o emptyDir
- o hostPath
- o configMap volumes
- o secret volumes
Persistent Storage
- o Persistent Volumes (PV)
- o Persistent Volume Claims (PVC)
- o Storage Classes
- Lab
- o Create PV
- o Create PVC
- o Mount volumes to pods
·
ConfigMaps and Secrets
- o Managing application configuration
- o Environment variables
ServiceTypes
- o Clust IP
- § Lab: Cluster IP
- o NodePort
- § Lab: NodePort
- o Loadbalancer
- o ExternalIP
Day 6
Container Network Interface (CNI)
- CNI architecture
- Popular CNI plugins
- o Calico
- o Flannel
- o Weave
Kubernetes Ingress
- Ingress resources
- Ingress controllers
- Path-based routing
- TLS termination
Network Policies
- Securing pod communication
- Allow/Deny traffic
Lab
- Create services
- Configure ingress
- Apply network policies
Kubernetes Security
RBAC (Role Based Access Control)
- Roles
- RoleBindings
- ClusterRoles
- ClusterRoleBindings
Admission Controllers
- Policy enforcement
- Security policies
Day 7
Advanced Kubernetes and Operations
Kubernetes Jobs
Kubernetes Probes
- Liveness probe
- Readiness probe
- Startup probe
Kubernetes Scheduling
- Scheduler workflow
- Node affinity
- Pod affinity
- Taints and tolerations
- Resource requests and limits
Kubernetes Scaling
- Introduction to scaling in Kubernetes
- Horizontal Pod Autoscaler (HPA)
- Vertical Pod Autoscaler (VPA)
- Cluster Autoscaler (CA)
- Comparison with Karpenter
- Node provisioning
- Scaling efficiency
Lab
- Configure HPA
- Observe scaling behavior
Day 8
Kubernetes Troubleshooting
- Debugging Pods
- Logs and events
- Debugging networking issues
- Debugging scheduling failures
- kubectl troubleshooting commands
CI/CD
- o Implement a complete CI/CD using
- § Java
- § Git
- § Jenkins
- § Maven
- § Docker
- § Junit (Illustrative)
- § Kubernetes