serving

package
v0.0.0-...-94c4bcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
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

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 NewInferenceServiceReconciler

func NewInferenceServiceReconciler(setupLog logr.Logger, client client.Client, scheme *runtime.Scheme, clientReader client.Reader, modelRegistryReconcileEnabled, modelRegistrySkipTls bool, bearerToken string) *InferenceServiceReconciler

func (*InferenceServiceReconciler) DeleteResourcesIfNoIsvcExists

func (r *InferenceServiceReconciler) DeleteResourcesIfNoIsvcExists(ctx context.Context, log logr.Logger, namespace string) error

func (*InferenceServiceReconciler) Reconcile

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

func (r *InferenceServiceReconciler) SetupWithManager(mgr ctrl.Manager, setupLog logr.Logger) error

SetupWithManager sets up the controller with the Manager.

type ServingRuntimeReconciler

type ServingRuntimeReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ServingRuntimeReconciler reconciles a ServingRuntime object. Formerly known as MonitoringReconciler.

func (*ServingRuntimeReconciler) Reconcile

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.

Directories

Path Synopsis
llm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL