, Jenkins, ( ECS, Jenkins , ).
503
503 , , , healthchecks ( ). , 0.
HTTP, 200 ( ) , . , .
, 503 , , ( ), ECS .
.
, ( , ):
- -, 200 ( Jenkins , , /robots.txt).
- TCP-, HTTP-. , .
node
, node , ( ECS). ECS , .
HTTP (, Jenkins 80, 50000 ).
, , , :
myloadbalancer.mydomain.com:80 ( 80 ) → : 8081 ( ) → : 80 ( ).
, , .
Jenkins, , Jenkins Metrics, URL- .
, URL-, : http://myjenkins.domain.com/metrics/mytoken12b3ad1/ping
URL- HTTP- 200 , , , , .
, , , , , AWS Cloudwatch.
( conf):
: awslogs
awslogs-group: mycompany ( Cloudwatch, )
awslogs-region: us-east-1 ( )
awslogs-stream-prefix: myservice ( )
This will give you more information about what happens during initialization of the container if it is too long or if it does not work.
Hope this helps !!!
source
share