package nodecontroller
import "k8s.io/kubernetes/pkg/cloudprovider/nodecontroller"
Package nodecontroller contains code for syncing cloud instances with minion registry
Index ¶
- Variables
- type NodeController
- func NewNodeController( cloud cloudprovider.Interface, kubeClient client.Interface, registerRetryCount int, podEvictionTimeout time.Duration, deletingPodsRateLimiter util.RateLimiter, nodeMonitorGracePeriod time.Duration, nodeStartupGracePeriod time.Duration, nodeMonitorPeriod time.Duration, clusterCIDR *net.IPNet, allocateNodeCIDRs bool) *NodeController
- func (nc *NodeController) Run(period time.Duration)
Variables ¶
var ( ErrRegistration = errors.New("unable to register all nodes.") ErrQueryIPAddress = errors.New("unable to query IP address.") ErrCloudInstance = errors.New("cloud provider doesn't support instances.") )
Types ¶
type NodeController ¶
type NodeController struct {
// contains filtered or unexported fields
}
func NewNodeController ¶
func NewNodeController( cloud cloudprovider.Interface, kubeClient client.Interface, registerRetryCount int, podEvictionTimeout time.Duration, deletingPodsRateLimiter util.RateLimiter, nodeMonitorGracePeriod time.Duration, nodeStartupGracePeriod time.Duration, nodeMonitorPeriod time.Duration, clusterCIDR *net.IPNet, allocateNodeCIDRs bool) *NodeController
NewNodeController returns a new node controller to sync instances from cloudprovider.
func (*NodeController) Run ¶
func (nc *NodeController) Run(period time.Duration)
Run starts an asynchronous loop that monitors the status of cluster nodes.
Source Files ¶
doc.go nodecontroller.go
- Version
- v0.18.2
- Published
- Jun 8, 2015
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 19 seconds ago –
Tools for package owners.