AjayTripathy преди 6 години
родител
ревизия
c79e136842
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      pkg/cloud/gcpprovider.go

+ 2 - 0
pkg/cloud/gcpprovider.go

@@ -1238,6 +1238,8 @@ func (gcp *gcpKey) Features() string {
 	instanceType := strings.ToLower(strings.Join(strings.Split(gcp.Labels[v1.LabelInstanceType], "-")[:2], ""))
 	if instanceType == "n1highmem" || instanceType == "n1highcpu" {
 		instanceType = "n1standard" // These are priced the same. TODO: support n1ultrahighmem
+	} else if instanceType == "n2highmem" || instanceType == "n2highcpu" {
+		instanceType = "n2standard"
 	} else if instanceType == "e2highmem" || instanceType == "e2highcpu" {
 		instanceType = "e2standard"
 	} else if strings.HasPrefix(instanceType, "custom") {