TritonDataCenter / triton-kubernetes

Kubernetes on Triton
Mozilla Public License 2.0
183 stars 44 forks source link

Add random, unique node suffix #87

Closed aegixx closed 6 years ago

aegixx commented 6 years ago

This replaces the node number suffix with a random 6-digit alpha-numeric to make these more unique across multiple clusters. The user-provided cluster name is the prefix, which should allow for identifying which cluster a node belongs to.

Although my first thought was that the node identifier (-1, -2, etc.) was nice to have cosmetically, it ultimately becomes fairly meaningless once nodes begin to be cycled.

Fixes #60

Signed-off-by: Bryan Stone aegixx@gmail.com

niravpatel27 commented 6 years ago

Out of scope for now! Thanks @aegixx