First Round Interview
Several Probe Methods in k8s
livenessProbedetects deadlocks and determines when a container should be restarted.readinessProbechecks if the container is ready to receive traffic.startupProbechecks if the service inside the container has started up. The startup probe can be used for slow-starting containers to perform liveness checks, preventing them from being killed by kubelet before they start running.
Data Consistency Issues with Dual-Writing or Triple-Writing Across Regions
Pod Resource Node Preemption Solution
Enable node options in kubelet: --cpu-manager-policy=static
How to Implement Scaling in k8s Services
HPA (Horizontal Pod Autoscaler) automatically adjusts the number of replicas of a Deployment based on CPU utilization or custom metrics.
