Skip to content

Commit

Permalink
Merge pull request #17 from kaytu-io/compute-instance-recommendations
Browse files Browse the repository at this point in the history
fix: change preferences
  • Loading branch information
artaasadi committed Jun 21, 2024
2 parents 7215c13 + aff6adf commit 6324f25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/preferences/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import (

var DefaultComputeEnginePreferences = []*golang.PreferenceItem{
{Service: "ComputeInstance", Key: "vCPU", IsNumber: true},
//{Service: "ComputeInstance", Key: "Region", Pinned: true},
{Service: "ComputeInstance", Key: "MachineFamily", Pinned: true},
{Service: "ComputeInstance", Key: "Region", Pinned: true},
{Service: "ComputeInstance", Key: "ExcludeCustomInstances", Value: wrapperspb.String("No"), PreventPinning: true, PossibleValues: []string{"No", "Yes"}},
{Service: "ComputeInstance", Key: "MachineFamily", Pinned: false},
{Service: "ComputeInstance", Key: "MemoryGB", Alias: "Memory", IsNumber: true, Unit: "GiB"},
{Service: "ComputeInstance", Key: "CPUBreathingRoom", IsNumber: true, Value: wrapperspb.String("10"), PreventPinning: true, Unit: "%"},
{Service: "ComputeInstance", Key: "MemoryBreathingRoom", IsNumber: true, Value: wrapperspb.String("10"), PreventPinning: true, Unit: "%"},
Expand Down

0 comments on commit 6324f25

Please sign in to comment.