Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

release v0.10.0 #238

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Image URL to use all building/pushing image targets
VERSION ?= v0.9.2
VERSION ?= v0.10.0
IMG ?= docker.io/substratusai/controller-manager:${VERSION}
IMG_SCI_KIND ?= docker.io/substratusai/sci-kind:${VERSION}
IMG_SCI_GCP ?= docker.io/substratusai/sci-gcp:${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: docker.io/substratusai/controller-manager
newTag: v0.9.2
newTag: v0.10.0
2 changes: 1 addition & 1 deletion config/sci-gcp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: sci
newName: docker.io/substratusai/sci-gcp
newTag: v0.9.2
newTag: v0.10.0
2 changes: 1 addition & 1 deletion config/sci-kind/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ kind: Kustomization
images:
- name: sci
newName: docker.io/substratusai/sci-kind
newTag: v0.9.2
newTag: v0.10.0
6 changes: 4 additions & 2 deletions docs/api/generated.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Package v1 contains API Schema definitions for Substratus.
_Appears in:_
- [DatasetStatus](#datasetstatus)
- [ModelStatus](#modelstatus)
- [NotebookStatus](#notebookstatus)

| Field | Description |
| --- | --- |
Expand Down Expand Up @@ -202,8 +203,8 @@ _Appears in:_
| `image` _string_ | Image that contains model code and dependencies. |
| `build` _[Build](#build)_ | Build specifies how to build an image. |
| `resources` _[Resources](#resources)_ | Resources are the compute resources required by the container. |
| `baseModel` _[ObjectRef](#objectref)_ | BaseModel should be set in order to mount another model to be used for transfer learning. |
| `trainingDataset` _[ObjectRef](#objectref)_ | Dataset to mount for training. |
| `model` _[ObjectRef](#objectref)_ | Model should be set in order to mount another model to be used for transfer learning. |
| `dataset` _[ObjectRef](#objectref)_ | Dataset to mount for training. |
| `params` _object (keys:string, values:IntOrString)_ | Parameters are passing into the model training/loading container as environment variables. Environment variable name will be `"PARAM_" + uppercase(key)`. |


Expand Down Expand Up @@ -278,6 +279,7 @@ _Appears in:_
| --- | --- |
| `ready` _boolean_ | Ready indicates that the Notebook is ready to serve. See Conditions for more details. |
| `conditions` _[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#condition-v1-meta) array_ | Conditions is the list of conditions that describe the current state of the Notebook. |
| `artifacts` _[ArtifactsStatus](#artifactsstatus)_ | Artifacts status. |
| `buildUpload` _[UploadStatus](#uploadstatus)_ | BuildUpload contains the status of the build context upload. |


Expand Down
48 changes: 27 additions & 21 deletions install/gcp/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,6 @@ spec:
spec:
description: Spec is the desired state of the Model.
properties:
baseModel:
description: BaseModel should be set in order to mount another model
to be used for transfer learning.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
build:
description: Build specifies how to build an image.
properties:
Expand Down Expand Up @@ -402,6 +392,15 @@ spec:
items:
type: string
type: array
dataset:
description: Dataset to mount for training.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
env:
additionalProperties:
type: string
Expand All @@ -410,6 +409,16 @@ spec:
image:
description: Image that contains model code and dependencies.
type: string
model:
description: Model should be set in order to mount another model to
be used for transfer learning.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
params:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -450,15 +459,6 @@ spec:
format: int64
type: integer
type: object
trainingDataset:
description: Dataset to mount for training.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
type: object
status:
description: Status is the observed state of the Model.
Expand Down Expand Up @@ -758,6 +758,12 @@ spec:
status:
description: Status is the observed state of the Notebook.
properties:
artifacts:
description: Artifacts status.
properties:
url:
type: string
type: object
buildUpload:
description: BuildUpload contains the status of the build context
upload.
Expand Down Expand Up @@ -1595,7 +1601,7 @@ spec:
envFrom:
- configMapRef:
name: system
image: docker.io/substratusai/controller-manager:v0.9.2
image: docker.io/substratusai/controller-manager:v0.10.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1645,7 +1651,7 @@ spec:
- envFrom:
- configMapRef:
name: system
image: docker.io/substratusai/sci-gcp:v0.9.2
image: docker.io/substratusai/sci-gcp:v0.10.0
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 15
Expand Down
48 changes: 27 additions & 21 deletions install/kind/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,6 @@ spec:
spec:
description: Spec is the desired state of the Model.
properties:
baseModel:
description: BaseModel should be set in order to mount another model
to be used for transfer learning.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
build:
description: Build specifies how to build an image.
properties:
Expand Down Expand Up @@ -402,6 +392,15 @@ spec:
items:
type: string
type: array
dataset:
description: Dataset to mount for training.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
env:
additionalProperties:
type: string
Expand All @@ -410,6 +409,16 @@ spec:
image:
description: Image that contains model code and dependencies.
type: string
model:
description: Model should be set in order to mount another model to
be used for transfer learning.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
params:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -450,15 +459,6 @@ spec:
format: int64
type: integer
type: object
trainingDataset:
description: Dataset to mount for training.
properties:
name:
description: Name of Kubernetes object.
type: string
required:
- name
type: object
type: object
status:
description: Status is the observed state of the Model.
Expand Down Expand Up @@ -758,6 +758,12 @@ spec:
status:
description: Status is the observed state of the Notebook.
properties:
artifacts:
description: Artifacts status.
properties:
url:
type: string
type: object
buildUpload:
description: BuildUpload contains the status of the build context
upload.
Expand Down Expand Up @@ -1660,7 +1666,7 @@ spec:
envFrom:
- configMapRef:
name: system
image: docker.io/substratusai/controller-manager:v0.9.2
image: docker.io/substratusai/controller-manager:v0.10.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1739,7 +1745,7 @@ spec:
- envFrom:
- configMapRef:
name: system
image: docker.io/substratusai/sci-kind:v0.9.2
image: docker.io/substratusai/sci-kind:v0.10.0
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 15
Expand Down
2 changes: 1 addition & 1 deletion install/kubectl-plugins.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -xe

version=v0.9.2
version=v0.10.0
os=$(uname -s)
arch=$(uname -m | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')

Expand Down