You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce ECS_CONTAINER_INSTANCE_TAGS environment variable, add tags option to the
RegisterContainerInstance API, and register the tags extraced from the instance with
the RCI call.
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ additional details on each available environment variable.
120
120
|`ECS_NUM_IMAGES_DELETE_PER_CYCLE`| 5 | The maximum number of images to delete in a single automated image cleanup cycle. If set to less than 1, the value is ignored. | 5 | 5 |
121
121
|`ECS_IMAGE_PULL_BEHAVIOR`|<default | always | once | prefer-cached >| The behavior used to customize the pull image process. If `default` is specified, the image will be pulled remotely, if the pull fails then the cached image in the instance will be used. If `always` is specified, the image will be pulled remotely, if the pull fails then the task will fail. If `once` is specified, the image will be pulled remotely if it has not been pulled before or if the image was removed by image cleanup, otherwise the cached image in the instance will be used. If `prefer-cached` is specified, the image will be pulled remotely if there is no cached image, otherwise the cached image in the instance will be used. | default | default |
122
122
|`ECS_INSTANCE_ATTRIBUTES`|`{"stack": "prod"}`| These attributes take effect only during initial registration. After the agent has joined an ECS cluster, use the PutAttributes API action to add additional attributes. For more information, see [Amazon ECS Container Agent Configuration](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the Amazon ECS Developer Guide.|`{}`|`{}`|
123
+
|`ECS_CONTAINER_INSTANCE_TAGS`|`{"tag_key": "tag_val"}`| Tags that will be registered when the instance starts. For more information, see [Amazon ECS Container Agent Configuration](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the Amazon ECS Developer Guide.|`{}`|`{}`|
123
124
|`ECS_ENABLE_TASK_ENI`|`false`| Whether to enable task networking for task to be launched with its own network interface |`false`| Not applicable |
124
125
|`ECS_CNI_PLUGINS_PATH`|`/ecs/cni`| The path where the cni binary file is located |`/amazon-ecs-cni-plugins`| Not applicable |
125
126
|`ECS_AWSVPC_BLOCK_IMDS`|`true`| Whether to block access to [Instance Metadata](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) for Tasks started with `awsvpc` network mode |`false`| Not applicable |
0 commit comments