Skip to content

Commit

Permalink
add azure and gcp platforms and regions
Browse files Browse the repository at this point in the history
  • Loading branch information
sanfilip committed Nov 17, 2020
1 parent 97b2374 commit ffec31e
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ type ClusterPlatformType string

const (
ClusterPlatformAWS ClusterPlatformType = "aws"
ClusterPlatformAzure ClusterPlatformType = "azure"
ClusterPlatformGCP ClusterPlatformType = "gcp"
ClusterPlatformDGX ClusterPlatformType = "nvidia-dgx"
ClusterPlatformMetal ClusterPlatformType = "metal"
ClusterPlatformPaperspace ClusterPlatformType = "paperspace-cloud"
Expand All @@ -27,9 +29,61 @@ var ClusterAWSRegions = []string{
"ap-southeast-2",
}

var ClusterAzureRegions = []string{
"australiacentral",
"australiaeast",
"australiasoutheast",
"brazilsouth",
"brazilsoutheast",
"canadacentral",
"canadaeast",
"centralindia",
"centralus",
"eastasia",
"eastus",
"eastus2",
"francecentral",
"francesouth",
"germanynorth",
"germanywestcentral",
"japaneast",
"japanwest",
"koreacentral",
"koreasouth",
"northcentralus",
"northeurope",
"norwayeast",
"norwaywest",
"southafricanorth",
"southcentralus",
"southindia",
"southeastasia",
"switzerlandnorth",
"switzerlandwest",
"uaecentral",
"uaenorth",
"uksouth",
"ukwest",
"westcentralus",
"westeurope",
"westus",
"westus2",
}

var ClusterGCPRegions = []string{
"asia-east1",
"europe-west1",
"europe-west4",
"us-central1",
"us-east1",
"us-west1",
}

var ClusterPlatforms = []ClusterPlatformType{
ClusterPlatformAWS,
ClusterPlatformAzure,
ClusterPlatformDGX,
ClusterPlatformGCP,
ClusterPlatformMetal,
ClusterPlatformPaperspace,
}
Expand Down

0 comments on commit ffec31e

Please sign in to comment.