Binding multiple ExternalNames into one service

Viewed 102

Ok, so pretty straightforward. I have the same service running on different (independent) clusters (and/or VMs). Is there a way to have this combined at my other cluster?

Something like this maybe?

apiVersion: v1
kind: Service
metadata:
  name: some-service
  namespace: some-service
  annotations:
spec:
  type: ExternalName
  sessionAffinity: None
  externalName: host1.bla.local, host2.bla.local, host3.bla.local, ...
  internalTrafficPolicy: Cluster

Is there a better way to combine ExternalName services?

0 Answers
Related