Skip to content

Commit

Permalink
Merge pull request #4709 from consideRatio/pr/update-tags
Browse files Browse the repository at this point in the history
eksctl: update template to tag addon resources also
  • Loading branch information
consideRatio authored Aug 28, 2024
2 parents 5a0f49c + 5dafb3b commit 4a66047
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions eksctl/template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ local daskNodes = [];
-#}
version: "1.30",
tags+: {
"ManagedBy": "2i2c"
"ManagedBy": "2i2c",
},
},
availabilityZones: masterAzs,
Expand All @@ -96,6 +96,9 @@ local daskNodes = [];
wellKnownPolicies: {
ebsCSIController: true,
},
tags: {
"ManagedBy": "2i2c",
},
},
],
nodeGroups: [
Expand All @@ -112,10 +115,10 @@ local daskNodes = [];
maxSize: 6,
labels+: {
"hub.jupyter.org/node-purpose": "core",
"k8s.dask.org/node-purpose": "core"
"k8s.dask.org/node-purpose": "core",
},
tags+: {
"ManagedBy": "2i2c
"ManagedBy": "2i2c,
},
},
] + [
Expand All @@ -133,11 +136,11 @@ local daskNodes = [];
"k8s.dask.org/node-purpose": "scheduler"
},
tags+: {
"ManagedBy": "2i2c
"ManagedBy": "2i2c,
},
taints+: {
"hub.jupyter.org_dedicated": "user:NoSchedule",
"hub.jupyter.org/dedicated": "user:NoSchedule"
"hub.jupyter.org/dedicated": "user:NoSchedule",
},
} + n for n in notebookNodes
] + ( if daskNodes != null then
Expand All @@ -154,11 +157,11 @@ local daskNodes = [];
"k8s.dask.org/node-purpose": "worker"
},
tags+: {
"ManagedBy": "2i2c
"ManagedBy": "2i2c,
},
taints+: {
"k8s.dask.org_dedicated" : "worker:NoSchedule",
"k8s.dask.org/dedicated" : "worker:NoSchedule"
"k8s.dask.org/dedicated" : "worker:NoSchedule",
},
instancesDistribution+: {
onDemandBaseCapacity: 0,
Expand Down

0 comments on commit 4a66047

Please sign in to comment.