While there has been discussion in moby/moby#24973 and
#192, the adoption of a clear schema for mapping service resources into the DNS space is unclear.
The following presents a schema for mapping cluster-level FQDNs from various components:
| Resource |
Component |
Structure |
Examples |
| Cluster |
<cluster> |
<cluster> |
local, cluster0 |
| Namespace |
<namespace> |
<namespace>.<cluster> |
production.cluster0, development.local, system |
| Node |
<node> |
<node>.<cluster> |
node0.local |
| Job |
<job> |
<job>.<namespace>.<cluster> |
job0.production.cluster0 |
| Slot |
<slot> |
<slot id>.<job>.<namespace>.<cluster> |
1.job0.production.cluster0 |
| Task |
<task> |
<task id>.<slot id>.<job>.<namespace>.<cluster> |
abcdef.1.job0.production.cluster0 |
@mavenugo @mrjana @aluzzardi
While there has been discussion in moby/moby#24973 and
#192, the adoption of a clear schema for mapping service resources into the DNS space is unclear.
The following presents a schema for mapping cluster-level FQDNs from various components:
<cluster><cluster>local,cluster0<namespace><namespace>.<cluster>production.cluster0,development.local,system<node><node>.<cluster>node0.local<job><job>.<namespace>.<cluster>job0.production.cluster0<slot><slot id>.<job>.<namespace>.<cluster>1.job0.production.cluster0<task><task id>.<slot id>.<job>.<namespace>.<cluster>abcdef.1.job0.production.cluster0@mavenugo @mrjana @aluzzardi