--- apiVersion: v1 kind: Service metadata: name: external-svc namespace: infra spec: ports: - name: http protocol: TCP port: 80 targetPort: 8080 --- apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: external-svc-1 namespace: infra labels: kubernetes.io/service-name: tdc-aren-external-svc # Is there a way to have the `tdc-aren-` prefix automatically applied here? ports: - name: http port: 8080 endpoints: - addresses: - "10.10.10.11"