package
0.32.0-alpha.0
Repository: https://github.com/kubernetes/component-helpers.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetHostname returns OS's hostname if 'hostnameOverride' is empty; otherwise, it returns 'hostnameOverride'.
GetNodeCondition extracts the provided condition from the given status and returns that.
ParseNodeIPAnnotation parses the `alpha.kubernetes.io/provided-node-ip` annotation, which can be either a single IP address or a comma-separated pair of IP addresses.
ParseNodeIPArgument parses kubelet's --node-ip argument.
PatchNodeCIDRs patches the specified node.CIDR=cidrs[0] and node.CIDRs to the given value.
PatchNodeStatus patches node status.
SetNodeCondition updates specific node condition with patch operation.