What is Kubernetes and why is it important in modern software development?
Explain the key components of Kubernetes architecture.
What are Pods in Kubernetes, and why are they essential?
What are Kubernetes Ingress controllers, and how do they manage external access to services?
difference between availability with liveness and readiness probes in k8s
Liveness Probes: (Availability)
Health monitoring
Container restarts
Detects unresponsive states
- restart if no response
Readiness Probes: (ready to incoming requests, )
Traffic control
Avoiding disruptions during updates or scaling.
- no trafice of no response
Job vs cronjob in k8s
Job:
Executes one-off tasks, terminates after completion.
Ideal for batch processing, data migrations.
CronJob:
Schedules and repeats tasks based on cron expressions.
Useful for automated backups, log rotations.
Example:
Job: Running a script to update a database schema.
CronJob: Regularly backing up database data every night at 2 AM.
Helm vs Terraform ?
Helm
- use Helm as package manager for k8s
- support chart and versioning
Terraform
- general IaC, works with (aws, google, azure, …)