Reputation: 100496
Is there a way to give each pod in a cluster an id? Like an incrementing integer? How would that look in a yaml configuration? What about giving an id to an already running pod?
Upvotes: 0
Views: 820
Reputation: 17689
Look at StatefulSets. StEtefulset deployment add unique ordinal to each instance of the pod
Upvotes: 1