Skip to content

Commit 4d61ca1

Browse files
authored
fix: helm bugs, add public gpu info map (#80)
* fix: add gpu info, bump helm version, fix local tsdb auth issue * fix: rename client profile to workload profile
1 parent 9e790b9 commit 4d61ca1

24 files changed

+322
-208
lines changed

PROJECT

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ resources:
7676
namespaced: true
7777
controller: true
7878
domain: tensor-fusion.ai
79-
kind: ClientProfile
79+
kind: WorkloadProfile
8080
path: github.com/NexusGPU/tensor-fusion/api/v1
8181
version: v1
8282
- api:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Tensor Fusion is a state-of-the-art **GPU virtualization and pooling solution**
5050

5151
### GPU Live-migration [End-to-end feature WIP]
5252

53-
![Live-migration PoC](https://cdn.tensor-fusion.ai//demo/gpu-migration-poc.gif)
53+
https://cdn.tensor-fusion.ai/GPU_Content_Migration.mp4
5454

5555
## 🚀 Quick Start
5656

api/v1/clientprofile_types.go api/v1/workloadprofile_types.go

+12-12
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const (
3030
QoSCritical QoSLevel = "critical"
3131
)
3232

33-
// ClientProfileSpec defines the desired state of ClientProfile.
34-
type ClientProfileSpec struct {
33+
// WorkloadProfileSpec defines the desired state of WorkloadProfile.
34+
type WorkloadProfileSpec struct {
3535
// +optional
3636
PoolName string `json:"poolName,omitempty"`
3737

@@ -45,31 +45,31 @@ type ClientProfileSpec struct {
4545
IsLocalGPU bool `json:"isLocalGPU"`
4646
}
4747

48-
// ClientProfileStatus defines the observed state of ClientProfile.
49-
type ClientProfileStatus struct {
48+
// WorkloadProfileStatus defines the observed state of WorkloadProfile.
49+
type WorkloadProfileStatus struct {
5050
}
5151

5252
// +kubebuilder:object:root=true
5353
// +kubebuilder:subresource:status
5454

55-
// ClientProfile is the Schema for the clientprofiles API.
56-
type ClientProfile struct {
55+
// WorkloadProfile is the Schema for the workloadprofiles API.
56+
type WorkloadProfile struct {
5757
metav1.TypeMeta `json:",inline"`
5858
metav1.ObjectMeta `json:"metadata,omitempty"`
5959

60-
Spec ClientProfileSpec `json:"spec,omitempty"`
61-
Status ClientProfileStatus `json:"status,omitempty"`
60+
Spec WorkloadProfileSpec `json:"spec,omitempty"`
61+
Status WorkloadProfileStatus `json:"status,omitempty"`
6262
}
6363

6464
// +kubebuilder:object:root=true
6565

66-
// ClientProfileList contains a list of ClientProfile.
67-
type ClientProfileList struct {
66+
// WorkloadProfileList contains a list of WorkloadProfile.
67+
type WorkloadProfileList struct {
6868
metav1.TypeMeta `json:",inline"`
6969
metav1.ListMeta `json:"metadata,omitempty"`
70-
Items []ClientProfile `json:"items"`
70+
Items []WorkloadProfile `json:"items"`
7171
}
7272

7373
func init() {
74-
SchemeBuilder.Register(&ClientProfile{}, &ClientProfileList{})
74+
SchemeBuilder.Register(&WorkloadProfile{}, &WorkloadProfileList{})
7575
}

api/v1/zz_generated.deepcopy.go

+90-90
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/tensor-fusion/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.2.10
18+
version: 1.2.11
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/tensor-fusion/crds/tensor-fusion.ai_clientprofiles.yaml charts/tensor-fusion/crds/tensor-fusion.ai_workloadprofiles.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.16.4
7-
name: clientprofiles.tensor-fusion.ai
7+
name: workloadprofiles.tensor-fusion.ai
88
spec:
99
group: tensor-fusion.ai
1010
names:
11-
kind: ClientProfile
12-
listKind: ClientProfileList
13-
plural: clientprofiles
14-
singular: clientprofile
11+
kind: WorkloadProfile
12+
listKind: WorkloadProfileList
13+
plural: workloadprofiles
14+
singular: workloadprofile
1515
scope: Namespaced
1616
versions:
1717
- name: v1
1818
schema:
1919
openAPIV3Schema:
20-
description: ClientProfile is the Schema for the clientprofiles API.
20+
description: WorkloadProfile is the Schema for the workloadprofiles API.
2121
properties:
2222
apiVersion:
2323
description: |-
@@ -37,7 +37,7 @@ spec:
3737
metadata:
3838
type: object
3939
spec:
40-
description: ClientProfileSpec defines the desired state of ClientProfile.
40+
description: WorkloadProfileSpec defines the desired state of WorkloadProfile.
4141
properties:
4242
isLocalGPU:
4343
type: boolean
@@ -97,7 +97,7 @@ spec:
9797
- isLocalGPU
9898
type: object
9999
status:
100-
description: ClientProfileStatus defines the observed state of ClientProfile.
100+
description: WorkloadProfileStatus defines the observed state of WorkloadProfile.
101101
type: object
102102
type: object
103103
served: true

0 commit comments

Comments
 (0)