Documentation ¶
Overview ¶
Package podstatusctrl implements a controller that enforces the presence/absence of the remote unavailable label on local offloaded pods. The presence of the label indicates that the status of the offloaded pod can be managed/updated by the local cluster and can't currently be reflected/updated from the remote cluster, likely due to a remote cluster failure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasRemoteUnavailableLabel ¶
HasRemoteUnavailableLabel return true if the pod has the remote unavailable label.
Types ¶
type PodStatusReconciler ¶
type PodStatusReconciler struct { client.Client Scheme *runtime.Scheme LocalPodsClient client.Client }
PodStatusReconciler reconciles Liqo nodes.
func (*PodStatusReconciler) Reconcile ¶
Reconcile reconciles on Liqo nodes and manages the labels of the pods scheduled on them.
func (*PodStatusReconciler) SetupWithManager ¶
func (r *PodStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager monitors updates on nodes.
Click to show internal directories.
Click to hide internal directories.