Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Increase MaxConcurrentReconciles number #14

@hbinkim

Description

@hbinkim

Just so we don't forget about it.

// SetupWithManager creates a new CephCluster Controller and adds it to the Manager
func (r *CephClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
	return ctrl.NewControllerManagedBy(mgr).
		For(&hypersdsv1alpha1.CephCluster{}).
		Watches(&source.Kind{Type: &v1.RoleBinding{}},
			&handler.EnqueueRequestForOwner{IsController: true, OwnerType: &hypersdsv1alpha1.CephCluster{}}).
		WithOptions(controller.Options{MaxConcurrentReconciles: 10}).
		Complete(r)
}

Looking at operator-framework/operator-sdk#1938 seems like we can come up with an appropriate number and see how it goes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions