Documentation ¶
Index ¶
Constants ¶
const (
DeletionTimeout = 2 * 60 * time.Second
)
Same timeout used on PDBs: https://github.com/kubernetes/kubernetes/blob/d7123a65/pkg/controller/disruption/disruption.go#L68
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatchAPI ¶
type CloudWatchAPI interface {
DescribeAlarms(ctx context.Context, params *cloudwatch.DescribeAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmsOutput, error)
}
type ZoneAwareUpdateReconciler ¶
type ZoneAwareUpdateReconciler struct { client.Client Scheme *runtime.Scheme Logger logr.Logger PodZoneHelper *podzone.Helper AlarmStateProvider utils.AlarmStateProvider }
ZoneAwareUpdateReconciler reconciles a ZoneAwareUpdate object
func (*ZoneAwareUpdateReconciler) Reconcile ¶
func (r *ZoneAwareUpdateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*ZoneAwareUpdateReconciler) SetupWithManager ¶
func (r *ZoneAwareUpdateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ZoneDisruptionBudgetReconciler ¶
type ZoneDisruptionBudgetReconciler struct { client.Client Scheme *runtime.Scheme Logger logr.Logger PodZoneHelper *podzone.Helper }
ZoneDisruptionBudgetReconciler reconciles a ZoneDisruptionBudget object
func (*ZoneDisruptionBudgetReconciler) Reconcile ¶
func (r *ZoneDisruptionBudgetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile
func (*ZoneDisruptionBudgetReconciler) SetupWithManager ¶
func (r *ZoneDisruptionBudgetReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.