Last active
March 23, 2023 15:46
-
-
Save alichherawalla/5b763815caf8b5afbc7b0c3a6a5f842b to your computer and use it in GitHub Desktop.
sample-app-mesh-svc1-task-definition
This file contains hidden or 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::<AWS_ACCOUNT_ID>:role/ecsTaskExecutionRole", | |
| "containerDefinitions": [ | |
| { | |
| "dnsSearchDomains": null, | |
| "environmentFiles": null, | |
| "logConfiguration": { | |
| "logDriver": "awslogs", | |
| "secretOptions": null, | |
| "options": { | |
| "awslogs-group": "/ecs/sample-app-ecs-svc1-v1", | |
| "awslogs-region": "ap-south-1", | |
| "awslogs-stream-prefix": "ecs" | |
| } | |
| }, | |
| "entryPoint": [], | |
| "portMappings": [ | |
| { | |
| "hostPort": 9000, | |
| "protocol": "tcp", | |
| "containerPort": 9000 | |
| }, | |
| { | |
| "hostPort": 3000, | |
| "protocol": "tcp", | |
| "containerPort": 3000 | |
| } | |
| ], | |
| "command": [], | |
| "linuxParameters": null, | |
| "cpu": 0, | |
| "environment": [ | |
| { | |
| "name": "APPMESH_VIRTUAL_NODE_NAME", | |
| "value": "mesh/sample-app-mesh/virtualNode/virtual-node-1-sample-app-mesh" | |
| } | |
| ], | |
| "resourceRequirements": null, | |
| "ulimits": null, | |
| "dnsServers": null, | |
| "mountPoints": [], | |
| "workingDirectory": null, | |
| "secrets": null, | |
| "dockerSecurityOptions": null, | |
| "memory": null, | |
| "memoryReservation": null, | |
| "volumesFrom": [], | |
| "stopTimeout": null, | |
| "image": "511522223657.dkr.ecr.ap-south-1.amazonaws.com/sample_app_ecs_svc1_v1", | |
| "startTimeout": null, | |
| "firelensConfiguration": null, | |
| "dependsOn": [ | |
| { | |
| "containerName": "envoy", | |
| "condition": "HEALTHY" | |
| } | |
| ], | |
| "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": "sample-app-mesh-svc1-v1" | |
| }, | |
| { | |
| "dnsSearchDomains": null, | |
| "environmentFiles": null, | |
| "logConfiguration": null, | |
| "entryPoint": null, | |
| "portMappings": [], | |
| "command": null, | |
| "linuxParameters": null, | |
| "cpu": 0, | |
| "environment": [ | |
| { | |
| "name": "APPMESH_VIRTUAL_NODE_NAME", | |
| "value": "mesh/sample-app-mesh/virtualNode/virtual-node-1-sample-app-mesh" | |
| } | |
| ], | |
| "resourceRequirements": null, | |
| "ulimits": null, | |
| "dnsServers": null, | |
| "mountPoints": [], | |
| "workingDirectory": null, | |
| "secrets": null, | |
| "dockerSecurityOptions": null, | |
| "memory": 500, | |
| "memoryReservation": null, | |
| "volumesFrom": [], | |
| "stopTimeout": null, | |
| "image": "840364872350.dkr.ecr.ap-south-1.amazonaws.com/aws-appmesh-envoy:v1.25.1.0-prod", | |
| "startTimeout": null, | |
| "firelensConfiguration": null, | |
| "dependsOn": null, | |
| "disableNetworking": null, | |
| "interactive": null, | |
| "healthCheck": { | |
| "retries": 3, | |
| "command": [ | |
| "CMD-SHELL", | |
| "curl -s http://localhost:9901/server_info | grep state | grep -q LIVE" | |
| ], | |
| "timeout": 2, | |
| "interval": 5, | |
| "startPeriod": 10 | |
| }, | |
| "essential": true, | |
| "links": null, | |
| "hostname": null, | |
| "extraHosts": null, | |
| "pseudoTerminal": null, | |
| "user": "1337", | |
| "readonlyRootFilesystem": null, | |
| "dockerLabels": null, | |
| "systemControls": null, | |
| "privileged": null, | |
| "name": "envoy" | |
| } | |
| ], | |
| "placementConstraints": [], | |
| "memory": "512", | |
| "taskRoleArn": null, | |
| "family": "sample-app-ecs-svc1-v1", | |
| "pidMode": null, | |
| "requiresCompatibilities": [ | |
| "FARGATE" | |
| ], | |
| "networkMode": "awsvpc", | |
| "runtimePlatform": { | |
| "operatingSystemFamily": "LINUX", | |
| "cpuArchitecture": null | |
| }, | |
| "cpu": "256", | |
| "inferenceAccelerators": null, | |
| "proxyConfiguration": { | |
| "type": "APPMESH", | |
| "containerName": "envoy", | |
| "properties": [ | |
| { | |
| "name": "ProxyIngressPort", | |
| "value": "15000" | |
| }, | |
| { | |
| "name": "AppPorts", | |
| "value": "3000" | |
| }, | |
| { | |
| "name": "EgressIgnoredIPs", | |
| "value": "169.254.170.2,169.254.169.254" | |
| }, | |
| { | |
| "name": "IgnoredGID", | |
| "value": "" | |
| }, | |
| { | |
| "name": "EgressIgnoredPorts", | |
| "value": "" | |
| }, | |
| { | |
| "name": "IgnoredUID", | |
| "value": "1337" | |
| }, | |
| { | |
| "name": "ProxyEgressPort", | |
| "value": "15001" | |
| } | |
| ] | |
| }, | |
| "volumes": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment