Documentation
¶
Index ¶
- func GetNodeGroupsMCPs(ctx context.Context, cli client.Client, nodeGroups []nropv1alpha1.NodeGroup) ([]*machineconfigv1.MachineConfigPool, error)
- func IsMachineConfigPoolUpdated(instanceName string, mcp *machineconfigv1.MachineConfigPool) bool
- type KubeletConfigReconciler
- type NUMAResourcesOperatorReconciler
- type NUMAResourcesSchedulerReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeGroupsMCPs ¶
func GetNodeGroupsMCPs(ctx context.Context, cli client.Client, nodeGroups []nropv1alpha1.NodeGroup) ([]*machineconfigv1.MachineConfigPool, error)
func IsMachineConfigPoolUpdated ¶
func IsMachineConfigPoolUpdated(instanceName string, mcp *machineconfigv1.MachineConfigPool) bool
Types ¶
type KubeletConfigReconciler ¶
type KubeletConfigReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder Namespace string }
KubeletConfigReconciler reconciles a KubeletConfig object
func (*KubeletConfigReconciler) SetupWithManager ¶
func (r *KubeletConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type NUMAResourcesOperatorReconciler ¶
type NUMAResourcesOperatorReconciler struct { client.Client Scheme *runtime.Scheme Platform platform.Platform APIManifests apimanifests.Manifests RTEManifests rtemanifests.Manifests Helper *deployer.Helper Namespace string ImageSpec string ImagePullPolicy corev1.PullPolicy }
NUMAResourcesOperatorReconciler reconciles a NUMAResourcesOperator object
func (*NUMAResourcesOperatorReconciler) Reconcile ¶
func (r *NUMAResourcesOperatorReconciler) 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.9.2/pkg/reconcile
func (*NUMAResourcesOperatorReconciler) SetupWithManager ¶
func (r *NUMAResourcesOperatorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NUMAResourcesSchedulerReconciler ¶
type NUMAResourcesSchedulerReconciler struct { client.Client Scheme *runtime.Scheme SchedulerManifests schedmanifests.Manifests Namespace string }
NUMAResourcesSchedulerReconciler reconciles a NUMAResourcesScheduler object
func (*NUMAResourcesSchedulerReconciler) Reconcile ¶
func (r *NUMAResourcesSchedulerReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the NUMAResourcesScheduler object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.2/pkg/reconcile
func (*NUMAResourcesSchedulerReconciler) SetupWithManager ¶
func (r *NUMAResourcesSchedulerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.