Documentation
¶
Index ¶
- Constants
- func CreateScalingPod(unschedulablePodNamespace, unschedulablePodName string, numDevices int) *corev1.Pod
- func CreateUnschedulableFractionPod(name, namespace string, fractionValue string, numDevices int) *corev1.Pod
- func CreateUnschedulablePod(name, namespace string, annotations map[string]string) *corev1.Pod
- func CreateUnschedulablePodWithGpuMemory(name, namespace string, gpuMemory string, numDevices int) *corev1.Pod
- func NewFakeClient(interceptorFuncs *interceptor.Funcs, objects ...client.Object) client.Client
Constants ¶
View Source
const ( SchedulerName = "kai-scheduler" ScalingPodNamespace = "kai-scale-adjust" ScalingPodAppLabel = "scaling-pod" ScalingPodServiceAccount = "scaling-pod" )
Variables ¶
This section is empty.
Functions ¶
func CreateScalingPod ¶
func CreateUnschedulablePod ¶
func NewFakeClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.