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
* Bug - Fixed a bug where Docker Version() API never returns by adding a timeout [#1363](https://github.com/aws/amazon-ecs-agent/pull/1363)
5
6
* Bug - Fixed a bug where tasks could get stuck waiting for execution of CNI plugin [#1358](https://github.com/aws/amazon-ecs-agent/pull/1358)
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,7 @@ additional details on each available environment variable.
169
169
|`ECS_IMAGE_CLEANUP_INTERVAL`| 30m | The time interval between automated image cleanup cycles. If set to less than 10 minutes, the value is ignored. | 30m | 30m |
170
170
|`ECS_IMAGE_MINIMUM_CLEANUP_AGE`| 30m | The minimum time interval between when an image is pulled and when it can be considered for automated image cleanup. | 1h | 1h |
171
171
|`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 |
172
+
|`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 |
172
173
|`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.|`{}`|`{}`|
173
174
|`ECS_ENABLE_TASK_ENI`|`false`| Whether to enable task networking for task to be launched with its own network interface |`false`| Not applicable |
174
175
|`ECS_CNI_PLUGINS_PATH`|`/ecs/cni`| The path where the cni binary file is located |`/amazon-ecs-cni-plugins`| Not applicable |
0 commit comments