Commit 602352ce authored by Neelay Shah's avatar Neelay Shah Committed by GitHub
Browse files

chore: rename dynamo (#44)


Co-authored-by: default avatarBiswa Panda <biswa.panda@gmail.com>
parent ecf53ce2
......@@ -26,8 +26,8 @@ import (
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
// CompoundAINimSpec defines the desired state of CompoundAINim
type CompoundAINimSpec struct {
// DynamoNimSpec defines the desired state of DynamoNim
type DynamoNimSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
......@@ -53,8 +53,8 @@ type BentoModel struct {
Size *resource.Quantity `json:"size,omitempty"`
}
// CompoundAINimStatus defines the observed state of CompoundAINim
type CompoundAINimStatus struct {
// DynamoNimStatus defines the observed state of DynamoNim
type DynamoNimStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Ready bool `json:"ready"`
......@@ -63,24 +63,24 @@ type CompoundAINimStatus struct {
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// CompoundAINim is the Schema for the compoundainims API
type CompoundAINim struct {
// DynamoNim is the Schema for the dynamonims API
type DynamoNim struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CompoundAINimSpec `json:"spec,omitempty"`
Status CompoundAINimStatus `json:"status,omitempty"`
Spec DynamoNimSpec `json:"spec,omitempty"`
Status DynamoNimStatus `json:"status,omitempty"`
}
// +kubebuilder:object:root=true
// CompoundAINimList contains a list of CompoundAINim
type CompoundAINimList struct {
// DynamoNimList contains a list of DynamoNim
type DynamoNimList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CompoundAINim `json:"items"`
Items []DynamoNim `json:"items"`
}
func init() {
SchemeBuilder.Register(&CompoundAINim{}, &CompoundAINimList{})
SchemeBuilder.Register(&DynamoNim{}, &DynamoNimList{})
}
......@@ -21,8 +21,8 @@ limitations under the License.
package v1alpha1
import (
"github.com/dynemo-ai/dynemo/deploy/compoundai/operator/api/compoundai/common"
"github.com/dynemo-ai/dynemo/deploy/compoundai/operator/api/compoundai/modelschemas"
"github.com/dynemo-ai/dynemo/deploy/dynamo/operator/api/dynamo/common"
"github.com/dynemo-ai/dynemo/deploy/dynamo/operator/api/dynamo/modelschemas"
"k8s.io/api/autoscaling/v2"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1"
......@@ -134,7 +134,7 @@ func (in *BentoModel) DeepCopy() *BentoModel {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAIDeployment) DeepCopyInto(out *CompoundAIDeployment) {
func (in *DynamoDeployment) DeepCopyInto(out *DynamoDeployment) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
......@@ -142,18 +142,18 @@ func (in *CompoundAIDeployment) DeepCopyInto(out *CompoundAIDeployment) {
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAIDeployment.
func (in *CompoundAIDeployment) DeepCopy() *CompoundAIDeployment {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoDeployment.
func (in *DynamoDeployment) DeepCopy() *DynamoDeployment {
if in == nil {
return nil
}
out := new(CompoundAIDeployment)
out := new(DynamoDeployment)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAIDeployment) DeepCopyObject() runtime.Object {
func (in *DynamoDeployment) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -161,31 +161,31 @@ func (in *CompoundAIDeployment) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAIDeploymentList) DeepCopyInto(out *CompoundAIDeploymentList) {
func (in *DynamoDeploymentList) DeepCopyInto(out *DynamoDeploymentList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]CompoundAIDeployment, len(*in))
*out = make([]DynamoDeployment, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAIDeploymentList.
func (in *CompoundAIDeploymentList) DeepCopy() *CompoundAIDeploymentList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoDeploymentList.
func (in *DynamoDeploymentList) DeepCopy() *DynamoDeploymentList {
if in == nil {
return nil
}
out := new(CompoundAIDeploymentList)
out := new(DynamoDeploymentList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAIDeploymentList) DeepCopyObject() runtime.Object {
func (in *DynamoDeploymentList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -193,19 +193,19 @@ func (in *CompoundAIDeploymentList) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAIDeploymentSpec) DeepCopyInto(out *CompoundAIDeploymentSpec) {
func (in *DynamoDeploymentSpec) DeepCopyInto(out *DynamoDeploymentSpec) {
*out = *in
if in.Services != nil {
in, out := &in.Services, &out.Services
*out = make(map[string]*CompoundAINimDeployment, len(*in))
*out = make(map[string]*DynamoNimDeployment, len(*in))
for key, val := range *in {
var outVal *CompoundAINimDeployment
var outVal *DynamoNimDeployment
if val == nil {
(*out)[key] = nil
} else {
inVal := (*in)[key]
in, out := &inVal, &outVal
*out = new(CompoundAINimDeployment)
*out = new(DynamoNimDeployment)
(*in).DeepCopyInto(*out)
}
(*out)[key] = outVal
......@@ -213,18 +213,18 @@ func (in *CompoundAIDeploymentSpec) DeepCopyInto(out *CompoundAIDeploymentSpec)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAIDeploymentSpec.
func (in *CompoundAIDeploymentSpec) DeepCopy() *CompoundAIDeploymentSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoDeploymentSpec.
func (in *DynamoDeploymentSpec) DeepCopy() *DynamoDeploymentSpec {
if in == nil {
return nil
}
out := new(CompoundAIDeploymentSpec)
out := new(DynamoDeploymentSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAIDeploymentStatus) DeepCopyInto(out *CompoundAIDeploymentStatus) {
func (in *DynamoDeploymentStatus) DeepCopyInto(out *DynamoDeploymentStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
......@@ -235,18 +235,18 @@ func (in *CompoundAIDeploymentStatus) DeepCopyInto(out *CompoundAIDeploymentStat
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAIDeploymentStatus.
func (in *CompoundAIDeploymentStatus) DeepCopy() *CompoundAIDeploymentStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoDeploymentStatus.
func (in *DynamoDeploymentStatus) DeepCopy() *DynamoDeploymentStatus {
if in == nil {
return nil
}
out := new(CompoundAIDeploymentStatus)
out := new(DynamoDeploymentStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINim) DeepCopyInto(out *CompoundAINim) {
func (in *DynamoNim) DeepCopyInto(out *DynamoNim) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
......@@ -254,18 +254,18 @@ func (in *CompoundAINim) DeepCopyInto(out *CompoundAINim) {
out.Status = in.Status
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINim.
func (in *CompoundAINim) DeepCopy() *CompoundAINim {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNim.
func (in *DynamoNim) DeepCopy() *DynamoNim {
if in == nil {
return nil
}
out := new(CompoundAINim)
out := new(DynamoNim)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINim) DeepCopyObject() runtime.Object {
func (in *DynamoNim) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -273,7 +273,7 @@ func (in *CompoundAINim) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimDeployment) DeepCopyInto(out *CompoundAINimDeployment) {
func (in *DynamoNimDeployment) DeepCopyInto(out *DynamoNimDeployment) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
......@@ -281,18 +281,18 @@ func (in *CompoundAINimDeployment) DeepCopyInto(out *CompoundAINimDeployment) {
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimDeployment.
func (in *CompoundAINimDeployment) DeepCopy() *CompoundAINimDeployment {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimDeployment.
func (in *DynamoNimDeployment) DeepCopy() *DynamoNimDeployment {
if in == nil {
return nil
}
out := new(CompoundAINimDeployment)
out := new(DynamoNimDeployment)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINimDeployment) DeepCopyObject() runtime.Object {
func (in *DynamoNimDeployment) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -300,31 +300,31 @@ func (in *CompoundAINimDeployment) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimDeploymentList) DeepCopyInto(out *CompoundAINimDeploymentList) {
func (in *DynamoNimDeploymentList) DeepCopyInto(out *DynamoNimDeploymentList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]CompoundAINimDeployment, len(*in))
*out = make([]DynamoNimDeployment, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimDeploymentList.
func (in *CompoundAINimDeploymentList) DeepCopy() *CompoundAINimDeploymentList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimDeploymentList.
func (in *DynamoNimDeploymentList) DeepCopy() *DynamoNimDeploymentList {
if in == nil {
return nil
}
out := new(CompoundAINimDeploymentList)
out := new(DynamoNimDeploymentList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINimDeploymentList) DeepCopyObject() runtime.Object {
func (in *DynamoNimDeploymentList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -332,7 +332,7 @@ func (in *CompoundAINimDeploymentList) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimDeploymentSpec) DeepCopyInto(out *CompoundAINimDeploymentSpec) {
func (in *DynamoNimDeploymentSpec) DeepCopyInto(out *DynamoNimDeploymentSpec) {
*out = *in
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
......@@ -415,18 +415,18 @@ func (in *CompoundAINimDeploymentSpec) DeepCopyInto(out *CompoundAINimDeployment
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimDeploymentSpec.
func (in *CompoundAINimDeploymentSpec) DeepCopy() *CompoundAINimDeploymentSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimDeploymentSpec.
func (in *DynamoNimDeploymentSpec) DeepCopy() *DynamoNimDeploymentSpec {
if in == nil {
return nil
}
out := new(CompoundAINimDeploymentSpec)
out := new(DynamoNimDeploymentSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimDeploymentStatus) DeepCopyInto(out *CompoundAINimDeploymentStatus) {
func (in *DynamoNimDeploymentStatus) DeepCopyInto(out *DynamoNimDeploymentStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
......@@ -444,42 +444,42 @@ func (in *CompoundAINimDeploymentStatus) DeepCopyInto(out *CompoundAINimDeployme
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimDeploymentStatus.
func (in *CompoundAINimDeploymentStatus) DeepCopy() *CompoundAINimDeploymentStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimDeploymentStatus.
func (in *DynamoNimDeploymentStatus) DeepCopy() *DynamoNimDeploymentStatus {
if in == nil {
return nil
}
out := new(CompoundAINimDeploymentStatus)
out := new(DynamoNimDeploymentStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimList) DeepCopyInto(out *CompoundAINimList) {
func (in *DynamoNimList) DeepCopyInto(out *DynamoNimList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]CompoundAINim, len(*in))
*out = make([]DynamoNim, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimList.
func (in *CompoundAINimList) DeepCopy() *CompoundAINimList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimList.
func (in *DynamoNimList) DeepCopy() *DynamoNimList {
if in == nil {
return nil
}
out := new(CompoundAINimList)
out := new(DynamoNimList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINimList) DeepCopyObject() runtime.Object {
func (in *DynamoNimList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -487,7 +487,7 @@ func (in *CompoundAINimList) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimRequest) DeepCopyInto(out *CompoundAINimRequest) {
func (in *DynamoNimRequest) DeepCopyInto(out *DynamoNimRequest) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
......@@ -495,18 +495,18 @@ func (in *CompoundAINimRequest) DeepCopyInto(out *CompoundAINimRequest) {
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimRequest.
func (in *CompoundAINimRequest) DeepCopy() *CompoundAINimRequest {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimRequest.
func (in *DynamoNimRequest) DeepCopy() *DynamoNimRequest {
if in == nil {
return nil
}
out := new(CompoundAINimRequest)
out := new(DynamoNimRequest)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINimRequest) DeepCopyObject() runtime.Object {
func (in *DynamoNimRequest) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -514,31 +514,31 @@ func (in *CompoundAINimRequest) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimRequestList) DeepCopyInto(out *CompoundAINimRequestList) {
func (in *DynamoNimRequestList) DeepCopyInto(out *DynamoNimRequestList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]CompoundAINimRequest, len(*in))
*out = make([]DynamoNimRequest, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimRequestList.
func (in *CompoundAINimRequestList) DeepCopy() *CompoundAINimRequestList {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimRequestList.
func (in *DynamoNimRequestList) DeepCopy() *DynamoNimRequestList {
if in == nil {
return nil
}
out := new(CompoundAINimRequestList)
out := new(DynamoNimRequestList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *CompoundAINimRequestList) DeepCopyObject() runtime.Object {
func (in *DynamoNimRequestList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
......@@ -546,7 +546,7 @@ func (in *CompoundAINimRequestList) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimRequestSpec) DeepCopyInto(out *CompoundAINimRequestSpec) {
func (in *DynamoNimRequestSpec) DeepCopyInto(out *DynamoNimRequestSpec) {
*out = *in
if in.Context != nil {
in, out := &in.Context, &out.Context
......@@ -606,18 +606,18 @@ func (in *CompoundAINimRequestSpec) DeepCopyInto(out *CompoundAINimRequestSpec)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimRequestSpec.
func (in *CompoundAINimRequestSpec) DeepCopy() *CompoundAINimRequestSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimRequestSpec.
func (in *DynamoNimRequestSpec) DeepCopy() *DynamoNimRequestSpec {
if in == nil {
return nil
}
out := new(CompoundAINimRequestSpec)
out := new(DynamoNimRequestSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimRequestStatus) DeepCopyInto(out *CompoundAINimRequestStatus) {
func (in *DynamoNimRequestStatus) DeepCopyInto(out *DynamoNimRequestStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
......@@ -628,18 +628,18 @@ func (in *CompoundAINimRequestStatus) DeepCopyInto(out *CompoundAINimRequestStat
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimRequestStatus.
func (in *CompoundAINimRequestStatus) DeepCopy() *CompoundAINimRequestStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimRequestStatus.
func (in *DynamoNimRequestStatus) DeepCopy() *DynamoNimRequestStatus {
if in == nil {
return nil
}
out := new(CompoundAINimRequestStatus)
out := new(DynamoNimRequestStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimSpec) DeepCopyInto(out *CompoundAINimSpec) {
func (in *DynamoNimSpec) DeepCopyInto(out *DynamoNimSpec) {
*out = *in
if in.Context != nil {
in, out := &in.Context, &out.Context
......@@ -660,27 +660,27 @@ func (in *CompoundAINimSpec) DeepCopyInto(out *CompoundAINimSpec) {
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimSpec.
func (in *CompoundAINimSpec) DeepCopy() *CompoundAINimSpec {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimSpec.
func (in *DynamoNimSpec) DeepCopy() *DynamoNimSpec {
if in == nil {
return nil
}
out := new(CompoundAINimSpec)
out := new(DynamoNimSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CompoundAINimStatus) DeepCopyInto(out *CompoundAINimStatus) {
func (in *DynamoNimStatus) DeepCopyInto(out *DynamoNimStatus) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompoundAINimStatus.
func (in *CompoundAINimStatus) DeepCopy() *CompoundAINimStatus {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamoNimStatus.
func (in *DynamoNimStatus) DeepCopy() *DynamoNimStatus {
if in == nil {
return nil
}
out := new(CompoundAINimStatus)
out := new(DynamoNimStatus)
in.DeepCopyInto(out)
return out
}
......
......@@ -36,9 +36,9 @@ import (
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"
nvidiacomv1alpha1 "github.com/dynemo-ai/dynemo/deploy/compoundai/operator/api/v1alpha1"
"github.com/dynemo-ai/dynemo/deploy/compoundai/operator/internal/controller"
commonController "github.com/dynemo-ai/dynemo/deploy/compoundai/operator/internal/controller_common"
nvidiacomv1alpha1 "github.com/dynemo-ai/dynemo/deploy/dynamo/operator/api/v1alpha1"
"github.com/dynemo-ai/dynemo/deploy/dynamo/operator/internal/controller"
commonController "github.com/dynemo-ai/dynemo/deploy/dynamo/operator/internal/controller_common"
istioclientsetscheme "istio.io/client-go/pkg/clientset/versioned/scheme"
//+kubebuilder:scaffold:imports
)
......@@ -148,7 +148,7 @@ func main() {
os.Exit(1)
}
if err = (&controller.CompoundAINimDeploymentReconciler{
if err = (&controller.DynamoNimDeploymentReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Recorder: mgr.GetEventRecorderFor("yatai-deployment"),
......@@ -156,25 +156,25 @@ func main() {
NatsAddr: natsAddr,
EtcdAddr: etcdAddr,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "CompoundAINimDeployment")
setupLog.Error(err, "unable to create controller", "controller", "DynamoNimDeployment")
os.Exit(1)
}
if err = (&controller.CompoundAINimRequestReconciler{
if err = (&controller.DynamoNimRequestReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Recorder: mgr.GetEventRecorderFor("yatai-image-builder"),
Config: ctrlConfig,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "CompoundAINimRequest")
setupLog.Error(err, "unable to create controller", "controller", "DynamoNimRequest")
os.Exit(1)
}
if err = (&controller.CompoundAIDeploymentReconciler{
if err = (&controller.DynamoDeploymentReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Recorder: mgr.GetEventRecorderFor("compoundaideployment"),
Recorder: mgr.GetEventRecorderFor("dynamodeployment"),
Config: ctrlConfig,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "CompoundAIDeployment")
setupLog.Error(err, "unable to create controller", "controller", "DynamoDeployment")
os.Exit(1)
}
//+kubebuilder:scaffold:builder
......
......@@ -19,14 +19,14 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.4
name: compoundaideployments.nvidia.com
name: dynamodeployments.nvidia.com
spec:
group: nvidia.com
names:
kind: CompoundAIDeployment
listKind: CompoundAIDeploymentList
plural: compoundaideployments
singular: compoundaideployment
kind: DynamoDeployment
listKind: DynamoDeploymentList
plural: dynamodeployments
singular: dynamodeployment
scope: Namespaced
versions:
- name: v1alpha1
......@@ -41,7 +41,7 @@ spec:
type: object
spec:
properties:
compoundAINim:
dynamoNim:
type: string
services:
additionalProperties:
......@@ -390,7 +390,7 @@ spec:
minReplicas:
type: integer
type: object
compoundAINim:
dynamoNim:
type: string
envFromSecret:
type: string
......@@ -2784,7 +2784,7 @@ spec:
serviceName:
type: string
required:
- compoundAINim
- dynamoNim
type: object
status:
properties:
......@@ -2834,7 +2834,7 @@ spec:
type: object
type: object
required:
- compoundAINim
- dynamoNim
type: object
status:
properties:
......
......@@ -19,14 +19,14 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.4
name: compoundainimdeployments.nvidia.com
name: dynamonimdeployments.nvidia.com
spec:
group: nvidia.com
names:
kind: CompoundAINimDeployment
listKind: CompoundAINimDeploymentList
plural: compoundainimdeployments
singular: compoundainimdeployment
kind: DynamoNimDeployment
listKind: DynamoNimDeploymentList
plural: dynamonimdeployments
singular: dynamonimdeployment
scope: Namespaced
versions:
- additionalPrinterColumns:
......@@ -389,7 +389,7 @@ spec:
minReplicas:
type: integer
type: object
compoundAINim:
dynamoNim:
type: string
envFromSecret:
type: string
......@@ -2783,7 +2783,7 @@ spec:
serviceName:
type: string
required:
- compoundAINim
- dynamoNim
type: object
status:
properties:
......
......@@ -19,14 +19,14 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.4
name: compoundainimrequests.nvidia.com
name: dynamonimrequests.nvidia.com
spec:
group: nvidia.com
names:
kind: CompoundAINimRequest
listKind: CompoundAINimRequestList
plural: compoundainimrequests
singular: compoundainimrequest
kind: DynamoNimRequest
listKind: DynamoNimRequestList
plural: dynamonimrequests
singular: dynamonimrequest
scope: Namespaced
versions:
- additionalPrinterColumns:
......
......@@ -19,14 +19,14 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.4
name: compoundainims.nvidia.com
name: dynamonims.nvidia.com
spec:
group: nvidia.com
names:
kind: CompoundAINim
listKind: CompoundAINimList
plural: compoundainims
singular: compoundainim
kind: DynamoNim
listKind: DynamoNimList
plural: dynamonims
singular: dynamonim
scope: Namespaced
versions:
- name: v1alpha1
......
......@@ -17,10 +17,10 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/nvidia.com_compoundainimdeployments.yaml
- bases/nvidia.com_compoundainimrequests.yaml
- bases/nvidia.com_compoundainims.yaml
- bases/nvidia.com_compoundaideployments.yaml
- bases/nvidia.com_dynamonimdeployments.yaml
- bases/nvidia.com_dynamonimrequests.yaml
- bases/nvidia.com_dynamonims.yaml
- bases/nvidia.com_dynamodeployments.yaml
#+kubebuilder:scaffold:crdkustomizeresource
patches: []
......@@ -30,9 +30,9 @@ patches: []
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
# patches here are for enabling the CA injection for each CRD
#- path: patches/cainjection_in_compoundainimdeployments.yaml
#- path: patches/cainjection_in_compoundainimrequests.yaml
#- path: patches/cainjection_in_compoundainims.yaml
#- path: patches/cainjection_in_dynamonimdeployments.yaml
#- path: patches/cainjection_in_dynamonimrequests.yaml
#- path: patches/cainjection_in_dynamonims.yaml
#+kubebuilder:scaffold:crdkustomizecainjectionpatch
# [WEBHOOK] To enable webhook, uncomment the following section
......
......@@ -14,14 +14,14 @@
# limitations under the License.
# Adds namespace to all resources.
namespace: compoundai-kubernetes-operator-system
namespace: dynamo-kubernetes-operator-system
# Value of this field is prepended to the
# names of all resources, e.g. a deployment named
# "wordpress" becomes "alices-wordpress".
# Note that it should also match with the prefix (text before '-') of the namespace
# field above.
namePrefix: compoundai-kubernetes-operator-
namePrefix: dynamo-kubernetes-operator-
# Labels to add to all resources and selectors.
#labels:
......
......@@ -18,7 +18,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: compoundai-controller-manager
name: dynamo-controller-manager
namespace: system
spec:
template:
......@@ -53,5 +53,5 @@ spec:
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--profile=COMPOUND_AI"
- "--leader-election-id=compoundai.nko.nvidia.com"
- "--leader-election-id=dynamo.nko.nvidia.com"
......@@ -17,15 +17,15 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: compoundai-controller-manager
name: dynamo-controller-manager
namespace: system
labels:
control-plane: controller-manager
app.kubernetes.io/name: deployment
app.kubernetes.io/instance: compoundai-controller-manager
app.kubernetes.io/instance: dynamo-controller-manager
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: compoundai-kubernetes-operator
app.kubernetes.io/part-of: compoundai-kubernetes-operator
app.kubernetes.io/created-by: dynamo-kubernetes-operator
app.kubernetes.io/part-of: dynamo-kubernetes-operator
app.kubernetes.io/managed-by: kustomize
spec:
selector:
......@@ -77,7 +77,7 @@ spec:
name: manager
envFrom:
- secretRef:
name: compoundai-deployment-env
name: dynamo-deployment-env
securityContext:
allowPrivilegeEscalation: false
capabilities:
......
......@@ -22,8 +22,8 @@ metadata:
app.kubernetes.io/name: servicemonitor
app.kubernetes.io/instance: controller-manager-metrics-monitor
app.kubernetes.io/component: metrics
app.kubernetes.io/created-by: compoundai-kubernetes-operator
app.kubernetes.io/part-of: compoundai-kubernetes-operator
app.kubernetes.io/created-by: dynamo-kubernetes-operator
app.kubernetes.io/part-of: dynamo-kubernetes-operator
app.kubernetes.io/managed-by: kustomize
name: controller-manager-metrics-monitor
namespace: system
......
......@@ -20,8 +20,8 @@ metadata:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: metrics-reader
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: compoundai-kubernetes-operator
app.kubernetes.io/part-of: compoundai-kubernetes-operator
app.kubernetes.io/created-by: dynamo-kubernetes-operator
app.kubernetes.io/part-of: dynamo-kubernetes-operator
app.kubernetes.io/managed-by: kustomize
name: metrics-reader
rules:
......
......@@ -20,8 +20,8 @@ metadata:
app.kubernetes.io/name: clusterrole
app.kubernetes.io/instance: proxy-role
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: compoundai-kubernetes-operator
app.kubernetes.io/part-of: compoundai-kubernetes-operator
app.kubernetes.io/created-by: dynamo-kubernetes-operator
app.kubernetes.io/part-of: dynamo-kubernetes-operator
app.kubernetes.io/managed-by: kustomize
name: proxy-role
rules:
......
......@@ -20,8 +20,8 @@ metadata:
app.kubernetes.io/name: clusterrolebinding
app.kubernetes.io/instance: proxy-rolebinding
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: compoundai-kubernetes-operator
app.kubernetes.io/part-of: compoundai-kubernetes-operator
app.kubernetes.io/created-by: dynamo-kubernetes-operator
app.kubernetes.io/part-of: dynamo-kubernetes-operator
app.kubernetes.io/managed-by: kustomize
name: proxy-rolebinding
roleRef:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment