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(client kubernetes.Interface, dns dns.Context, namespace string) (*IngressController, error)
NewIngressController creates a IngressController
type NodeController ¶
NodeController watches for nodes
func NewNodeController ¶
func NewNodeController(client kubernetes.Interface, dns dns.Context) (*NodeController, error)
NewNodeController creates a NodeController
type PodController ¶
PodController watches for Pods with dns annotations
func NewPodController ¶
func NewPodController(client kubernetes.Interface, dns dns.Context, namespace string) (*PodController, error)
NewPodController creates a podController
type ServiceController ¶
ServiceController watches for services with dns annotations
func NewServiceController ¶
func NewServiceController(client kubernetes.Interface, dns dns.Context, namespace string) (*ServiceController, error)
NewServiceController creates a ServiceController