-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generated MultiNodeEnvironment CRD, client, and deepcopy
Signed-off-by: Kevin Klues <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,179 additions
and
0 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
api/nvidia.com/resource/gpu/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
53 changes: 53 additions & 0 deletions
53
deployments/helm/k8s-dra-driver/crds/gpu.nvidia.com_multinodeenvironments.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.14.0 | ||
name: multinodeenvironments.gpu.nvidia.com | ||
spec: | ||
group: gpu.nvidia.com | ||
names: | ||
kind: MultiNodeEnvironment | ||
listKind: MultiNodeEnvironmentList | ||
plural: multinodeenvironments | ||
singular: multinodeenvironment | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: MultiNodeEnvironment prepares a set of nodes to run a multi-node | ||
workload in. | ||
properties: | ||
apiVersion: | ||
description: |- | ||
APIVersion defines the versioned schema of this representation of an object. | ||
Servers should convert recognized schemas to the latest internal value, and | ||
may reject unrecognized values. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | ||
type: string | ||
kind: | ||
description: |- | ||
Kind is a string value representing the REST resource this object represents. | ||
Servers may infer this from the endpoint the client submits requests to. | ||
Cannot be updated. | ||
In CamelCase. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: MultiNodeEnvironmentSpec provides the spec for a MultiNodeEnvironment. | ||
properties: | ||
numNodes: | ||
type: integer | ||
resourceClaimName: | ||
type: string | ||
required: | ||
- numNodes | ||
- resourceClaimName | ||
type: object | ||
type: object | ||
served: true | ||
storage: true |
120 changes: 120 additions & 0 deletions
120
pkg/nvidia.com/resource/clientset/versioned/clientset.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
85 changes: 85 additions & 0 deletions
85
pkg/nvidia.com/resource/clientset/versioned/fake/clientset_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.