upup: group DNS properties

This commit is contained in:
Justin Santa Barbara 2016-06-27 09:12:35 -04:00
parent 4704846051
commit 65135db3be
1 changed files with 6 additions and 3 deletions

View File

@ -60,8 +60,14 @@ type ClusterSpec struct {
ConfigStore string `json:"configStore,omitempty"`
// DNSZone is the DNS zone we should use when configuring DNS
// This is because some clouds let us define a managed zone foo.bar, and then have
// kubernetes.dev.foo.bar, without needing to define dev.foo.bar as a hosted zone.
// DNSZone will probably be a suffix of DNSDomain
DNSZone string `json:"dnsZone,omitempty"`
// DNSDomain is the suffix we use for internal DNS names (normally cluster.local)
DNSDomain string `json:"dnsDomain,omitempty"`
//InstancePrefix string `json:",omitempty"`
// ClusterName is a unique identifier for the cluster, and currently must be a DNS name
@ -94,9 +100,6 @@ type ClusterSpec struct {
//DNSReplicas int `json:",omitempty"`
//DNSServerIP string `json:",omitempty"`
// DNSDomain is the suffix we use for internal DNS names (normally cluster.local)
DNSDomain string `json:"dnsDomain,omitempty"`
//EnableClusterLogging *bool `json:",omitempty"`
//EnableNodeLogging *bool `json:",omitempty"`
//LoggingDestination string `json:",omitempty"`