package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
IsValidMode returns true if the given mode is valid.
New returns a new syncer for a given node.
# Constants
InvalidModeEvent is the event recorded when the CIDR range cannot be sync'd due to the cluster running in the wrong mode.
InvalidPodCIDR is the event recorded when a node is found with an invalid PodCIDR.
MismatchEvent is the event recorded when the CIDR range allocated in the node spec does not match what has been allocated in the cloud.
# Variables
SyncFromCloud is the mode that synchronizes the IP allocation from the cloud platform to the node.
SyncFromCluster is the mode that synchronizes the IP allocation determined by the k8s controller to the cloud provider.
# Type aliases
NodeSyncMode is the mode the cloud CIDR allocator runs in.