apiVersion: v1
kind: Service
metadata:
  name: test-service-externalname
spec:
  externalName: test-example.com
  selector:
    app: test-deployment
  ports:
  - protocol: TCP
    port: 80
    targetPort: 80
  type: ExternalName
