Skip to content

Commit

Permalink
Add default mem/cpu for OKD preset
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumar authored and anjannath committed Aug 1, 2022
1 parent e351afa commit 658e605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/crc/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func GetCRCWindowsTrayDownloadURL() string {

func GetDefaultCPUs(preset crcpreset.Preset) int {
switch preset {
case crcpreset.OpenShift:
case crcpreset.OpenShift, crcpreset.OKD:
return 4
case crcpreset.Podman:
return 2
Expand All @@ -198,7 +198,7 @@ func GetDefaultCPUs(preset crcpreset.Preset) int {

func GetDefaultMemory(preset crcpreset.Preset) int {
switch preset {
case crcpreset.OpenShift:
case crcpreset.OpenShift, crcpreset.OKD:
return 9216
case crcpreset.Podman:
return 2048
Expand Down

0 comments on commit 658e605

Please sign in to comment.