Documentation ¶
Index ¶
- Constants
- func PatchNodeCIDR(ctx context.Context, kubeclientset kubernetes.Interface, name, cidr string) error
- func PatchNodeCIDRWithRetry(ctx context.Context, kubeclientset kubernetes.Interface, node *corev1.Node, ...) error
- func RecordNodeCIDRAssignmentFailed(ctx context.Context, node *corev1.Node, recorder record.EventRecorder)
- func RecordNodeStatusChange(ctx context.Context, node *corev1.Node, newStatus string, ...)
Constants ¶
View Source
const (
// CIDRAssignmentFailedStatus is the event when the Pod CIDR is failed to assign to a Node
CIDRAssignmentFailedStatus = "CIDRAssignmentFailed"
)
Variables ¶
This section is empty.
Functions ¶
func PatchNodeCIDR ¶
func PatchNodeCIDR(ctx context.Context, kubeclientset kubernetes.Interface, name, cidr string) error
PatchNodeCIDR patches the specified node's CIDR to the given value.
func PatchNodeCIDRWithRetry ¶
func PatchNodeCIDRWithRetry(ctx context.Context, kubeclientset kubernetes.Interface, node *corev1.Node, cidr string, recorder record.EventRecorder) error
PatchNodeCIDRWithRetry patches the specified node's CIDR to the given value with retries
func RecordNodeCIDRAssignmentFailed ¶
func RecordNodeCIDRAssignmentFailed(ctx context.Context, node *corev1.Node, recorder record.EventRecorder)
RecordNodeCIDRAssignmentFailed records an event related to a node CIDR assignment failure.
func RecordNodeStatusChange ¶
func RecordNodeStatusChange(ctx context.Context, node *corev1.Node, newStatus string, recorder record.EventRecorder)
RecordNodeStatusChange records an event related to a node status change. (Common to lifecycle and ipam)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.