|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.16.1 |
| 7 | + name: bindrequests.scheduling.run.ai |
| 8 | +spec: |
| 9 | + group: scheduling.run.ai |
| 10 | + names: |
| 11 | + kind: BindRequest |
| 12 | + listKind: BindRequestList |
| 13 | + plural: bindrequests |
| 14 | + singular: bindrequest |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - name: v1alpha2 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: BindRequest is the Schema for the bindrequests API |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: |- |
| 24 | + APIVersion defines the versioned schema of this representation of an object. |
| 25 | + Servers should convert recognized schemas to the latest internal value, and |
| 26 | + may reject unrecognized values. |
| 27 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 28 | + type: string |
| 29 | + kind: |
| 30 | + description: |- |
| 31 | + Kind is a string value representing the REST resource this object represents. |
| 32 | + Servers may infer this from the endpoint the client submits requests to. |
| 33 | + Cannot be updated. |
| 34 | + In CamelCase. |
| 35 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 36 | + type: string |
| 37 | + metadata: |
| 38 | + type: object |
| 39 | + spec: |
| 40 | + description: BindRequestSpec defines the desired state of BindRequest |
| 41 | + properties: |
| 42 | + backoffLimit: |
| 43 | + description: BackoffLimit is the number of retries before giving up |
| 44 | + format: int32 |
| 45 | + type: integer |
| 46 | + podName: |
| 47 | + description: PodName is the name of the pod to bind |
| 48 | + type: string |
| 49 | + receivedGPU: |
| 50 | + description: ReceivedGPU is the amount of GPUs that were received |
| 51 | + properties: |
| 52 | + count: |
| 53 | + description: Count is the amount of GPUs devices that were received |
| 54 | + type: integer |
| 55 | + portion: |
| 56 | + description: |- |
| 57 | + This is the portion size that the pod will receive from each connected gpu device |
| 58 | + This is a serialized float that should be written as a decimal point number. |
| 59 | + type: string |
| 60 | + type: object |
| 61 | + receivedResourceType: |
| 62 | + description: ReceivedResourceType is the type of the resource that |
| 63 | + was received [Regular/Fraction] |
| 64 | + type: string |
| 65 | + selectedGPUGroups: |
| 66 | + description: |- |
| 67 | + SelectedGPUGroups is the name of the selected GPU groups for fractional GPU resources. |
| 68 | + Only if the RecievedResourceType is "Fraction" |
| 69 | + items: |
| 70 | + type: string |
| 71 | + type: array |
| 72 | + selectedNode: |
| 73 | + description: SelectedNode is the name of the selected node the pod |
| 74 | + should be bound to |
| 75 | + type: string |
| 76 | + type: object |
| 77 | + status: |
| 78 | + description: BindRequestStatus defines the observed state of BindRequest |
| 79 | + properties: |
| 80 | + failedAttempts: |
| 81 | + description: FailedAttempts is the number of failed attempts |
| 82 | + format: int32 |
| 83 | + type: integer |
| 84 | + phase: |
| 85 | + description: Phase is the current phase of the bindrequest. [Pending/Succeeded/Failed] |
| 86 | + type: string |
| 87 | + reason: |
| 88 | + description: Reason is the reason for the current phase |
| 89 | + type: string |
| 90 | + type: object |
| 91 | + type: object |
| 92 | + served: true |
| 93 | + storage: true |
| 94 | + subresources: |
| 95 | + status: {} |
0 commit comments