Skip to content

Commit 8692963

Browse files
authored
Merge pull request #4080 from consideRatio/pr/something4
k8s maintenance, EKS: align eksctl config files with each other
2 parents 3f25cc0 + 0179b32 commit 8692963

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

eksctl/2i2c-aws-us.jsonnet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ local daskNodes = [
118118
"hub.jupyter.org_dedicated": "user:NoSchedule",
119119
"hub.jupyter.org/dedicated": "user:NoSchedule"
120120
},
121-
122121
} + n for n in notebookNodes
123122
] + ( if daskNodes != null then
124123
[

eksctl/nasa-esdis.jsonnet

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ local daskNodes = [];
6565
},
6666
],
6767
nodeGroups: [
68-
ng {
69-
name: 'core-a',
68+
ng + {
69+
namePrefix: 'core',
70+
nameSuffix: 'a',
71+
nameIncludeInstanceType: false,
7072
availabilityZones: [nodeAz],
7173
ssh: {
7274
publicKeyPath: 'ssh-keys/nasa-esdis.key.pub'
@@ -80,10 +82,8 @@ local daskNodes = [];
8082
},
8183
},
8284
] + [
83-
ng {
84-
// NodeGroup names can't have a '.' in them, while
85-
// instanceTypes always have a .
86-
name: "nb-%s" % std.strReplace(n.instanceType, ".", "-"),
85+
ng + {
86+
namePrefix: "nb",
8787
availabilityZones: [nodeAz],
8888
minSize: 0,
8989
maxSize: 500,
@@ -102,10 +102,8 @@ local daskNodes = [];
102102
} + n for n in notebookNodes
103103
] + ( if daskNodes != null then
104104
[
105-
ng {
106-
// NodeGroup names can't have a '.' in them, while
107-
// instanceTypes always have a .
108-
name: "dask-%s" % std.strReplace(n.instancesDistribution.instanceTypes[0], ".", "-"),
105+
ng + {
106+
namePrefix: "dask",
109107
availabilityZones: [nodeAz],
110108
minSize: 0,
111109
maxSize: 500,

eksctl/openscapes.jsonnet

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ local daskNodes = [
9292
"hub.jupyter.org/node-purpose": "core",
9393
"k8s.dask.org/node-purpose": "core"
9494
},
95-
iam: {
96-
withAddonPolicies: {
97-
autoScaler: true
98-
},
99-
},
10095
},
10196
] + [
10297
ng + {

eksctl/ubc-eoas.jsonnet

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ local daskNodes = [];
8282
"hub.jupyter.org/node-purpose": "core",
8383
"k8s.dask.org/node-purpose": "core"
8484
},
85-
iam+: {
86-
withAddonPolicies+: {
87-
ebs: true,
88-
},
89-
},
9085
},
9186
] + [
9287
ng + {
@@ -106,7 +101,6 @@ local daskNodes = [];
106101
"hub.jupyter.org_dedicated": "user:NoSchedule",
107102
"hub.jupyter.org/dedicated": "user:NoSchedule"
108103
},
109-
110104
} + n for n in notebookNodes
111105
] + ( if daskNodes != null then
112106
[

0 commit comments

Comments
 (0)