1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/docs/design/pod_name_versus_cluster_id.md
2018-02-08 15:00:08 +01:00

600 B

Kubernetes Pod name versus cluster ID

All resources being created will get a name that contains the user provided cluster name and a unique part.

The unique part will be difference for every pod that is being created. E.g. when upgrading to a new version, we generate a new unique pod name.

The servers in the ArangoDB cluster will be assigned a persistent, unique ID. When a Pod changes (e.g. because of an upgrade) the Pod name changes, but the cluster ID remains the same.

As a result, the status part of the customer resource must list the current Pod name and cluster ID for every server.