Documentation
¶
Index ¶
- Constants
- func RoleBindingsAreEqual(sm1 k8srbacv1.RoleBinding, sm2 k8srbacv1.RoleBinding) bool
- type InferenceGraphReconciler
- type InferenceServiceReconciler
- func (r *InferenceServiceReconciler) DeleteResourcesIfNoIsvcExists(ctx context.Context, log logr.Logger, namespace string) error
- func (r *InferenceServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *InferenceServiceReconciler) ReconcileServing(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *InferenceServiceReconciler) SetupWithManager(mgr ctrl.Manager, setupLog logr.Logger) error
- type ServingRuntimeReconciler
Constants ¶
const ( RoleBindingName = "prometheus-ns-access" OpenshiftMonitoringNS = "openshift-monitoring" // PrometheusClusterRole & MonitoringSA specified within odh-manifests PrometheusClusterRole = "prometheus-ns-access" MonitoringSA = "prometheus-custom" )
Variables ¶
This section is empty.
Functions ¶
func RoleBindingsAreEqual ¶
func RoleBindingsAreEqual(sm1 k8srbacv1.RoleBinding, sm2 k8srbacv1.RoleBinding) bool
RoleBindingsAreEqual checks if RoleBinding are equal, if not return false
Types ¶
type InferenceGraphReconciler ¶
type InferenceGraphReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder // contains filtered or unexported fields }
InferenceGraphReconciler reconciles a InferenceGraph object
func NewInferenceGraphReconciler ¶
func NewInferenceGraphReconciler(mgr ctrl.Manager) *InferenceGraphReconciler
func (*InferenceGraphReconciler) Reconcile ¶
func (r *InferenceGraphReconciler) 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.
func (*InferenceGraphReconciler) SetupWithManager ¶
func (r *InferenceGraphReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type InferenceServiceReconciler ¶
type InferenceServiceReconciler struct { client.Client Scheme *runtime.Scheme ModelRegistryEnabled bool // contains filtered or unexported fields }
InferenceServiceReconciler reconciles a InferenceService object
func (*InferenceServiceReconciler) DeleteResourcesIfNoIsvcExists ¶
func (*InferenceServiceReconciler) Reconcile ¶
func (r *InferenceServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is the top-level function to run the different integrations with ODH platform: - Model Registry integration (opt-in via CLI flag) - OpenShift and other ODH features, like Data Connections, Routes and certificate trust.
func (*InferenceServiceReconciler) ReconcileServing ¶
func (r *InferenceServiceReconciler) ReconcileServing(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile performs the reconciling of the Openshift objects for a Kubeflow InferenceService.
func (*InferenceServiceReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type ServingRuntimeReconciler ¶
ServingRuntimeReconciler reconciles a ServingRuntime object. Formerly known as MonitoringReconciler.
func (*ServingRuntimeReconciler) Reconcile ¶
func (r *ServingRuntimeReconciler) 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 ServingRuntime 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.19.1/pkg/reconcile
func (*ServingRuntimeReconciler) SetupWithManager ¶
func (r *ServingRuntimeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.