Skip to content

Commit

Permalink
k8s maintenance, EKS: align eksctl config files with each other
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed May 19, 2024
1 parent 3f25cc0 commit 0179b32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
1 change: 0 additions & 1 deletion eksctl/2i2c-aws-us.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ local daskNodes = [
"hub.jupyter.org_dedicated": "user:NoSchedule",
"hub.jupyter.org/dedicated": "user:NoSchedule"
},

} + n for n in notebookNodes
] + ( if daskNodes != null then
[
Expand Down
18 changes: 8 additions & 10 deletions eksctl/nasa-esdis.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ local daskNodes = [];
},
],
nodeGroups: [
ng {
name: 'core-a',
ng + {
namePrefix: 'core',
nameSuffix: 'a',
nameIncludeInstanceType: false,
availabilityZones: [nodeAz],
ssh: {
publicKeyPath: 'ssh-keys/nasa-esdis.key.pub'
Expand All @@ -80,10 +82,8 @@ local daskNodes = [];
},
},
] + [
ng {
// NodeGroup names can't have a '.' in them, while
// instanceTypes always have a .
name: "nb-%s" % std.strReplace(n.instanceType, ".", "-"),
ng + {
namePrefix: "nb",
availabilityZones: [nodeAz],
minSize: 0,
maxSize: 500,
Expand All @@ -102,10 +102,8 @@ local daskNodes = [];
} + n for n in notebookNodes
] + ( if daskNodes != null then
[
ng {
// NodeGroup names can't have a '.' in them, while
// instanceTypes always have a .
name: "dask-%s" % std.strReplace(n.instancesDistribution.instanceTypes[0], ".", "-"),
ng + {
namePrefix: "dask",
availabilityZones: [nodeAz],
minSize: 0,
maxSize: 500,
Expand Down
5 changes: 0 additions & 5 deletions eksctl/openscapes.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ local daskNodes = [
"hub.jupyter.org/node-purpose": "core",
"k8s.dask.org/node-purpose": "core"
},
iam: {
withAddonPolicies: {
autoScaler: true
},
},
},
] + [
ng + {
Expand Down
6 changes: 0 additions & 6 deletions eksctl/ubc-eoas.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ local daskNodes = [];
"hub.jupyter.org/node-purpose": "core",
"k8s.dask.org/node-purpose": "core"
},
iam+: {
withAddonPolicies+: {
ebs: true,
},
},
},
] + [
ng + {
Expand All @@ -106,7 +101,6 @@ local daskNodes = [];
"hub.jupyter.org_dedicated": "user:NoSchedule",
"hub.jupyter.org/dedicated": "user:NoSchedule"
},

} + n for n in notebookNodes
] + ( if daskNodes != null then
[
Expand Down

0 comments on commit 0179b32

Please sign in to comment.