srl-labs / clabernetes

containerlab, but in kubernetes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename services

hellt opened this issue · comments

❯ k get -n srl02 svc
NAME                     TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                                                                                                                                                                                   AGE
clab-srl02-srl1          ClusterIP      10.96.196.187   <none>        4789/UDP                                                                                                                                                                                                  14h
clab-srl02-srl1-expose   LoadBalancer   10.96.168.107   172.18.1.12   161:31448/UDP

To keep things more tidy I propose we use clab-srl02-srl1-vx service name for vxlan services, and bare name clab-srl02-srl1 for exposed services.

Keeping a bare name for exposed service can help with later integration with /etc/hosts