Study. uk . com
  1. Home
  2. All questions
  3. Question 139

CKA study material · question 139 of 1000

A StatefulSet named web has three replicas. What are its Pods called?

  1. web-1, web-2 and web-3
  2. web-a, web-b and web-c
  3. web with three random suffixes
  4. web-0, web-1 and web-2
Show the answer

Answer: D. web-0, web-1 and web-2

StatefulSet Pods take ordinals from 0 to N-1 and are named <statefulset>-<ordinal>.

Source: StatefulSets (Kubernetes) — Ordinal Index

Challenge yourself on this topic → Study as cards