Skip to content

Instantly share code, notes, and snippets.

@venkatnsrinivasan
Created June 29, 2020 20:07
Show Gist options
  • Save venkatnsrinivasan/284dbfc81440fb0dd229168c8a0b5ec3 to your computer and use it in GitHub Desktop.
Save venkatnsrinivasan/284dbfc81440fb0dd229168c8a0b5ec3 to your computer and use it in GitHub Desktop.
apiVersion: multiclusterdns.kubefed.io/v1alpha1
kind: ServiceDNSRecord
metadata:
# The name of the sample service.
name: cockroachdb-0
# The namespace of the sample deployment/service.
namespace: kubefed-poc
spec:
# The name of the corresponding Domain.
domainRef: federation
recordTTL: 300
---
apiVersion: multiclusterdns.kubefed.io/v1alpha1
kind: ServiceDNSRecord
metadata:
# The name of the sample service.
name: cockroachdb-1
# The namespace of the sample deployment/service.
namespace: kubefed-poc
spec:
# The name of the corresponding Domain.
domainRef: federation
recordTTL: 300
---
apiVersion: multiclusterdns.kubefed.io/v1alpha1
kind: ServiceDNSRecord
metadata:
# The name of the sample service.
name: cockroachdb-2
# The namespace of the sample deployment/service.
namespace: kubefed-poc
spec:
# The name of the corresponding Domain.
domainRef: federation
recordTTL: 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment