🔥 3-day streak
Certified Kubernetes Administrator (CKA)118 / 125
Question 118 of 125
A stateful legacy web application is deployed with 3 replicas behind a ClusterIP Service. Users report that they are randomly logged out mid-session because their requests are being distributed across different Pods that do not share session state. You cannot modify the application to use an external session store in the short term. Which change to the Service will ensure that requests from the same client are consistently routed to the same backend Pod?
Reviewed for accuracy · Report an issueNext question