Skip to main content

What is the difference between Service sessionAffinity ClientIP vs None?

Mid Kubernetes
Quick Answer ClientIP: all requests from the same client IP go to the same Pod (sticky sessions) รขโ‚ฌโ€ useful for stateful protocols. None: each request can go to any healthy Pod รขโ‚ฌโ€ better load distribution. ClientIP is implemented via iptables DNAT rules that track client IP affinity with a configurable timeout (default 10800s).

Answer

ClientIP keeps the same Pod for a client; None performs round-robin load balancing.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice