Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevenvReconciler ¶
type DevenvReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
PendingNodesForDeletion []string
}
DevenvReconciler reconciles a Devenv object
func (*DevenvReconciler) 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. the Devenv 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.18.2/pkg/reconcile
func (*DevenvReconciler) SetupWithManager ¶
func (r *DevenvReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DevenvStatusUpdate ¶
type DevenvStatusUpdate struct {
ControlPlane []tanuudevv1alpha1.NodeInfo
Workers []tanuudevv1alpha1.NodeInfo
Gpus []tanuudevv1alpha1.NodeInfo
IpAddress string
CloudProvider string
Status string
KubeConfig string
Services []string
WorkerReplicas int
GpuReplicas int
WorkerSelector string
CtrlSelector string
GpuSelector string
}
DevenvStatusUpdate represents the status information you want to update for a Devenv object.
func CopyDevenvUpdater ¶
func CopyDevenvUpdater(src tanuudevv1alpha1.Devenv) DevenvStatusUpdate
type Environment ¶
type KubeConfig ¶
Click to show internal directories.
Click to hide internal directories.