package cloud
import "k8s.io/kubernetes/pkg/controller/cloud"
Index ¶
- Variables
- type CloudNodeController
- func NewCloudNodeController( nodeInformer coreinformers.NodeInformer, kubeClient clientset.Interface, cloud cloudprovider.Interface, nodeMonitorPeriod time.Duration, nodeStatusUpdateFrequency time.Duration) *CloudNodeController
- func (cnc *CloudNodeController) AddCloudNode(obj interface{})
- func (cnc *CloudNodeController) MonitorNode()
- func (cnc *CloudNodeController) Run()
- func (cnc *CloudNodeController) UpdateNodeStatus()
Variables ¶
var UpdateNodeSpecBackoff = wait.Backoff{ Steps: 20, Duration: 50 * time.Millisecond, Jitter: 1.0, }
Types ¶
type CloudNodeController ¶
type CloudNodeController struct {
// contains filtered or unexported fields
}
func NewCloudNodeController ¶
func NewCloudNodeController( nodeInformer coreinformers.NodeInformer, kubeClient clientset.Interface, cloud cloudprovider.Interface, nodeMonitorPeriod time.Duration, nodeStatusUpdateFrequency time.Duration) *CloudNodeController
NewCloudNodeController creates a CloudNodeController object
func (*CloudNodeController) AddCloudNode ¶
func (cnc *CloudNodeController) AddCloudNode(obj interface{})
This processes nodes that were added into the cluster, and cloud initializea them if appropriate
func (*CloudNodeController) MonitorNode ¶
func (cnc *CloudNodeController) MonitorNode()
Monitor node queries the cloudprovider for non-ready nodes and deletes them if they cannot be found in the cloud provider
func (*CloudNodeController) Run ¶
func (cnc *CloudNodeController) Run()
This controller deletes a node if kubelet is not reporting and the node is gone from the cloud provider.
func (*CloudNodeController) UpdateNodeStatus ¶
func (cnc *CloudNodeController) UpdateNodeStatus()
UpdateNodeStatus updates the node status, such as node addresses
Source Files ¶
nodecontroller.go
- Version
- v1.7.11
- Published
- Nov 22, 2017
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 1 minute ago –
Tools for package owners.