Skip to content

Commit

Permalink
review changes and regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
kfswain committed Oct 17, 2024
1 parent 404a303 commit a78c26d
Show file tree
Hide file tree
Showing 57 changed files with 566 additions and 153 deletions.
18 changes: 9 additions & 9 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: inference.k8s.io
domain: x-k8s.io
layout:
- go.kubebuilder.io/v4
projectName: api
repo: inference.k8s.io
projectName: llm-instance-gateway
repo: sigs.k8s.io/llm-instance-gateway
resources:
- api:
crdVersion: v1
namespaced: true
domain: inference.k8s.io
group: gateway
domain: x-k8s.io
group: inference
kind: LLMServerPool
path: inference.k8s.io/api/v1alpha1
path: sigs.k8s.io/llm-instance-gateway/api/inference/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: inference.k8s.io
group: gateway
domain: x-k8s.io
group: inference
kind: LLMService
path: inference.k8s.io/api/v1alpha1
path: sigs.k8s.io/llm-instance-gateway/api/inference/v1alpha1
version: v1alpha1
version: "3"
4 changes: 2 additions & 2 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package v1alpha1 contains API Schema definitions for the gateway v1alpha1 API group
// +kubebuilder:object:generate=true
// +groupName=gateway.inference.k8s.io
// +groupName=gateway.inference.networking.x-k8s.io
package v1alpha1

import (
Expand All @@ -26,7 +26,7 @@ import (

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "gateway.inference.k8s.io", Version: "v1alpha1"}
GroupVersion = schema.GroupVersion{Group: "inference.networking.x-k8s.io", Version: "v1alpha1"}

// SchemeGroupVersion is alias to GroupVersion for client-go libraries.
// It is required by pkg/client/informers/externalversions/...
Expand Down
5 changes: 1 addition & 4 deletions api/v1alpha1/llmserverpool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@ type LLMServerPoolSpec struct {
// that should be included in the LLMServerPool. ModelServers should not
// be with any other Service or LLMServerPool, that behavior is not supported
// and will result in sub-optimal utilization.
ModelServerSelector map[string]string `json:"modelServerSelector,omitempty"`
ModelServerSelector metav1.LabelSelector `json:"modelServerSelector,omitempty"`
}

// LLMServerPoolStatus defines the observed state of LLMServerPool
type LLMServerPoolStatus struct {

// Conditions track the state of the LLMServerPool.
Conditions []metav1.Condition `json:"conditions,omitempty"`

// ReadyServers are the number of available servers within the LLMServerPool.
ReadyServers int32 `json:"readyServers,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/llmservice_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// LLMService represents a set of LLM services that are multiplexed onto one
// or more backend pools. This resource is managed by the "LLM Service Owner"
// or more LLMServerPools. This resource is managed by the "LLM Service Owner"
// persona. The Service Owner persona is: a team that trains, verifies, and
// leverages a large language model from a model frontend, drives the lifecycle
// and rollout of new versions of those models, and defines the specific
Expand Down
10 changes: 2 additions & 8 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/api/v1alpha1/llmserverpool.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 11 additions & 13 deletions client-go/applyconfiguration/api/v1alpha1/llmserverpoolspec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 2 additions & 11 deletions client-go/applyconfiguration/api/v1alpha1/llmserverpoolstatus.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/api/v1alpha1/llmservice.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/api/v1alpha1/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/api/v1alpha1/objective.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/api/v1alpha1/targetmodel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/applyconfiguration/internal/internal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions client-go/applyconfiguration/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/clientset.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions client-go/clientset/versioned/fake/clientset_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/clientset/versioned/fake/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/clientset/versioned/scheme/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions client-go/clientset/versioned/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-go/clientset/versioned/typed/api/v1alpha1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a78c26d

Please sign in to comment.