Skip to content

Commit 05517a2

Browse files
This feature allows Batch on EKS to support configuration of Pod Labels through Metadata for Batch on EKS Jobs.
1 parent fd3ade3 commit 05517a2

File tree

11 files changed

+335
-154
lines changed

11 files changed

+335
-154
lines changed

generator/ServiceModels/batch/batch-2016-08-10.api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,8 @@
10941094
"containers":{"shape":"EksContainerDetails"},
10951095
"volumes":{"shape":"EksVolumes"},
10961096
"podName":{"shape":"String"},
1097-
"nodeName":{"shape":"String"}
1097+
"nodeName":{"shape":"String"},
1098+
"metadata":{"shape":"EksMetadata"}
10981099
}
10991100
},
11001101
"EksPodPropertiesOverride":{

generator/ServiceModels/batch/batch-2016-08-10.docs.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@
536536
"EksLabelsMap": {
537537
"base": null,
538538
"refs": {
539-
"EksMetadata$labels": null
539+
"EksMetadata$labels": "<p>Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.</p>"
540540
}
541541
},
542542
"EksLimits": {
@@ -546,10 +546,11 @@
546546
}
547547
},
548548
"EksMetadata": {
549-
"base": null,
549+
"base": "<p>Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the <code>jobID</code> for a job running in the pod. For more information, see <a href=\"https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/\">Understanding Kubernetes Objects</a> in the <i>Kubernetes documentation</i>.</p>",
550550
"refs": {
551-
"EksPodProperties$metadata": null,
552-
"EksPodPropertiesOverride$metadata": null
551+
"EksPodProperties$metadata": "<p>Metadata about the Kubernetes pod. For more information, see <a href=\"https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/\">Understanding Kubernetes Objects</a> in the <i>Kubernetes documentation</i>.</p>",
552+
"EksPodPropertiesDetail$metadata": null,
553+
"EksPodPropertiesOverride$metadata": "<p>Metadata about the overrides for the container that's used on the Amazon EKS pod.</p>"
553554
}
554555
},
555556
"EksPodProperties": {
@@ -625,7 +626,7 @@
625626
"EphemeralStorage": {
626627
"base": "<p>The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.</p>",
627628
"refs": {
628-
"ContainerDetail$ephemeralStorage": null,
629+
"ContainerDetail$ephemeralStorage": "<p>The amount of ephemeral storage allocated for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.</p>",
629630
"ContainerProperties$ephemeralStorage": "<p>The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.</p>"
630631
}
631632
},

0 commit comments

Comments
 (0)