|
25 | 25 | singular: openmodel |
26 | 26 | scope: Cluster |
27 | 27 | versions: |
28 | | - - name: v1alpha1 |
| 28 | + - additionalPrinterColumns: |
| 29 | + - description: Owner of the model |
| 30 | + jsonPath: .spec.ownedBy |
| 31 | + name: OWNEDBY |
| 32 | + type: string |
| 33 | + - description: Time since creation |
| 34 | + jsonPath: .metadata.creationTimestamp |
| 35 | + name: AGE |
| 36 | + type: date |
| 37 | + - description: Model hub name |
| 38 | + jsonPath: .spec.source.modelHub.name |
| 39 | + name: MODELHUB |
| 40 | + type: string |
| 41 | + - description: Model ID on the model hub |
| 42 | + jsonPath: .spec.source.modelHub.modelID |
| 43 | + name: MODELID |
| 44 | + type: string |
| 45 | + - description: URI of the model when using a custom source (e.g., s3://, ollama://) |
| 46 | + jsonPath: .spec.source.uri |
| 47 | + name: URI |
| 48 | + type: string |
| 49 | + name: v1alpha1 |
29 | 50 | schema: |
30 | 51 | openAPIV3Schema: |
31 | 52 | description: OpenModel is the Schema for the open models API |
|
50 | 71 | spec: |
51 | 72 | description: ModelSpec defines the desired state of Model |
52 | 73 | properties: |
| 74 | + createdAt: |
| 75 | + description: |- |
| 76 | + CreatedAt represents the creation timestamp of the running models serving by the backends, |
| 77 | + which will be exported as the field of "Created" in openai-compatible API "/models". |
| 78 | + It follows the format of RFC 3339, for example "2024-05-21T10:00:00Z". |
| 79 | + format: date-time |
| 80 | + type: string |
53 | 81 | familyName: |
54 | 82 | description: |- |
55 | 83 | FamilyName represents the model type, like llama2, which will be auto injected |
@@ -115,6 +143,13 @@ spec: |
115 | 143 | maxItems: 8 |
116 | 144 | type: array |
117 | 145 | type: object |
| 146 | + ownedBy: |
| 147 | + default: llmaz |
| 148 | + description: |- |
| 149 | + OwnedBy represents the owner of the running models serving by the backends, |
| 150 | + which will be exported as the field of "OwnedBy" in openai-compatible API "/models". |
| 151 | + Default to "llmaz" if not set. |
| 152 | + type: string |
118 | 153 | source: |
119 | 154 | description: |- |
120 | 155 | Source represents the source of the model, there're several ways to load |
@@ -240,4 +275,3 @@ spec: |
240 | 275 | storage: true |
241 | 276 | subresources: |
242 | 277 | status: {} |
243 | | - |
|
0 commit comments