Microservices - Orchestration with KubernetesIf a liveness probe fails continuously, what is the expected behavior of the Kubernetes system?AKubernetes scales the pod replicas upBKubernetes removes the pod from the service endpointsCKubernetes ignores the failure and keeps the pod runningDKubernetes restarts the container repeatedlyCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify liveness probe failure consequenceContinuous failure of liveness probe causes Kubernetes to restart the container to recover it.Step 2: Exclude other behaviorsRemoving from endpoints is readiness failure effect; scaling or ignoring failure is incorrect.Final Answer:Kubernetes restarts the container repeatedly on liveness failure -> Option DQuick Check:Liveness failure = Restart container [OK]Quick Trick: Liveness failure triggers restart, readiness failure stops traffic [OK]Common Mistakes:MISTAKESConfusing readiness and liveness failure effectsThinking pod is deleted on liveness failureAssuming scaling happens automatically
Master "Orchestration with Kubernetes" in Microservices9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More Microservices Quizzes Event-Driven Architecture - Event types (domain, integration, notification) - Quiz 8hard Event-Driven Architecture - Eventual consistency handling - Quiz 10hard Monitoring and Observability - Correlation IDs - Quiz 14medium Orchestration with Kubernetes - Horizontal Pod Autoscaler - Quiz 13medium Resilience Patterns - Circuit breaker pattern - Quiz 13medium Resilience Patterns - Fallback pattern - Quiz 8hard Resilience Patterns - Circuit breaker pattern - Quiz 1easy Service Mesh - Linkerd overview - Quiz 3easy Service Mesh - Service mesh concept - Quiz 15hard Service Mesh - Why service mesh manages inter-service traffic - Quiz 1easy