NE Headless Kubernetes Service
The ne-<access_group>
service is a headless
Kubernetes service that ensures Network Enablers (NEs) publish their own pod addresses to
the DNS.
NEs publish their addresses in the form
ne-<access_group>-<id>.ne-<access_group>.<namespace>.svc.cluster.local
,
where: - <access_group> identifies the access group.
- <id> identifies the NE.
- <namespace> identifies the namespace.
STPs can connect to these DNS addresses individually as opposed to through ne-ingress if
needed, but they might need to revalidate the IP addresses with a DNS lookup for each
connection attempt because the IP addresses of the NE pods might change. For that
reason, use the NE Ingress service. The following example defines two of these services
for the two NEs:
ne-ag1-1.ne-ag1.matrixx.svc.cluster.local
— The DNS name given to an NE pod with ID 1 in access groupag1
in namespacematrixx
.ne-ag2-4.ne-ag2.mtx-test.svc.cluster.local
— The DNS name given to an NE pod with ID 4 in access groupag2
in namespacemtx-test
.