Created
July 23, 2020 07:35
-
-
Save dotanrs/4e83d23c3289b457875df1c533e71cec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ipcMode": null, | |
"executionRoleArn": "arn:aws:iam::123:role/ecsTaskExecutionRole", | |
"containerDefinitions": [ | |
{ | |
"dnsSearchDomains": null, | |
"environmentFiles": null, | |
"logConfiguration": { | |
"logDriver": "awsfirelens", | |
"secretOptions": null, | |
"options": { | |
"apikey": "abcd", | |
"provider": "ecs", | |
"dd_service": "blah", | |
"dd_source": "fargate", | |
"dd_tags": "project:fluentbit", | |
"Name": "datadog" | |
} | |
}, | |
"entryPoint": null, | |
"portMappings": [ | |
{ | |
"hostPort": 9999, | |
"protocol": "tcp", | |
"containerPort": 9999 | |
} | |
], | |
"command": null, | |
"linuxParameters": null, | |
"cpu": 1024, | |
"resourceRequirements": null, | |
"ulimits": null, | |
"dnsServers": null, | |
"mountPoints": [], | |
"workingDirectory": null, | |
"secrets": null, | |
"dockerSecurityOptions": null, | |
"memory": null, | |
"memoryReservation": 2048, | |
"volumesFrom": [], | |
"stopTimeout": null, | |
"image": "123.dkr.ecr.eu-west-1.amazonaws.com/blah:latest", | |
"startTimeout": null, | |
"firelensConfiguration": null, | |
"dependsOn": null, | |
"disableNetworking": null, | |
"interactive": null, | |
"healthCheck": null, | |
"essential": true, | |
"links": null, | |
"hostname": null, | |
"extraHosts": null, | |
"pseudoTerminal": null, | |
"user": null, | |
"readonlyRootFilesystem": null, | |
"dockerLabels": { | |
"HOST_NAME": "Fargate" | |
}, | |
"systemControls": null, | |
"privileged": null, | |
"name": "blah" | |
}, | |
{ | |
"dnsSearchDomains": null, | |
"environmentFiles": null, | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"secretOptions": null, | |
"options": { | |
"awslogs-group": "/ecs/blah", | |
"awslogs-region": "eu-west-1", | |
"awslogs-stream-prefix": "firelens" | |
} | |
}, | |
"entryPoint": null, | |
"portMappings": [], | |
"command": null, | |
"linuxParameters": null, | |
"cpu": 512, | |
"environment": [], | |
"resourceRequirements": null, | |
"ulimits": null, | |
"dnsServers": null, | |
"mountPoints": [], | |
"workingDirectory": null, | |
"secrets": null, | |
"dockerSecurityOptions": null, | |
"memory": null, | |
"memoryReservation": 1024, | |
"volumesFrom": [], | |
"stopTimeout": null, | |
"image": "906394416424.dkr.ecr.eu-west-1.amazonaws.com/aws-for-fluent-bit:latest", | |
"startTimeout": null, | |
"firelensConfiguration": { | |
"type": "fluentbit", | |
"options": { | |
"enable-ecs-log-metadata": "false" | |
} | |
}, | |
"dependsOn": null, | |
"disableNetworking": null, | |
"interactive": null, | |
"healthCheck": null, | |
"essential": true, | |
"links": null, | |
"hostname": null, | |
"extraHosts": null, | |
"pseudoTerminal": null, | |
"user": "0", | |
"readonlyRootFilesystem": null, | |
"dockerLabels": null, | |
"systemControls": null, | |
"privileged": null, | |
"name": "log_router" | |
}, | |
{ | |
"dnsSearchDomains": null, | |
"environmentFiles": null, | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"secretOptions": null, | |
"options": { | |
"awslogs-group": "/ecs/blah", | |
"awslogs-region": "eu-west-1", | |
"awslogs-stream-prefix": "ddg_agent" | |
} | |
}, | |
"entryPoint": null, | |
"portMappings": [], | |
"command": null, | |
"linuxParameters": null, | |
"cpu": 512, | |
"environment": [ | |
{ | |
"name": "DD_API_KEY", | |
"value": "abcd" | |
}, | |
{ | |
"name": "ECS_FARGATE", | |
"value": "true" | |
} | |
], | |
"resourceRequirements": null, | |
"ulimits": null, | |
"dnsServers": null, | |
"mountPoints": [], | |
"workingDirectory": null, | |
"secrets": null, | |
"dockerSecurityOptions": null, | |
"memory": null, | |
"memoryReservation": 1024, | |
"volumesFrom": [], | |
"stopTimeout": null, | |
"image": "datadog/agent:latest", | |
"startTimeout": null, | |
"firelensConfiguration": null, | |
"dependsOn": null, | |
"disableNetworking": null, | |
"interactive": null, | |
"healthCheck": null, | |
"essential": true, | |
"links": null, | |
"hostname": null, | |
"extraHosts": null, | |
"pseudoTerminal": null, | |
"user": null, | |
"readonlyRootFilesystem": null, | |
"dockerLabels": null, | |
"systemControls": null, | |
"privileged": null, | |
"name": "ddg_agent" | |
} | |
], | |
"placementConstraints": [], | |
"memory": "4096", | |
"taskRoleArn": "arn:aws:iam::123:role/ecsTaskExecutionRole", | |
"compatibilities": [ | |
"EC2", | |
"FARGATE" | |
], | |
"taskDefinitionArn": "arn:aws:ecs:eu-west-1:123:task-definition/blah:2", | |
"family": "blah", | |
"requiresAttributes": [ | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "ecs.capability.execution-role-awslogs" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.ecr-auth" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "ecs.capability.firelens.fluentbit" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.21" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.logging-driver.awsfirelens" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.task-iam-role" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "ecs.capability.execution-role-ecr-pull" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" | |
}, | |
{ | |
"targetId": null, | |
"targetType": null, | |
"value": null, | |
"name": "ecs.capability.task-eni" | |
} | |
], | |
"pidMode": null, | |
"requiresCompatibilities": [ | |
"FARGATE" | |
], | |
"networkMode": "awsvpc", | |
"cpu": "2048", | |
"revision": 2, | |
"status": "ACTIVE", | |
"inferenceAccelerators": null, | |
"proxyConfiguration": null, | |
"volumes": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment