Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sNodeMasterMaintainer ¶
type K8sNodeMasterMaintainer struct {
// contains filtered or unexported fields
}
K8sNodeMasterMaintainer selects the agent pod with the smallest nodeName as the master agent pod.
func NewK8sNodeMasterMaintainer ¶
func NewK8sNodeMasterMaintainer(cri cri.Interface, clientset *kubernetes.Clientset) *K8sNodeMasterMaintainer
func (*K8sNodeMasterMaintainer) Register ¶
func (m *K8sNodeMasterMaintainer) Register(mc Component)
Register components which should be run when current node become mater. This func should only be called before calling Start.
func (*K8sNodeMasterMaintainer) Start ¶
func (m *K8sNodeMasterMaintainer) Start()
func (*K8sNodeMasterMaintainer) Stop ¶
func (m *K8sNodeMasterMaintainer) Stop()
Click to show internal directories.
Click to hide internal directories.