mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* new model cache cr Signed-off-by: Jin Dong <[email protected]> * update crd Signed-off-by: Jin Dong <[email protected]> * Fix genereted python tests Signed-off-by: Jin Dong <[email protected]> * Fix test failure Signed-off-by: Jin Dong <[email protected]> * Make nodegroup a list field in model cache cr Signed-off-by: Jin Dong <[email protected]> * fix lint Signed-off-by: Jin Dong <[email protected]> * minor updates to model cache cr Signed-off-by: Jin Dong <[email protected]> * Add usecase field to cluster storage container Signed-off-by: Jin Dong <[email protected]> * Fix test failures Signed-off-by: Jin Dong <[email protected]> * Change variable name Signed-off-by: Jin Dong <[email protected]> * Fix lint Signed-off-by: Jin Dong <[email protected]> * Fix default storage container cr Signed-off-by: Jin Dong <[email protected]> * fix defualt.yaml Signed-off-by: Jin Dong <[email protected]> * Remove storagelimit field from node group Signed-off-by: Jin Dong <[email protected]> * Fix python code Signed-off-by: Jin Dong <[email protected]> * Change some fields Signed-off-by: Jin Dong <[email protected]> * Rename crd Signed-off-by: Jin Dong <[email protected]> * Fix lint error in python test files Signed-off-by: Jin Dong <[email protected]> * Rename CR Signed-off-by: Jin Dong <[email protected]> * Add status to local model node group Signed-off-by: Jin Dong <[email protected]> * Add missing node status Signed-off-by: Jin Dong <[email protected]> * Remove files related to ClusterLocalNodeGroup Signed-off-by: Jin Dong <[email protected]> * Add default value for workload type Signed-off-by: Jin Dong <[email protected]> * Fix StorageContainerSpec WorkloadType default value Signed-off-by: Jin Dong <[email protected]> * nodegroups -> nodegroup Signed-off-by: Jin Dong <[email protected]> * Add comments Signed-off-by: Jin Dong <[email protected]> * Add back storageLimit Signed-off-by: Jin Dong <[email protected]> * Update charts/kserve-crd/templates/serving.kserve.io_clusterstoragecontainers.yaml Signed-off-by: Jin Dong <[email protected]> --------- Signed-off-by: Jin Dong <[email protected]>
27 lines
895 B
Go
27 lines
895 B
Go
/*
|
|
Copyright 2024 The KServe Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package v1alpha1
|
|
|
|
import "k8s.io/apimachinery/pkg/api/resource"
|
|
|
|
type LocalModelNodeGroupStatus struct {
|
|
// Used storage space on any node for this node group
|
|
Used resource.Quantity `json:"used,omitempty"`
|
|
// Available storage space on any node for this node group
|
|
Available resource.Quantity `json:"available,omitempty"`
|
|
}
|