Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ResourceName is the base name used for MLflow resources (deployments, services, etc.) ResourceName = "mlflow" // ClusterRoleName is the name of the shared ClusterRole used by all MLflow instances ClusterRoleName = "mlflow" // ServiceAccountName is the name of the service account for MLflow deployments ServiceAccountName = "mlflow-sa" // TLSSecretName is the default name for the TLS secret used by the MLflow server TLSSecretName = "mlflow-tls" // StaticPrefix is the URL prefix for MLflow when deployed via the operator StaticPrefix = "/mlflow" )
Variables ¶
This section is empty.
Functions ¶
func IsConsoleLinkAvailable ¶
func IsConsoleLinkAvailable(discoveryClient discovery.DiscoveryInterface) (bool, error)
IsConsoleLinkAvailable checks if ConsoleLink CRD is available in the cluster using discovery API
func IsHTTPRouteAvailable ¶
func IsHTTPRouteAvailable(discoveryClient discovery.DiscoveryInterface) (bool, error)
IsHTTPRouteAvailable checks if HTTPRoute CRD is available in the cluster using discovery API
Types ¶
type HelmRenderer ¶
type HelmRenderer struct {
// contains filtered or unexported fields
}
HelmRenderer handles rendering of Helm charts
func NewHelmRenderer ¶
func NewHelmRenderer(chartPath string) *HelmRenderer
NewHelmRenderer creates a new HelmRenderer
func (*HelmRenderer) RenderChart ¶
func (h *HelmRenderer) RenderChart(mlflow *mlflowv1.MLflow, namespace string) ([]*unstructured.Unstructured, error)
RenderChart renders the Helm chart with the given values
type MLflowReconciler ¶
type MLflowReconciler struct {
client.Client
Scheme *runtime.Scheme
Namespace string
ChartPath string
ConsoleLinkAvailable bool
HTTPRouteAvailable bool
}
MLflowReconciler reconciles a MLflow object
func (*MLflowReconciler) 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 (*MLflowReconciler) SetupWithManager ¶
func (r *MLflowReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.