Documentation ¶
Index ¶
Constants ¶
const AnnotationNameDnsExternal = "dns.alpha.kubernetes.io/external"
AnnotationNameDnsExternal is used to set up a DNS name for accessing the resource from outside the cluster For a service of Type=LoadBalancer, it would map to the external LB hostname or IP
const AnnotationNameDnsInternal = "dns.alpha.kubernetes.io/internal"
AnnotationNameDnsInternal is used to set up a DNS name for accessing the resource from inside the cluster This is only supported on Pods currently, and maps to the Internal address
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressController ¶
IngressController watches for Ingress objects with dns labels
func NewIngressController ¶
func NewIngressController(kubeClient *client_extensions.ExtensionsClient, dns dns.Context) (*IngressController, error)
newIngressController creates a ingressController
type NodeController ¶
NodeController watches for nodes
func NewNodeController ¶
func NewNodeController(kubeClient *client.CoreClient, dns dns.Context) (*NodeController, error)
newNodeController creates a nodeController
type PodController ¶
PodController watches for Pods with dns annotations
func NewPodController ¶
func NewPodController(kubeClient *client.CoreClient, dns dns.Context) (*PodController, error)
newPodController creates a podController
type ServiceController ¶
ServiceController watches for services with dns annotations
func NewServiceController ¶
func NewServiceController(kubeClient *client.CoreClient, dns dns.Context) (*ServiceController, error)
newServiceController creates a serviceController