amazon-ecs-init

module
v1.25.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2019 License: Apache-2.0

README

Amazon Elastic Container Service RPM

Build Status

The Amazon Elastic Container Service RPM is software developed to support the Amazon ECS Container Agent. The Amazon ECS RPM is packaged for RPM-based systems that utilize Upstart as the init system.

Behavior

The upstart script installed by the Amazon ECS RPM runs at the completion of runlevel 3, 4, or 5 as the system starts. The script will clean up any previous copies of the Amazon ECS Container Agent, and then start a new copy. Logs from the RPM are available at /var/log/ecs/ecs-init.log, while logs from the Amazon ECS Container Agent are available at /var/log/ecs/ecs-agent.log. The Amazon ECS RPM makes the Amazon ECS Container Agent introspection endpoint available at http://127.0.0.1:51678/v1. Configuration for the Amazon ECS Container Agent is read from /etc/ecs/ecs.config.

Usage

The upstart script installed by the Amazon Elastic Container Service RPM can be started or stopped with the following commands respectively:

  • sudo start ecs
  • sudo stop ecs
Updates

Updates to the Amazon ECS Container Agent should be performed through the Amazon ECS Container Agent. In the case where an update failed and the Amazon ECS Container Agent is no longer functional, a rollback can be initiated as follows:

  1. sudo stop ecs
  2. sudo /usr/libexec/amazon-ecs-init reload-cache
  3. sudo start ecs

License

The Amazon Elastic Container Service RPM is licensed under the Apache 2.0 License.

Directories

Path Synopsis
cache
Package cache provides functionality for working with an on-disk cache of the ECS Agent image.
Package cache provides functionality for working with an on-disk cache of the ECS Agent image.
cmd
docker
Package docker is a generated GoMock package.
Package docker is a generated GoMock package.
engine
Package engine is a generated GoMock package.
Package engine is a generated GoMock package.
exec/iptables
Package iptables is a generated GoMock package.
Package iptables is a generated GoMock package.
exec/sysctl
Package sysctl is a generated GoMock package.
Package sysctl is a generated GoMock package.
gpu
Package gpu is a generated GoMock package.
Package gpu is a generated GoMock package.
version
Package version contains constants to indicate the current version of the ecs-init.
Package version contains constants to indicate the current version of the ecs-init.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL