PROVIDER - 3 character long abbreviation of provider name.
DC - Optional info about datacenter/region (e.g., FSN1-DC1).
CLUSTER - Cluster designation (in case of Kubernetes, should always have k8s in the beginning) and if there can be multiple a number added (with two digits, e.g., 01, 12).
ROLE - In case of Kubernetes, e.g., master, etcd, node (other "special" roles could be, e.g., ingress, stora (could have a suffix per storage software, e.g. storaceph)).
COUNT_OR_ID - A count is a special "type". It can for servers that are known to have only a maximum of n machines at maximum, the number of servers padded with zeroes (e.g., max 12 servers results in COUNT for the third machine being 03), in case of nodes where there can be an undefined amount of them it should be a shortid.
To generate a "random" ID (requires bashids to be installed):
# When country, provider and dc should be omited:
{CLUSTER}-{ROLE}-{COUNT_OR_ID}.example.systems# Examples:
## Master / Primary Kubernetes nodek8s02-master-01.example.systems## Node / Worker Kubernetes nodek8s02-node-4ua16bzb6r7.example.systems# With country, provider and dc in the name:
{CLUSTER}-{ROLE}-{COUNT_OR_ID}-{PROVIDER}-{COUNTRY}{DC}.example.systems# Examples:
## `deu-fsn1dc1` translates to Germany, FSN1-DC14 (Falkenstein)k8s02-master-01-htz-deu-fsn1dc14.example.systems## `deu-fsn1dc1` translates to Germany, FSN1-DC1 (Falkenstein)k8s02-node-4ua16bzb6r7-htz-deu-fsn1dc1.example.systems## `eee-west2` translates to GCP Region `europe-west2`k8s02-master-02-gcp-eee-west2.example.systems## `usa-west1` translates to AWS Region `us-west1`k8s02-node-7ca16bnb2r1-aws-usa-west1.example.systems
{CLUSTER}-({OWNER}-){ROLE}.example.services# Examples## Kubernetes cluster "k8s02" Loadbalancer owned by the "system"k8s02-system-lb.example.services# or the owner can be omitted in such casesk8s02-lb.example.services## Kubernetes cluster "k8s02" hosted TeamSpeak service owned by customer "gamer"k8s02-gamer-ts3.example.services