pod_group

package
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0

Copyright 2025 NVIDIA CORPORATION SPDX-License-Identifier: Apache-2.0

Index

Constants

View Source
const (
	PodGroupNameAnnotation = "pod-group-name"
)

Variables

This section is empty.

Functions

func Create

func Create(namespace, name, queue string) *v2alpha2.PodGroup

func CreateDistributedJob

func CreateDistributedJob(
	ctx context.Context, clientset *kubernetes.Clientset, k8sClient runtimeClient.WithWatch,
	ownerQueue *v2.Queue, count int, resources v1.ResourceRequirements,
	priorityClassName string,
) (*v2alpha2.PodGroup, []*v1.Pod)

func CreatePrefixedDistributedJob added in v0.6.0

func CreatePrefixedDistributedJob(
	ctx context.Context, clientset *kubernetes.Clientset, k8sClient runtimeClient.WithWatch,
	ownerQueue *v2.Queue, prefix string, count int, resources v1.ResourceRequirements,
	priorityClassName string,
) (*v2alpha2.PodGroup, []*v1.Pod)

func CreateWithPods

func CreateWithPods(ctx context.Context, client *kubernetes.Clientset, kaiClient *kaiClient.Clientset,
	podGroupName string, q *v2.Queue, numPods int, priorityClassName *string,
	requirements v1.ResourceRequirements) (*v2alpha2.PodGroup, []*v1.Pod)

func DeleteAllInNamespace

func DeleteAllInNamespace(
	ctx context.Context, client runtimeClient.Client, namespace string,
) error

func IsNotReadyForScheduling

func IsNotReadyForScheduling(event *v1.Event) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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