Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RuntimeEndpoint string
)
Functions ¶
func GetNodeHostIPs ¶
GetNodeHostIPs returns the provided node's IP(s); either a single "primary IP" for the node in a single-stack cluster, or a dual-stack pair of IPs in a dual-stack cluster (for nodes that actually have dual-stack IPs). Among other things, the IPs returned from this function are used as the `.status.PodIPs` values for host-network pods on the node, and the first IP is used as the `.status.HostIP` for all pods on the node. https://github.com/kubernetes/kubernetes/blob/971477d9b5cc4bf5ae62abe3bbc46e534f481e1b/pkg/util/node/node.go
func WriteCNIConfig ¶
Types ¶
type NodeController ¶
type NodeController struct {
// contains filtered or unexported fields
}
func NewNodeController ¶
func NewNodeController(nodeName string, client clientset.Interface, nodeInformer coreinformers.NodeInformer) *NodeController
Click to show internal directories.
Click to hide internal directories.