Documentation
¶
Index ¶
- Constants
- func GetServiceVersionKeyToBFBVersionValue() map[string]func(*provisioningv1.BFB) string
- type DPUDeploymentReconciler
- func (r *DPUDeploymentReconciler) BFBToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DPUDeploymentReconciler) DPUFlavorToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DPUDeploymentReconciler) DPUServiceConfigurationToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DPUDeploymentReconciler) DPUServiceTemplateToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
- func (r *DPUDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *DPUDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
- type DPUServiceCredentialRequestReconciler
- type DPUServiceReconciler
- func (r *DPUServiceReconciler) DPUClusterToDPUService(ctx context.Context, _ client.Object) []ctrl.Request
- func (r *DPUServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *DPUServiceReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- type DPUServiceTemplateReconciler
Constants ¶
const ( // ServiceInterfaceInterfaceNameLabel label identifies a specific interface of a DPUService. ServiceInterfaceInterfaceNameLabel = "svc.dpu.nvidia.com/interface" // ConfigPortsServiceAnnotationKeyPrefix is the prefix of the annotation key that is applied to DPUService // serviceDaemonSet objects to expose the Service name to the application ConfigPortsServiceAnnotationKeyPrefix = "svc.dpu.nvidia.com/config-port-service" )
const (
DPUServiceCredentialRequestControllerName = "dpuservicecredentialrequestcontroller"
)
Variables ¶
This section is empty.
Functions ¶
func GetServiceVersionKeyToBFBVersionValue ¶
func GetServiceVersionKeyToBFBVersionValue() map[string]func(*provisioningv1.BFB) string
GetServiceVersionKeyToBFBVersionValue returns a map that defines the supported version matching in DPUDeployment Controller. In addition, it returns a boolean to indicate if the values are set correctly or are dummy. The key is the annotation we expect the chart author to define in the Chart.yaml -> annotations The value is the version found in a BFB object given as input that corresponds to the aforementioned key
Types ¶
type DPUDeploymentReconciler ¶
DPUDeploymentReconciler reconciles a DPUDeployment object
func (*DPUDeploymentReconciler) BFBToDPUDeployment ¶
func (r *DPUDeploymentReconciler) BFBToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
BFBToDPUDeployment returns the DPUDeployments associated with a BFB
func (*DPUDeploymentReconciler) DPUFlavorToDPUDeployment ¶
func (r *DPUDeploymentReconciler) DPUFlavorToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
DPUFlavorToDPUDeployment returns the DPUDeployments associated with a DPUFlavor
func (*DPUDeploymentReconciler) DPUServiceConfigurationToDPUDeployment ¶
func (r *DPUDeploymentReconciler) DPUServiceConfigurationToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
DPUServiceConfigurationToDPUDeployment returns the DPUDeployments associated with a DPUServiceConfiguration
func (*DPUDeploymentReconciler) DPUServiceTemplateToDPUDeployment ¶
func (r *DPUDeploymentReconciler) DPUServiceTemplateToDPUDeployment(ctx context.Context, o client.Object) []ctrl.Request
DPUServiceTemplateToDPUDeployment returns the DPUDeployments associated with a DPUServiceTemplate
func (*DPUDeploymentReconciler) Reconcile ¶
func (r *DPUDeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles changes in a DPUDeployment object
func (*DPUDeploymentReconciler) SetupWithManager ¶
func (r *DPUDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DPUServiceCredentialRequestReconciler ¶
DPUServiceCredentialRequestReconciler reconciles a DPUServiceCredentialRequest object
func (*DPUServiceCredentialRequestReconciler) SetupWithManager ¶
func (r *DPUServiceCredentialRequestReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DPUServiceReconciler ¶
DPUServiceReconciler reconciles a DPUService object
func (*DPUServiceReconciler) DPUClusterToDPUService ¶
func (r *DPUServiceReconciler) DPUClusterToDPUService(ctx context.Context, _ client.Object) []ctrl.Request
DPUClusterToDPUService ensures all DPUServices are updated each time there is an update to a DPUCluster.
func (*DPUServiceReconciler) Reconcile ¶
func (r *DPUServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles changes in a DPUService.
func (*DPUServiceReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type DPUServiceTemplateReconciler ¶
type DPUServiceTemplateReconciler struct { client.Client Scheme *runtime.Scheme // ChartHelper is used to do relevant operations on a chart ChartHelper utils.ChartHelper // contains filtered or unexported fields }
DPUServiceTemplateReconciler reconciles a DPUServiceTemplate object
func (*DPUServiceTemplateReconciler) Reconcile ¶
func (r *DPUServiceTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles changes in a DPUServiceTemplate object
func (*DPUServiceTemplateReconciler) SetupWithManager ¶
func (r *DPUServiceTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.