Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchServiceAddress ¶ added in v0.5.12
it will first fetch from annotations kube-vip.io/loadbalancerIPs, then from spec.loadbalancerIP
Types ¶
type Instance ¶
type Instance struct { // Kubernetes service mapping Vip string Port int32 UID string Type string ServiceName string // contains filtered or unexported fields }
Instance defines an instance of everything needed to manage a vip
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager defines the manager of the load-balancing services
func NewManager ¶
func NewManager(configMap string, config *kubevip.Config, clientset *kubernetes.Clientset) (*Manager, error)
NewManager will create a new managing object
func (*Manager) PrometheusCollector ¶
func (sm *Manager) PrometheusCollector() []prometheus.Collector
PrometheusCollector - required for statistics // TODO - improve monitoring
Click to show internal directories.
Click to hide internal directories.