Skip to content

Commit

Permalink
Offer different variety of instance types
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed May 10, 2021
1 parent 7895fb4 commit 79a94b2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions kops/carbonplan.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ local ig = import "./libsonnet/instancegroup.jsonnet";

local zone = "us-west-2a";
local nodes = [
{spec+: {
machineType: "m4.xlarge"
}},
{spec+: {
machineType: "m4.2xlarge",
maxSize: 20
}},
{spec+: { machineType: "r5.large" }}, // 2CPU, 16G RAM
{spec+: { machineType: "r5.xlarge" }}, // 4CPU, 32G RAM
{spec+: { machineType: "r5.2xlarge" }}, // 8CPU, 64G RAM
{spec+: { machineType: "r5.8xlarge" }} // 32CPU, 256 RAM
];

local data = {
Expand Down Expand Up @@ -56,7 +53,7 @@ local data = {
spec+: {
machineType: n.machineType,
subnets: [zone],
maxSize: 3,
maxSize: 20,
role: "Node",
nodeLabels+: {
"hub.jupyter.org/pool-name": thisIg.metadata.name
Expand Down

0 comments on commit 79a94b2

Please sign in to comment.